Re: One-shot-oriented event timers management

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Mon, 30 Aug 2010 13:21:17 +0300
Gary Jennejohn wrote:
> On Mon, 30 Aug 2010 13:07:38 +0300
> Alexander Motin <mav_at_FreeBSD.org> wrote:
>> Gary Jennejohn wrote:
>>> Ah, I think I see it now.  My desktop has only C1 enabled.  Is that it?
>>> Unfortunately, it appears that only C1 is supported :(
>> Yes, as I have said, at this moment empty ticks skipped only while CPU
>> is in C2/C3 states. In C1 state there is no way to handle lost events on
>> wake up. While it may be not very dangerous, it is not very good.
> 
> Too bad.  I'd say that systems which are limited to C1 don't benefit
> much (or not at all) from your changes.

For this moment - indeed not much. As I have said, feature with skipping
ticks is on early development stage. I've just implemented it in most
straightforward way, abusing feature provided by ACPI. To benefit other
systems and platforms, more tight integration with interrupt, callout
and possibly scheduler subsystem will be needed.

-- 
Alexander Motin
Received on Mon Aug 30 2010 - 08:21:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC