Originally posted by: zhuli_pl
we think this is OS related. The directory has about 3500 file. When copying, AIX writes the JFS2 log heavily and caused the disk that holds the JFS2 log 100% busy.
The log is in a separate disk.
I tested the same thing on a PC with Linux(or even my notebook). It is fast, less than 1s. Then we change the JFS2 to JFS and mount the file system with JFS log disabled(nointegrity option). The copy time decreased from 18s to 3s, still slow than Linux. I think Linux has FS inode or similar info. in memory for all the filesystems after start. AIX doesn't have. The first time when you do copy is slow. If you do the same copy rapidly in very short time. The speed is less than 1s. But if you wait for about 6-7s and do the same copy., it became slow again. It seems the data in memory got flushed. For Linux, I waited for 10 minutes, the copy is still quick. Seems the Linux keeps the data in memory for longer time.
AIX and Linux servers have same CPU and memory. Only one user.
We also tuned vmo and ioo. no improvement.
Any idea? The user has many small files to deal with. They think their application slowness is because of our AIX FS. We compete with the Linux on HP PC.
I also got the following from a redbook:
The use of a JFS log allows for rapid and clean recovery of file systems if a
system goes down. However, there may be a performance trade-off here. If
an application is doing synchronous I/O or is creating and/or removing many
files in a short amount of time, then there may be a lot of I/O going to the JFS
log logical volume. If both the JFS log logical volume and the file system
logical volume are on the same physical disk, then this could cause an I/O
bottleneck. The recommendation would be to migrate the JFS log device to
another physical disk.
#AIX-Forum