One-shot-oriented event timers management

Alexander Leidinger Alexander at Leidinger.net
Wed Sep 1 14:38:38 UTC 2010


Quoting Alexander Motin <mav at FreeBSD.org> (from Sun, 29 Aug 2010  
16:10:00 +0300):

> I have actively tested this code for a few days on my amd64 Core2Duo
> laptop and i386 Core-i5 desktop system. With C2/C3 states enabled
> systems experience only about 100-150 interrupts per second, having HZ
> set to 1000. These events mostly caused by several event-greedy
> processes in our tree. I have traced and hacked several most aggressive
> ones in this patch: http://people.freebsd.org/~mav/tm6292_idle.patch .
> It allowed me to reduce down to as low as 50 interrupts per system,
> including IPIs!

It looks like you are comming to a point where Powertop would be  
helpful. There's a dtracified version of it available at the  
opensolaris site (it would at least need some additional dtrace probes  
in our kernel).

http://hub.opensolaris.org/bin/view/Project+tesla/Powertop

Bye,
Alexander.

-- 
Our customers' paperwork is profit.
Our own paperwork is loss.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-hackers mailing list