Performance tests comparison with Change attribute patch
System:
Kernel: 2.6.19-rc2-mm2 with this version of change attribute patches
RAM: 2 GB
Partition size: 68 GB (sdc1)
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
cpu MHz : 2793.279
cache size : 1024 KB
bogomips : 5590.67
Test program:
I've used Iozone fileop
bench with a factor of 100 because it makes lots of creation/deletion. It will
show the lower performance introduce by the change attribute patch. The device
is mounted as an ext4dev with extents option.
--------------------------------------
| Fileop |
| $Revision: 1.37 $ |
| |
| by |
| |
| Don Capps |
--------------------------------------
fileop [-f X ]|[-l # -u #] [-s Y] [-t] [-v] [-e] [-b] -[w]
-f # Force factor. X^3 files will be created and removed.
-l # Lower limit on the value of the Force factor.
-u # Upper limit on the value of the Force factor.
-s # Optional. Sets filesize for the create/write.
-t # Verbose output option.
-v # Version information.
-e # Excel importable format.
-b Output best case results
-w Output worst case results
The structure of the file tree is:
X number of Level 1 directorys, with X number of
level 2 directories, with X number of files in each
of the level 2 directories.
Example: fileop 2
dir_1 dir_2
/ \ / \
sdir_1 sdir_2 sdir_1 sdir_2
/ \ / \ / \ / \
file_1 file_2 file_1 file_2 file_1 file_2 file_1 file_2
Each file will be created, and then Y bytes is written to the file.
Results:
As we can see the total ellapsed and the number of operations per second, are
quite similar with and without the change attribute patch. Actually, the difference isn't significant.