Subject: Re: Preparing callout(9) for a HZ-less kernel
To: Simon Burge <simonb@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/23/2007 10:51:28
On Oct 23, 2007, at 9:20 AM, Simon Burge wrote:

>
> Just for kicks, here some event counters on a Core Duo laptop.  This  
> is
> after a kernel had finished building after a reboot.  The system had
> been up for about 8 minutes at this stage.

Clearly callout_stop is not a rare operation :-)

>
>
> event                                         total     rate type
> callout late                                      9        0 misc
> callout ack                                      10        0 misc
> callout active                                13865       33 misc
> callout destroy                               11366       27 misc
> callout init                                  11660       27 misc
> callout invoking                                 47        0 misc
> callout pending                                 113        0 misc
> callout reset                                 83970      201 misc
> callout schedule                              46165      110 misc
> callout setfunc                               11467       27 misc
> callout stop                                 101361      243 misc
>
> Cheers,
> Simon.

-- thorpej