首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > VSTS >

ext4 vs btrfs (写下测试)

2012-06-27 
ext4 vs btrfs (写入测试)?$ cat /etc/fstab?# /etc/fstab: static file system information.## Use blki

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

?

real0m0.521s

user0m0.000s

sys0m0.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

?

real0m0.698s

user0m0.000s

sys0m0.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

?

real0m0.133s

user0m0.000s

sys0m0.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

?

real0m0.134s

user0m0.000s

sys0m0.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

?

real0m11.914s

user0m0.010s

sys0m1.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

?

real0m9.860s

user0m0.000s

sys0m0.880s

neo@neo-Vostro-3400:~$?

热点排行