Re: [PATCH v3 00/18] periodic write-back timer optimization

From: Andi Kleen
Date: Thu Jul 09 2009 - 08:38:16 EST


Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx> writes:

>
> The patches attempt to optimize the periodic write-back and stop it when
> there are no dirty data. IOW, we do not want the thread to wake up every
> 5 seconds (by default), find there is nothing to do, and so on.

Is waking up every 5 seconds really a problem?

The normal rule of thumb is iirc that longer sleep times than a few hundred
ms give dimishing returns in terms of power saving.

A simple way might be simple to batch the timer better with other timers.

-Andi


--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/