Re: Patch nag: Bug #363400

On Wed, 2007-03-28 at 14:36 -0600, Hans Petter Jansson wrote:
> On Wed, 2007-03-28 at 21:27 +0200, Alexander Larsson wrote:
> > On Wed, 2007-03-28 at 12:52 -0600, Hans Petter Jansson wrote:
> > > I basically arrived at the value based on what would be acceptable
> > > fadvise() CPU overhead (<1%) for the XFS runs that were posted.
> > > 
> > > Will you accept the patch if I just set DROP_CACHE_BATCH_SIZE to 20MB?
> > > It would preserve the lower fadvise() limit and cause cache "pollution"
> > > of up to 20MB during the operation.
> > I think its better to have two values for this. Even if we later change
> > the 20 meg value i think its valuable to differentiate these two
> > settings, as they are really two different things (one is batching to
> > avoid many fadvice calls, one is some attempt to guess when caches can
> > be safely dropped).
> Ok. I've attached a revised patch to the bug at:

Looks good to commit. (on both trunk and gnome-2-18 i guess)

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a leather-clad alcoholic grifter possessed of the uncanny powers of an 
insect. She's a hard-bitten wisecracking bounty hunter who can talk to 
animals. They fight crime! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]