Originally posted by: SystemAdmin
Fellows, i did some performance tests using compress and gzip. And the result was described below.
Do someone knows why CIO and DIO are so worst than JFS2?
I know FS buffer is extremely important for this issue, but do someone knows how to improve gzip and/or compress with CIO/DIO?
How to tune an AIX system to well perform the aplication (SAS) + cp/mv/gzip/compress/etc.. + dont overuse the LRUD deamon?
I enabled CIO on all application (SAS) FSs and did very well, but GZIP/COMPRESS didnt...
Is it a paradigm? hehe
Compress version: (criticalbkp) >lslpp -l bos.rte.archive
Fileset Level State Description
Path: /usr/lib/objrepos
bos.rte.archive 5.3.8.1 COMMITTED Archive Commands
gzip version: (criticalbkp) >gzip -V
gzip 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly.
AIX Level: (criticalbkp) >oslevel -s
5300-02-00-0000
Server configuration: P595 - 2,3Ghz - 2 CORES - 44GB memory - SMT enabled
Standalone partition. The tests were did without concurrency
Vmstat sample: (criticalbkp) />vmstat 1
System configuration: lcpu=4 mem=45312MB ent=1.00
kthr memory page faults cpu
-----------
------------
r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec
0 0 421602 10550097 0 0 0 0 0 0 8 65 185 0 1 99 0 0.01 0.9
0 0 421602 10550097 0 0 0 0 0 0 10 359 229 0 0 99 0 0.01 0.8
Test Set: For all tests I compressed and decompressed 2 files (1GB and 5GB), under the following filesystems, umounting and mounting between each test.
1 - JFS2 ( named /teste-normal )
2 - JFS2 + CIO ( named /testec )
3 - JFS2 + rbrw ( named /tester )
4 - JFS2 + DIO ( named /tested )
Test example: timex gzip File1GB
(SAS file);
timex compress File5GB
(SAS file);
etc...
Sumary Results: Average gzip rate: 88% (1GB file), 77% (5GB file)
Average compress rate: 78% (1GB file), 73% (5GB file)
(real,user and sys seconds of cpu - just the major discrepancies of compressing are shown)
JFS2: compress lasts half the gzip
real time and consumes almost the half
user time CIO: compress lasts 2-3X the gzip
real time, consumes 6-8X
user time, but a half
sys time ...??
RBRW: compress lasts less gzip
real time, consumes 1/3 less
user time, but 1/3 more
sys time ..?
DIO: compress lasts 2-3X the gzip
real time, consumes 1/3 less
user time, but 6X
sys time ...??
Crazy results!! If you compare the times among the FSs types the results are still awkward...
What is the solution? Maybe tunning even more the vmo and ioo?
What are your opinion?
I attached the complete test case results.
Best regards
Igor da Silveira Franco
#AIX-Forum