Re: [PATCH] x86: Reduce the default HZ value

From: Christoph Lameter
Date: Thu May 07 2009 - 13:51:28 EST


On Thu, 7 May 2009, Peter Zijlstra wrote:

> On Thu, 2009-05-07 at 13:20 -0400, Christoph Lameter wrote:
> > On Thu, 7 May 2009, Peter Zijlstra wrote:
> >
> > > Another user is RCU, the grace period is tick driven, growing these
> > > ticks by a factor 50 or so might require some tinkering with forced
> > > grace periods when we notice our batch queues getting too long.
> >
> > One could also schedule RCU via hrtimers with a large fuzz period?
>
> No, that's not the point, the longer these period are, the more
> callbacks you can accumulate in a period. You need a cap on the callback
> list, we already have seen DoS scenarios in this space.

At some point the RCU must run and if the callback list gets too long the
callbacks must be processed. Thats unavoidable.


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