Re: Increase dirty_ratio and dirty_background_ratio?

From: Chris Mason
Date: Thu Jan 08 2009 - 11:55:42 EST


On Thu, 2009-01-08 at 08:48 -0800, Linus Torvalds wrote:
>
> On Thu, 8 Jan 2009, David Miller wrote:
>
> > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Date: Thu, 8 Jan 2009 03:02:45 -0800
> >
> > > The kernel can't get this right - it doesn't know the usage
> > > patterns/workloads, etc.
> >
> > I don't agree with that.
>
> We can certainly try to tune it better.
>

Does it make sense to hook into kupdate? If kupdate finds it can't meet
the no-data-older-than 30 seconds target, it lowers the sync/async combo
down to some reasonable bottom.

If it finds it is going to sleep without missing the target, raise the
combo up to some reasonable top.

-chris


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