Rsync has a bwlimit argument which helps here. Note that rsync copies the whole file on what it considers local storage (which can be mounted network shares) ... this can cause a real slowdown. BillK
On 3 April 2022 3:51:22 am AWST, Dale <rdalek1...@gmail.com> wrote: >Dale wrote: >> Howdy, >> >> I sort of started this on another thread but wanted to nail a few things >> down first. I'm wanting to encrypt some parts of my data on /home. >> <<< SNIP >>> >> > > >OK. I looked into another hard drive but budget right now says no. So, >I went back to plan A. I managed to remove the 6TB drive and it is now >on it's own LVM thingy. I've moved enough over to mount it and use it >as my /home directory. I'm in the process of copying other non-critical >files over so I can move things around some more. Anyway, I'm using >rsync to copy things over. It works great, can restart if I need to >stop it etc etc but it has one thing that annoys me. While it is >copying things over, it makes my system slow to respond. Once the cache >in memory gets pretty full, it takes a while to switch desktops or for >programs to show up when I do get to a desktop. Seamonkey seems to be >hit hardest with this. I tried putting ionice in front of the command >but it is still slow. My CPU cores are a bit busy but nowhere near >100%. Most cores are switching from almost idle to around 40% at their >peak. If I added them all up, I'd say the total would average around >10%, 20% at the very most. I've got swapiness set pretty low and it >isn't using swap according to gkrellm. > >Anyone have a idea how to make rsync not cause this problem? Is there >something besides ionice I need to use? > >Thanks. > >Dale > >:-) :-) > -- Sent from my Android device with K-9 Mail. Please excuse my brevity.