Re: 2.6.21-rc6-mm1

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

 



> 
> So my point is that you cannot use the PMU to account for wall-clock time when you
> go in halted state. Yet, you could use the idle notifier to compensate for it by
> recording let's say TSC prior to entry and computing delta on exit. But then I am
> not sure what you would do with it given that other events may or may not have
> counted during that time, making scaling harder to do.

I think correcting it with the TSC is fine. It might not be perfect, but it's
good enough for most uses. Certainly much better than idle=poll

> Once solution, implemented by Itanium Montecito processor, is to have a PMU event
> that counts cycles spent in halted state. 

This solution is incompatible with aggressive power management.

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