[Bug 27441] Re: Prevent extended periods of thrashing

David Mitchell launchpad.admin at forestit.co.uk
Thu Jul 29 16:00:05 UTC 2010


I have landed here because I have a 2GB (MAX possible) system which has
gone into swap thrash mode. I know what has done it as I have launched
about 15 python scripts, however it would seem that one cure would be to
slow down the multitasking - at present it seems that a process is
scheduled, starts swapping pages in and is then out of it's timeslot
before it has loaded all the pages. If there was an option to slow down
the task switching so tasks had a chance of actually getting all the
pages swapped in and doing some processing before they are pre-empted
then this might help!  This could be adaptive depending on the amount of
wait time on the CPU - at present my system is reporting

Cpu(s):  2.8%us,  2.8%sy,  0.0%ni, 34.3%id, 59.3%wa,  0.0%hi,  0.8%si,  0.0%st
Mem:   1013336k total,   996952k used,    16384k free,     2840k buffers
Swap:  4883448k total,  1810104k used,  3073344k free,    46136k cached

OK yes it only has 1GB at present but even if I put 2GB in it would
still be oversubscribed...

(10.04 new install)

-- 
Prevent extended periods of thrashing
https://bugs.launchpad.net/bugs/27441
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-source-2.6.15 in ubuntu.




More information about the kernel-bugs mailing list