I'm having issues with data transfer over Gbps link across zfs servers.
One machine is a setup of mirror vdevs, unencrypted and can do about 130MB/s writes and about 300MB/s reads. This is the machine I was copying data from.
Destination machine is 4 disks in raidz0, for testing purposes, and can achieve writing speed of well over 250MB/s and reads over 350MB/s.
Transfer is done over Gbps link, and max transfer speed is about 55MB/s. At first I figured that it must be low quality cards, but iperf test shows over 880 Mbps. Therefore, it can't be cable/card issue.
Yet watching over gstat on both machines, they show only percentages of utilization, so it looks like it can't be slow disks issue. This is backed up by the fact that transfer remains same even when data is read from memory.
What is also interesting is that copying in both directions is about the same, with maybe 5-10 MB/s difference.
I tested with scp, rsync, and zfs send commands.
Why can't I get ~ 100MB/s transfer speed?
I should mention I also tried setting these values, but all tests (and iperf) remain same:
One machine is a setup of mirror vdevs, unencrypted and can do about 130MB/s writes and about 300MB/s reads. This is the machine I was copying data from.
Destination machine is 4 disks in raidz0, for testing purposes, and can achieve writing speed of well over 250MB/s and reads over 350MB/s.
Transfer is done over Gbps link, and max transfer speed is about 55MB/s. At first I figured that it must be low quality cards, but iperf test shows over 880 Mbps. Therefore, it can't be cable/card issue.
Yet watching over gstat on both machines, they show only percentages of utilization, so it looks like it can't be slow disks issue. This is backed up by the fact that transfer remains same even when data is read from memory.
What is also interesting is that copying in both directions is about the same, with maybe 5-10 MB/s difference.
I tested with scp, rsync, and zfs send commands.
Why can't I get ~ 100MB/s transfer speed?
I should mention I also tried setting these values, but all tests (and iperf) remain same:
Code:
sysctl net.inet.tcp.sendspace=65536
sysctl net.inet.tcp.sendbuf_max=16777216
sysctl net.inet.tcp.recvbuf_max=16777216