Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM and moving things around
Date: Sun, 03 Apr 2022 01:15:36
Message-Id: 1553A7AD-4987-449A-BA72-7A3B0BF27FFC@iinet.net.au
In Reply to: Re: [gentoo-user] LVM and moving things around by Dale
1 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.
2 BillK
3
4
5 On 3 April 2022 3:51:22 am AWST, Dale <rdalek1967@×××××.com> wrote:
6 >Dale wrote:
7 >> Howdy,
8 >>
9 >> I sort of started this on another thread but wanted to nail a few things
10 >> down first.  I'm wanting to encrypt some parts of my data on /home. 
11 >> <<< SNIP >>>
12 >>
13 >
14 >
15 >OK.  I looked into another hard drive but budget right now says no.  So,
16 >I went back to plan A.  I managed to remove the 6TB drive and it is now
17 >on it's own LVM thingy.  I've moved enough over to mount it and use it
18 >as my /home directory.  I'm in the process of copying other non-critical
19 >files over so I can move things around some more.  Anyway, I'm using
20 >rsync to copy things over.  It works great, can restart if I need to
21 >stop it etc etc but it has one thing that annoys me.  While it is
22 >copying things over, it makes my system slow to respond.  Once the cache
23 >in memory gets pretty full, it takes a while to switch desktops or for
24 >programs to show up when I do get to a desktop.  Seamonkey seems to be
25 >hit hardest with this.  I tried putting ionice in front of the command
26 >but it is still slow.  My CPU cores are a bit busy but nowhere near
27 >100%.  Most cores are switching from almost idle to around 40% at their
28 >peak.  If I added them all up, I'd say the total would average around
29 >10%, 20% at the very most.  I've got swapiness set pretty low and it
30 >isn't using swap according to gkrellm.
31 >
32 >Anyone have a idea how to make rsync not cause this problem?  Is there
33 >something besides ionice I need to use? 
34 >
35 >Thanks.
36 >
37 >Dale
38 >
39 >:-)  :-) 
40 >
41
42 --
43 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] LVM and moving things around Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] LVM and moving things around Dale <rdalek1967@×××××.com>