On Sun, 27 Oct 2013 13:37, Greg Freemyer <greg.freemyer@...> wrote:
"Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Now, notice the lack of the 2 minute delay on the extra sync, for the ext4 test. I have no explanation for this; perhaps as I had to reboot, the system cache was fully emptied. Maybe, to do these test properly, the system would have to be rebooted on each test :-?
At a minimum you should empty the cache between runs:
# flush dirty pages to disk sync # throw clean pages away echo 3 > /proc/sys/vm/drop_caches
Drop_caches accepts 1, 2, 3. I don't recall offhand what each value does.
excerpts from my freemem-script: [ code ] # 0 = non valid !! since kernel 3.0 # 1 = free pagecache # 2 = free dentries and inodes # 3 = free both ( 1 + 2 ) /usr/bin/sync /sbin/sysctl -q -w vm.drop_caches=3 [ /code ] using /sbin/sysctl is equivialent to the "echo >/proc/sys/..." line above I recoment doing this at least once before each testrun else the kernel-caches pollute the measurements, as seen. And yes, as already pointed out : for mkfs.ext[34] the -H <inode-count> option is nescessary. be aware of ((number-of-dirs*2)+ number-of-files) *1.1) as minimum recommention for small files. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org