Sample Header Ad - 728x90

How to speed up rsync to USB drive

0 votes
0 answers
88 views
Both systems are Arch Linux with the latest rsync. Connected via 1Gbit/s ethernet. Still rsyncing to a USB drive is slow, it's just 1-2MB/s
rsync -Pavh --stats --rsh="ssh -T -c aes128-gcm@openssh.com -o Compression=no" ~/Downloads/googleTakeout/takeout-202* plex:/media/usb-4tb/backup/google
sending incremental file list
takeout-20250428T071344Z-040.zip
          2.14G 100%    2.82MB/s    0:12:04 (xfr#1, to-chk=21/61)
takeout-20250428T071344Z-041.zip
          2.15G 100%    1.24MB/s    0:27:30 (xfr#2, to-chk=20/61)
takeout-20250428T071344Z-042.zip
          2.15G 100%    1.31MB/s    0:26:04 (xfr#3, to-chk=19/61)
takeout-20250428T071344Z-043.zip
          2.15G 100%    1.02MB/s    0:33:28 (xfr#4, to-chk=18/61)
Tested USB speed and it's much higher
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 14.0448 s, 76.5 MB/s

sudo hdparm -Tt /dev/sdc 
/dev/sdc:
 Timing cached reads:   6186 MB in  2.00 seconds = 3097.42 MB/sec
 Timing buffered disk reads:  28 MB in  3.03 seconds =   9.24 MB/sec
Tried speed between endpoints
yes | pv | ssh plex "cat > /dev/null"                                                                                                                                                                      
944MiB 0:00:10 26.8MiB/s

yes | pv | ssh plex "cat > /media/usb-4tb"
1.06MiB 0:00:00 6.99MiB/s
scp is much faster, but it can't do partial copy as rsync
scp Downloads/googleTakeout/takeout-20250428T071344Z-001.zip plex:/media/usb-4tb/backup/google/takeout-20250428T071344Z-001.zip
takeout-20250428T071344Z-001.zip   13%  275MB  28.7MB/s   01:01 ETA
Any ideas how to fix/improve rsync speed?
Asked by michalzuber (211 rep)
Apr 30, 2025, 04:40 AM
Last activity: Jul 9, 2025, 03:14 PM