Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2010 13:21:17 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        gljennjohn@googlemail.com
Cc:        freebsd-hackers@freebsd.org, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: One-shot-oriented event timers management
Message-ID:  <4C7B861D.2050304@FreeBSD.org>
In-Reply-To: <20100830121148.11926306@ernst.jennejohn.org>
References:  <4C7A5C28.1090904@FreeBSD.org>	<20100830110932.23425932@ernst.jennejohn.org>	<4C7B82EA.2040104@FreeBSD.org> <20100830121148.11926306@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Jennejohn wrote:
> On Mon, 30 Aug 2010 13:07:38 +0300
> Alexander Motin <mav@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7B861D.2050304>