写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 1.76025 seconds, 59.6 MB/s
real 0m2.000s
user 0m0.060s
sys 0m0.470s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m2.203s
user 0m0.010s
sys 0m0.270s
6、JFS
写测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time dd if=/dev/zero of=test bs=1024 count=100K
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 0.581869 seconds, 180 MB/s
real 0m0.613s
user 0m0.140s
sys 0m0.250s
读测试:
[Copy to clipboard] [ - ]
CODE:
debian:/mnt/sda1# time cat test > /dev/null
real 0m0.579s
user 0m0.010s
sys 0m0.350s
JFS文件系统还真快
ext3文件系统下,如果设置为data=journal,效果要打不少折扣。
