- Joined
- Feb 8, 2005
- Messages
- 13,326
I've got two servers with Intel 10GigE cards and a Cat6a cable connecting them. iperf shows that the network is capable of 6.17Gbits/sec. Not very fast, but fast enough for me.
From what I can tell, I should be able to perform zfs sends at about 243MB/s:
Instead, they're going at about 66MB/s!:
Obviously not acceptable. So, what's going on, and how do I fix it? Any ideas?
Code:
root@192.168.0.34:~# iperf -c 192.168.0.33
------------------------------------------------------------
Client connecting to 192.168.0.33, TCP port 5001
TCP window size: 48.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.34 port 64732 connected with 192.168.0.33 port 5001
write2 failed: Interrupted system call
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 7.19 GBytes 6.17 Gbits/sec
Code:
root@192.168.0.34:~# zfs send tank@zfs_test_snapshot | pv -i 1 > /dev/null
11GB 0:00:46 [ 243MB/s] [ <=> ]
Instead, they're going at about 66MB/s!:
Code:
root@192.168.0.34:~# zfs send tank@zfs_test_snapshot | /usr/local/bin/mbuffer | ssh 192.168.0.33 zfs receive -F tank
in @ 0.0 KiB/s, out @ 70.1 MiB/s, 11.0 GiB total, buffer 19% full
summary: 11.0 GiByte in 2min 49.7sec - average of 66.5 MiB/s
Obviously not acceptable. So, what's going on, and how do I fix it? Any ideas?