Re: Force process to swap?
Ron Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On 04/24/08 01:34, Rich Healey wrote:
Is there a way to tell kswapd that i wan't a particular process to get
shoved into swap?
I run a torrent client 24/7 (in many ways it would just be easier to
mirror a whole bunch of distro iso's, but oh well)..
Anyway, it tends to consume between 30 and 50% of my system's physical
memory, which wouldn't matter, except that it tends to push firefoxen
into swap, while nearly always staying in memory itself.
I can probably alter the torrent clients settings a bit to reign it in,
but honestly, the disk with my swap partition is pretty quick, and i
would think totally adequate to let it download/upload files from.
Is there some way of forcing this?
If your torrent client is staying in memory, but FF is being pushed
out, that means that -- since the swapper keeps what is needed *now*
and swaps what isn't needed -- that the torrent client is
continually doing more work than FF.
An improvement to swapping: