>-----Original Message-----
>From: Dale <rdalek1...@gmail.com> 
>Sent: Monday, April 4, 2022 4:37 PM
>To: gentoo-user@lists.gentoo.org
>Subject: Re: [gentoo-user] LVM and moving things around
>
>
>One thing that annoys me, it trying to use swap.  I don't want to disable it 
>because on occasion Firefox goes nuts and starting hogging memory really bad.  
>I have swappiness set to like 5 or something which means it shouldn't use it 
>but when using rsync, it creeps some in.  When it does, that results in some 
>slowness.  I have a little script thing that clears all that but still, I may 
>set it to 3 or maybe 2 for a bit. Me ponders the thought. 
>
>I'm making progress.  Feel sorry for those hard drives tho. ;-)
>
>Dale
>
>:-)  :-) 
>
>

I'm told that you can use cgroups for dealing with that kind of thing such 
that, for example, only Firefox is allowed to be swapped.  I haven't had time 
to dig into it, but it seems like a useful tool.

Also, the compressed swap and zram swap devices with backing stores offer a 
fairly significant boost to the speed of swap so long as the data being swapped 
is compressible.

LMP

Reply via email to