On Mon, 2009-04-20 at 18:26 +0530, Amit Shah wrote: > I'll re-run the tests later tonight.. I ran ext3 in all journaling modes (one run), and there was spit difference. (the mmap test is a bit slow and unfriendly) marge:..tmp/tmp # ./test-file-zero-alloc-speed 4 /dev/sdf3 /media/root ext3 rw,_netdev,noatime,data=ordered,acl,user_xattr posix-fallocate run time: seconds:microseconds: 1240230249:280060 seconds:microseconds: 1240230303:989879 (approx 54s) mmap run time: seconds:microseconds: 1240230304:67286 seconds:microseconds: 1240230363:882957 (approx 59s) 4096-sized chunk run time: seconds:microseconds: 1240230363:989225 seconds:microseconds: 1240230419:242924 (approx 56s) 8192-sized chunk run time: seconds:microseconds: 1240230419:365540 seconds:microseconds: 1240230473:307148 (approx 54s) marge:..tmp/tmp # ./test-file-zero-alloc-speed 4 /dev/sdf3 /media/root ext3 rw,_netdev,noatime,data=writeback,acl,user_xattr posix-fallocate run time: seconds:microseconds: 1240230511:276152 seconds:microseconds: 1240230565:40419 (approx 54s) mmap run time: seconds:microseconds: 1240230571:139959 seconds:microseconds: 1240230633:254590 (approx 62s) 4096-sized chunk run time: seconds:microseconds: 1240230639:300132 seconds:microseconds: 1240230693:95665 (approx 54s) 8192-sized chunk run time: seconds:microseconds: 1240230698:655975 seconds:microseconds: 1240230753:902749 (approx 55s) marge:..tmp/tmp # ./test-file-zero-alloc-speed 4 /dev/sdf3 /media/root ext3 rw,_netdev,noatime,data=guarded,acl,user_xattr posix-fallocate run time: seconds:microseconds: 1240230802:594939 seconds:microseconds: 1240230856:602117 (approx 54s) mmap run time: seconds:microseconds: 1240230862:792587 seconds:microseconds: 1240230924:985089 (approx 62s) 4096-sized chunk run time: seconds:microseconds: 1240230930:827949 seconds:microseconds: 1240230985:663422 (approx 55s) 8192-sized chunk run time: seconds:microseconds: 1240230991:483085 seconds:microseconds: 1240231046:601340 (approx 55s) marge:..tmp/tmp # ./test-file-zero-alloc-speed 4 /dev/sdf3 /media/root ext3 rw,_netdev,noatime,data=journal,acl,user_xattr posix-fallocate run time: seconds:microseconds: 1240231074:745621 seconds:microseconds: 1240231128:740106 (approx 54s) mmap run time: seconds:microseconds: 1240231134:830362 seconds:microseconds: 1240231193:939029 (approx 59s) 4096-sized chunk run time: seconds:microseconds: 1240231199:800554 seconds:microseconds: 1240231254:600778 (approx 55s) 8192-sized chunk run time: seconds:microseconds: 1240231260:386834 seconds:microseconds: 1240231315:121745 (approx 55s) -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html