[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Force process to swap?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/24/08 10:09, Hugo Vanwoerkom wrote:
> Ron Johnson wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> 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:
> 
> http://ck.wikia.com/wiki/SwapPrefetch

Is this in the mainline?

> http://en.wikipedia.org/wiki/Paging

I use "swap" in the generic sense, but really mean "page".  Does
Linux even *do* process swapping?


- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIELABS9HxQb37XmcRAnJXAKDDtiWHw4FL0wdP3lEBkJf3vjd7uQCeLpJy
/JqcCIcrRedWNY4LAhCAEMQ=
=g4fY
-----END PGP SIGNATURE-----


Reply to: