How can I limit the bandwidth to a davfs-mounted cloud storage?
1
vote
1
answer
654
views
I need to copy approximately 400 files of approximately 25 MB each to a davfs-mounted cloud storage. I have tried the following commands to limit the CPU-load and IO-load:
nice -n 15 ionice -c 3 rsync -avhW --no-compress --progress /src/ /dst/
My destination folder
dst
is a davfs-mounted cloud storage. Whenever I transfer a single file, the rsync just takes a few seconds -- at least it shows up to be this fast:
sending incremental file list
xxx
26.70M 100% 15.75MB/s 0:00:01 (xfer#1, to-check=0/1)
sent 26.70M bytes received 31 bytes 7.63M bytes/sec
total size is 26.70M speedup is 1.00
I don't see any rsync or nice process running, but the system reacts very slowly, as the data transfer is still running in the background. There is only one davfs process for the mounted cloud storage. After a few minutes, my system is responsive again and the file transfer is finished.
netstat
shows an active connection to the cloud storage.
How can I limit the bandwidth to the davfs-mounted cloud storage to prevent my system from slowing down?
Asked by 32u-nd
(215 rep)
Sep 24, 2014, 07:14 PM
Last activity: Feb 11, 2019, 04:37 PM
Last activity: Feb 11, 2019, 04:37 PM