Re: vm issues on sap app server

From: Rik van Riel (riel@imladris.surriel.com)
Date: Thu Feb 20 2003 - 08:21:50 EST


On Thu, 20 Feb 2003, Dejan Muhamedagic wrote:

> > echo 1 10 > /proc/sys/vm/pagecache
>
> Will that work with rmap15d? The code seems to support only min
> and borrow parameters.

Indeed, only min and borrow are currently supported.

> Correct me if I'm wrong. This is what it looks like currently:
>
> # cat /proc/sys/vm/pagecache
> 1 3 20
> # mem | grep Cache
> Cached: 4569128 kB
> SwapCached: 829668 kB
> ActiveCache: 136728 kB

The "problem" here is that a lot of the memory in Cached: is
mapped into process address space, so in effect it is process
memory.

This is especially true for executables, libraries and shared
memory segments, which you REALLY want to have treated as process
memory and not as cache...

This makes the Cached statistic a bit confusing for administrators.

> > In that case you're probably familiar with the cache size
> > tuning, since AIX has the exact same tuning knob as rmap ;)
>
> AIX vmtune -P is equivalent to the Linux cache-max, but cache-max
> is not implemented.

Doesn't it also have something like the borrow percentage, above
which AIX will only reclaim from the cache, unless the repaging
rate of the cache is higher than that of process memory ?

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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:29 EST