I'm trying to troubleshoot a potential slowdown when doing zfs send receive between two machines.
Both servers are running 13.2 and are pretty fast hardware wise.
When I transfer a file from A -> B via FTP, I'm getting 700MB/sec
When I transfer a file from A -> B via SCP, using Cipher aes256-gcm@openssh.com I get 350-400MB/sec
When I do a zfs send receive using "zfs-autobackup" ( it essentially just manages snapshots and does the SSH connection ), if I stick to SSH transfer I only get 120MB/sec
I can also configure zfs-autobackup to use netcat, like so:
zfs-autobackup -v --strip-path=1 --send-pipe "nc 192.168.1.5 8023" --recv-pipe "nc -l 8023" --ssh-source bkp3n veeam65 backups
Even with netcat, I'm still getting at most 120MB/sec:
>>> Transfer 6% 122MB/s (total 955624MB, 121 minutes left)
On the source server, the process runs as:
csh -c zfs send --large-block --embed --verbose --parsable --props backups/veeam65@veeam65-20230513160609 | nc 192.168.1.5 8023
On the backup server ( which does the pull ), it runs as:
/bin/sh -c nc -l 8023 | zfs recv -u -v -s backups/veeam65
Where's that limit of ~120MB/sec coming from ?
top shows moderate CPU usage
49857 root 1 26 0 13M 2452K select 7 1:06 10.84% nc
49856 root 5 24 0 24M 10M CPU14 14 0:48 8.07% zfs
Is zfs send/receive itself limited somehow to such slow speeds ?
Both servers are running 13.2 and are pretty fast hardware wise.
When I transfer a file from A -> B via FTP, I'm getting 700MB/sec
When I transfer a file from A -> B via SCP, using Cipher aes256-gcm@openssh.com I get 350-400MB/sec
When I do a zfs send receive using "zfs-autobackup" ( it essentially just manages snapshots and does the SSH connection ), if I stick to SSH transfer I only get 120MB/sec
I can also configure zfs-autobackup to use netcat, like so:
zfs-autobackup -v --strip-path=1 --send-pipe "nc 192.168.1.5 8023" --recv-pipe "nc -l 8023" --ssh-source bkp3n veeam65 backups
Even with netcat, I'm still getting at most 120MB/sec:
>>> Transfer 6% 122MB/s (total 955624MB, 121 minutes left)
On the source server, the process runs as:
csh -c zfs send --large-block --embed --verbose --parsable --props backups/veeam65@veeam65-20230513160609 | nc 192.168.1.5 8023
On the backup server ( which does the pull ), it runs as:
/bin/sh -c nc -l 8023 | zfs recv -u -v -s backups/veeam65
Where's that limit of ~120MB/sec coming from ?
top shows moderate CPU usage
49857 root 1 26 0 13M 2452K select 7 1:06 10.84% nc
49856 root 5 24 0 24M 10M CPU14 14 0:48 8.07% zfs
Is zfs send/receive itself limited somehow to such slow speeds ?