Messages in this thread | | | Date | Wed, 28 Apr 2004 18:00:38 -0700 | From | Andrew Morton <> | Subject | Re: ~500 megs cached yet 2.6.5 goes into swap hell |
| |
"Brett E." <brettspamacct@fastclick.com> wrote: > > Or how about "Use ALL the cache you want Mr. Kernel. But when I want > more physical memory pages, just reap cache pages and only swap out when > the cache is down to a certain size(configurable, say 100megs or > something)."
Have you tried decreasing /proc/sys/vm/swappiness? That's what it is for.
My point is that decreasing the tendency of the kernel to swap stuff out is wrong. You really don't want hundreds of megabytes of BloatyApp's untouched memory floating about in the machine. Get it out on the disk, use the memory for something useful.
- 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/
| |