I got rid of htdig. It stopped.
So I ran GIMP recently and caused it again. Clicked in the wrong
place and BOOM! Gradient needs too much RAM and CPU and time.
Killed gimp. Suddenly, my system is lagging.
Ten minutes later I get the brains to run top. It seems I have about
50 MB in swap, and 54 MB free memory. So I wait ten minutes more.
No change.
% swapoff -a; swapon -a
Fixes all my problems.
Now this long story shows something: The kernel appears to be unable
to intelligently pull swap back into RAM. What gives?
I'm poking around in linux/mm and can't find the code to control this. I
want to make it swap back in any page that it reads, even if it has to
swap out another page (preferably one which hasn't been used for very
long). Also, a more aggressive thing, kswapd should have freepages.max
in there, to force it to pull in pages from swap aggressively if there's a lot
of free RAM and a lot of swap used.
Uhh, I'm lost... how does this stuff work? I'm... really lost. Should I be
doing this? Tell me where to start maybe?
--Bluefox Icy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/