Re: One-shot-oriented event timers management

From: Brandon Gooch <jamesbrandongooch_at_gmail.com>
Date: Wed, 1 Sep 2010 18:29:48 -0500
On Wed, Sep 1, 2010 at 2:16 PM, Alexander Motin <mav_at_freebsd.org> wrote:
> Brandon Gooch wrote:
>> This latest patch causes an interrupt storm with the HPET timer on my
>> system. The machine took about 8 minutes to boot and bring me to a
>> login prompt. System interactivity (i.e. input from keyboard, output
>> on console) was fine, but after checking the output of `systat vmstat
>> -1`, I saw the interrupt rate on each HPET entry was over 120k!
>>
>> Can I provide any useful detail? Of course, test patches are always welcome :)
>
> I was able to reproduce alike storm in some situations.
>
> Try new version: http://people.freebsd.org/~mav/timers_oneshot7.patch

Definitely solved it!!!

Awesome, BTW, check out my C3 time:

# gnu-watch -n1 'sysctl dev.cpu | grep cx_usage'

Every 1.0s: sysctl dev.cpu | grep cx_usage              Wed Sep  1 17:56:31 2010

dev.cpu.0.cx_usage: 0.00% 0.03% 99.96% last 7159us
dev.cpu.1.cx_usage: 0.00% 0.00% 100.00% last 6343us

I've now seen my computer at it's lowest battery drain rate yet
(around 11000 mW) while "using" my system.

This just keeps getting better and better mav_at_, hope we see more testers soon :)

-Brandon
Received on Wed Sep 01 2010 - 21:29:51 UTC

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