热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

Linux下各种主要文件系统的读写性能测试

来源: 作者: 时间:2007-08-01 Tag: 点击:

1、不用说,tmpfs是最快的,呵呵

 

2、ext2

写测试:

 

[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.40192 seconds, 74.8 MB/s

 

real 0m1.414s

user 0m0.140s

sys 0m0.230s

 

读测试:

 

[Copy to clipboard] [ - ]

CODE:

debian:/mnt/sda1# time cat test > /dev/null

 

real 0m2.084s

user 0m0.000s

sys 0m0.310s

 

3、ext3

(1)data=ordered

写测试:

 

 

[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.04712 seconds, 100 MB/s

 

real 0m1.057s

user 0m0.090s

sys 0m0.580s

最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册