专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > VSTS

ext4 vs btrfs (写下测试)

发布时间:2011-06-20 18:38:05 文章来源:www.iduyao.cn 采编人员:星星草
ext4 vs btrfs (写入测试)

 

$ cat /etc/fstab 

# /etc/fstab: static file system information.

#

# Use 'blkid -o value -s UUID' to print the universally unique identifier

# for a device; this may be used with UUID= as a more robust way to name

# devices that works even if disks are added and removed. See fstab(5).

#

# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc            /proc           proc    nodev,noexec,nosuid 0       0

/dev/sda1       /               ext4    errors=remount-ro 0       1

# /opt was on /dev/sda7 during installation

UUID=5ce518a4-0f46-4688-8002-84bac2330282 /opt            btrfs   defaults        0       2

# /srv was on /dev/sda6 during installation

UUID=19573a64-f0a6-4250-a9fd-532e3d4e3477 /srv            ext4   defaults        0       2

# swap was on /dev/sda5 during installation

UUID=0f2e2f50-d989-47bf-afb7-7593888222cf none            swap    sw              0       0

 

 

 

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/srv/file bs=1M count=100

100+0 records in

100+0 records out

104857600 bytes (105 MB) copied, 0.500941 s, 209 MB/s

 

real 0m0.521s

user 0m0.000s

sys 0m0.140s

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/srv/file bs=1M count=100

100+0 records in

100+0 records out

104857600 bytes (105 MB) copied, 0.672553 s, 156 MB/s

 

real 0m0.698s

user 0m0.000s

sys 0m0.160s

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/opt/file bs=1M count=100

100+0 records in

100+0 records out

104857600 bytes (105 MB) copied, 0.0987276 s, 1.1 GB/s

 

real 0m0.133s

user 0m0.000s

sys 0m0.120s

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/opt/file bs=1M count=100

100+0 records in

100+0 records out

104857600 bytes (105 MB) copied, 0.101664 s, 1.0 GB/s

 

real 0m0.134s

user 0m0.000s

sys 0m0.140s

 

 

 

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/srv/file bs=1M count=1000

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 11.8609 s, 88.4 MB/s

 

real 0m11.914s

user 0m0.010s

sys 0m1.360s

neo@neo-Vostro-3400:~$ time dd if=/dev/zero of=/opt/file bs=1M count=1000

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 9.80331 s, 107 MB/s

 

real 0m9.860s

user 0m0.000s

sys 0m0.880s

neo@neo-Vostro-3400:~$ 

友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: