Re: Kernel cached memory

Bill Davidsen
2005-07-25T17:53:38Z

Paolo Ornati wrote:

>On Mon, 25 Jul 2005 12:47:50 -0400
>Bill Davidsen <davidsen@tmr.com> wrote:
>
>
>
>>And IMHO Linux is *way* too willing to evicy clean pages of my
>>programs to use as disk buffer, so that when system memory is full I
>>pay the overhead of TWO disk i/o's, one to finally write the data to
>>the disk and one to read my program back in. If free software is
>>about choice, I wish there was more in the area of how memory is
>>used.
>>
>>
>
>isn't this tuned enough by "/proc/sys/vm/swappiness" ?
>
>
>
Let me generate some data points for discussion. But the general answer
is no, I just want to try to have some numbers to discuss. I also want
to go back to some 2.4.xx-aa kernels, Andrea had some very nice things
in his bdflush code, and he was kind enough to explain to me how to tune
them so I avoided the worst case events.

--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979