Re: One-shot-oriented event timers management

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Wed, 01 Sep 2010 19:13:27 +0300
Gary Jennejohn wrote:
> On Wed, 1 Sep 2010 14:15:41 +0200
> Gary Jennejohn <gljennjohn_at_googlemail.com> wrote:
> 
>> On Wed, 01 Sep 2010 13:44:26 +0300
>> Alexander Motin <mav_at_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
Received on Wed Sep 01 2010 - 14:13:45 UTC

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