Re: /proc/sys/vm/freepages not writable.

From: Rik van Riel (riel@conectiva.com.br)
Date: Tue Sep 19 2000 - 02:52:25 EST


On Mon, 18 Sep 2000, Andi Kleen wrote:
> On Sun, Sep 17, 2000 at 03:53:47PM -0300, Rik van Riel wrote:
> > On Sun, 17 Sep 2000, Andi Kleen wrote:
> > > On Sun, Sep 17, 2000 at 03:09:52PM -0300, Rik van Riel wrote:
> >
> > > > 1. The inactive_target is 1 second worth of allocations, minus
> > > > the amount of frees in 1 second, averaged over a minute
> > >
> > > So it cannot take load bursts. That's ok for a default, but for
> > > special loads it would be good if there was a way for the
> > > administrator to overwrite that, similar to the old freepages.
> >
> > OK, lets see if we can come up with some nice (self-tuning?)
> > idea for this at Linux Kongress ;)
>
> I don't like self tuning algorithms for this case, because they
> tend to cause a disruption on the first spike (e.g. causing lots
> of packets dropped first until the VM can adapt). When the admin
> says "I don't care if 10MB are wasted, I want it this way"
> explicitely he should get his will.

Indeed, you are right. I'll add this feature shortly.

Rik

--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:20 EST