why is rsync so slow ?

peter247

Member
Dec 31, 2021
66
6
13
63
trying to copy a parts zpool from one computer to another both running zfs , but not a cluster .
Tried a SMB share and using rsync -arpvh /sorce /des , which works o.k , but slow .
Not bandwidth , cpu , or io limited but get 70 M/S on a easy 300M/S connection .
Can easy get the 300M/S which is a 10gb sfp+ link to the switch and 2.5gb out .
 
Try rclone, it's multi-threaded - or look into zfs send/recv and syncoid/sanoid

Example:


time rclone sync -P --copy-links --retries=2 --low-level-retries=2 \
--sftp-disable-hashcheck \
--transfers=4 --stats=2s \
--inplace --metadata \
--multi-thread-write-buffer-size 512k \
--no-update-modtime --update \
--exclude=dvdrips-shr/** --exclude=.fseventsd/** \
/Volumes/ztoshtera6/ \
qotom-proxmox-25g:/ztoshtera6macpromir \
--log-file ~/bkp-ztoshtera6-rclone-qotom-proxmox-errors.log
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!