Per core, per device interrupt counts

Fernando Gleiser fergleiser at yahoo.com
Wed Feb 17 21:34:13 UTC 2010





----- Original Message ----
> From: John Baldwin <jhb at freebsd.org>
> To: freebsd-hackers at freebsd.org
> Cc: Andrew Brampton <brampton+freebsd at gmail.com>
> Sent: Wed, February 17, 2010 4:17:24 PM
> Subject: Re: Per core, per device interrupt counts
> 
> 
> The simplest method would probably be to make intrcnt grow per-CPU counts, but 
> that would change the ABI of intrcnt and require a good bit of userland 
> hacking to fix vmstat -i, etc.

Or he can add some DTrace SDT probes after intrctl gets updated and export the device name, cpu index and count number from there as the probe argument list. Then he can get the stats he wants from a D script

Solaris' intrstat is built as a DTrace consumer, IIRC



Fer


      


More information about the freebsd-hackers mailing list