1 Jun 2005 01:09
Re: Kernel (VM) swap problem in Hoary
Paul M. Bucalo <ubuntuser <at> pmbservices.com>
2005-05-31 23:09:20 GMT
2005-05-31 23:09:20 GMT
On Tue, 2005-05-31 at 21:44 +0100, James Wilkinson wrote: > Paul M. Bucalo wrote: > > I've had this same problem in FC 3 and couldn't (well, really wasn't > > smart enough) to resolve it: kernel wastes up to 98% of available RAM to > > cache and hold dirty pages too long while memory is desperately needed > > for applications. Then, extensive swap-thrashing that leaves the system > > nearly useless for up to 30 minutes. It seems to be more an issue on the > > desktop with 2.6 kernels. > > > > There are numerous configuration files in /proc/sys/vm that control this > > issue. I've just not found the magic numbers that should work best for > > my system. I'm running with 256 MB RAM and an AMD K6-2/500 MHz > > processor. (Btw, 'readahead' is active.) > > You've played with the swappiness setting (in /proc/sys/vm)? Yes, to a certain extent. I get varying results with each different system. I have had at 10 on an FC3 run on the same machine. It prolonged the inevitable, is all. I currently have it at 90, and I can't seem to make the thrashing come no matter what I open up. The trade of is performance, of course...especially on a slow system as this one. I definitely don't see a clear answer for all desktops, but I wouldn't mind just a little clarity as to where I should go to make improvements, you know? :0/ When working on an older, slower box, one assumes performance is not the first priority. Coming to a standstill for 30 minutes to gain some relatively euphoric moments of computing time doesn't strike me as good choice. I could be wrong. :0) > You > probably want to decrease that. Googling for it turns up(Continue reading)
RSS Feed