Re: 2.4.8-pre7: still buffer cache problems

Zdenek Kabelac (kabi@i.am)
Fri, 10 Aug 2001 08:01:59 GMT


Rik van Riel wrote:
>
> On Thu, 9 Aug 2001, marc heckmann wrote:
>
> > While 2.4.8-pre7 definitely fixes the "dd if=/dev/zero
> > of=bigfile bs=1000k count=bignumber" case. The "dd if=/dev/hda
> > of=/dev/null" is still quite broken for me.
>
> OK, there is no obvious way to do do drop-behind on
> buffer cache pages, but I think we can use a quick
> hack to make the system behave well under the presence

There is one simple way - leave some configurable number of
maximum cachable pages.

I've been having this problem for very looooong time -
and even this simple trick - like saying that disk cache could not
take more than 40MB would help a lot.

kabi

-
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/