severgun
8 years agoLevel 3
ZFS on Linux slow client performance
Hello.
I have fileserver with ZFS file system on CentOS 7 Linux.
ZFS pool configured with:
compression = lz4
xattr = sa
atime=off
acltype = aclposix
I created 2 different test files with dd bs=1M count=10000 if=/dev/urandom of=testfile on XFS and ZFS partitions.
time /usr/openv/netbackup/bin/bpbkar -nocont /archive/testfile > /dev/null
XFS
Firts try:
real 0m48.221s
user 0m0.121s
sys 0m14.606s
Second try less than 4sec
ZFS
real 1m9.107s
user 0m0.153s
sys 0m21.183s
First and second tries give same time
cat file to /dev/null take 27 sec
htop/iotop shows 300+MB/s read but seems like 150MB/s.
Actual backup on tape shows even worth speed (50-55MB/s) at Admin Console
No errors in bpbkar logs with verbose=5