Mapped Watermark- August 22, 2004 I've been battling with this swappiness issue and 2.6 for as long as I can remember now. No tuning to the current system seemed optimal and it dawned on me finally how I should approach it to actually behave very well on a desktop. I made a patch I called mapped_watermark. This patch readjusts the way memory is evicted by lightly removing cached ram once the ram is more than 23 full, if less than the "mapped watermark" percent of ram is mapped ram (ie applications). The normal system is to...http://kerneltrap.org/node/3687 |