Re: vm issues on sap app server

Rik van Riel (riel@imladris.surriel.com)
Wed, 19 Feb 2003 20:08:01 -0300 (BRT)


On Wed, 19 Feb 2003, Dejan Muhamedagic wrote:

> Both servers swap constantly, but the 2.4.20aa1 at a 10-fold
> higher rate. OTOH, there should be enough memory for
> everything. It seems like both VMs have preference for
> cache. Is it possible to reduce the amount of memory used
> for cache?

Yes, you can reduce the size of the cache above which the
pageout code will only reclaim cache and not application
data. To set the percentage to 10% (from the default 5%):

echo 1 10 > /proc/sys/vm/pagecache

> Finally, there's a third SAP app server, an RS6000 running
> AIX with the same amount of memory, which seems to be more
> stable under various loads.

In that case you're probably familiar with the cache size
tuning, since AIX has the exact same tuning knob as rmap ;)

kind regards,

Rik

-- 
Engineers don't grow up, they grow sideways.
http://www.surriel.com/		http://kernelnewbies.org/
-
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/