zfsonlinux/zfs — Issue #454: poor performance
Author: pmoiseevmail
Created: 2011-11-18 11:10:41+00:00
State: open

on zfs-fuse
--
# zpool status
pool: tank
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
disk/by-id/ata-ST3160815AS_6RA4G3G0 ONLINE 0 0 0
disk/by-id/ata-WDC_WD1600JD-00HBB0_WD-WCAL73743208 ONLINE 0 0 0

errors: No known data errors
# zfs create tank/xxx
# dd if=/dev/zero of=/tank/xxx/test.io bs=8k count=10000
10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 0.728856 s, 112 MB/s
# zpool destroy tank/xxx
# zpool export tank
# aptitude install ubuntu-zfs
The following NEW packages will be installed:
libefi1{a} libnvpair1{a} libshare1{a} libspl1{a} libunicode1{a} libuutil1{a} libzavl1{a} libzfs1{a} libzpool1{a}
ubuntu-zfs zfsutils{b}
0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,075 kB of archives. After unpacking 3,355 kB will be used.
The following packages have unmet dependencies:
zfsutils: Conflicts: zfs-fuse but 0.6.9-1build1 is installed.
The following actions will resolve these dependencies:

Remove the following packages:
1) zfs-fuse
YES
...
# reboot
# zpool import tank
#zpool status tank
pool: tank
state: ONLINE
status: The pool is formatted using an older on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on older software versions.
scan: none requested
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0

errors: No known data errors
# zpool create tank/xxx
# dd if=/dev/zero of=/tank/xxx/test.io bs=8k count=10000
# 10000+0 records in
10000+0 records out
81920000 bytes (82 MB) copied, 35.5567 s, 2.3 MB/s

So i have 112 Mb/s (zfs-fuse) vs 2,3 Mb/s (ubuntu-zfs)

while runs dd top, iostat shows around zero values