Re: [PATCH] maximum latency tracking infrastructure (version 3)

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

 



Hi,

On Mon, Aug 28, 2006 at 05:48:00PM +0200, Arjan van de Ven wrote:
> The proposed solution is to have an interface where drivers can
> * announce the maximum latency (in microseconds) that they can deal with
> * modify this latency
> * give up their constraint
> and a function where the code that decides on power saving strategy can query
> the current global desired maximum.

Nifty (aka "dumb") idea: would it make sense to enable drivers to register a
callback "we're going to go idle now" to e.g. let a driver refill or
service its hardware buffers the very moment before idling? That way
a driver could increase its announced latency requirements,
allowing longer idle sleeps until a hardware buffer overflows or whatever
(but in many cases a hardware service issue would be covered by an IRQ then).

However the time scales involved here (a couple of microseconds per sleep
or so versus a possibly comparably big amount of processing time per callback)
could render such a thing impractical, especially when multiple drivers
and thus multiple callbacks are involved (one might need to watch
total callback processing time then).

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux