On AIX I think you can define the maximum size for the cache e.g. 20%/80%...
I read something on RedHat vm fine tuning about a parameter is pagetabledir
or something...but I think this is no longer available in 2.6 kernels
I guess the only recourse is to add memory, which could easily rack up
several hundred thousand moolahs...


On Dec 15, 2007 10:20 PM, Orlando Andico <[EMAIL PROTECTED]> wrote:

> Unfortunately this is not something we can do very much about.
>
> I run into this problem ALL THE TIME, and we don't have any decent
> solution. There are 2 issues here: the read cache, and the write
> cache.
>
> You can "get rid" of the write cache by using the mount option -o sync
> but that will result in eye-popping performance reductions. I tried
> that, wasn't worth the performance hit.
>
> There's really not much way of "tuning" the Linux buffer cache
> behavior. That's why the big DB vendors etc. use raw filesystem, to
> get around the O/S caching mechanisms and gain more control.
>
> I've even seen this behavior (overly greedy buffer cache starves
> applications of RAM) even on AIX. But then I don't know enough about
> AIX to know if it can be worked around on that platform.
>
> Another thing you can try is run with no swap...
>
>
>


-- 

---
Kelsey Hartigan Go
Registered Linux user #5998
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to