Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2010 19:13:27 +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:  <4C7E7BA7.5090206@FreeBSD.org>
In-Reply-To: <20100901180926.4b04e2cc@ernst.jennejohn.org>
References:  <4C7A5C28.1090904@FreeBSD.org>	<20100830110932.23425932@ernst.jennejohn.org>	<4C7B82EA.2040104@FreeBSD.org>	<20100830121148.11926306@ernst.jennejohn.org>	<20100831102918.4f5404cc@ernst.jennejohn.org>	<4C7CC1DE.1080907@FreeBSD.org>	<4C7E2E8A.3030709@FreeBSD.org>	<20100901141541.3e36c868@ernst.jennejohn.org> <20100901180926.4b04e2cc@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Jennejohn wrote:
> On Wed, 1 Sep 2010 14:15:41 +0200
> Gary Jennejohn <gljennjohn@googlemail.com> wrote:
> 
>> On Wed, 01 Sep 2010 13:44:26 +0300
>> Alexander Motin <mav@FreeBSD.org> wrote:
>>> Updated patch: http://people.freebsd.org/~mav/timers_oneshot6.patch
>>>
>>> Patch also includes some optimizations to reduce lock contention.
>>>
>>> Thanks for testing.
>>>
>> OK, I'll give it a try, althought your previous patch seems to be working
>> quite well.
> 
> This has changed the behavior of the HPET timers somewhat.
> 
> With patch5 I was seeing approximately equal interrupt counts from
> hpet0 and hpet1.
> 
> Now the majority of interrupts are on hpet0 by a factor of 6 to 10.
> 
> Not a show stopper, just thought I'd mention it.
> 
> One difference is that I didn't apply tm6292_idle.patch this time.

That could be the reason. This patch removes up to few hundreds events
per second.

-- 
Alexander Motin



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