Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 13:34:11 -0800 (PST)
From:      Fernando Gleiser <fergleiser@yahoo.com>
To:        freebsd-hackers@freebsd.org
Cc:        Andrew Brampton <brampton+freebsd@gmail.com>
Subject:   Re: Per core, per device interrupt counts
Message-ID:  <21791.42462.qm@web31702.mail.mud.yahoo.com>
In-Reply-To: <201002171417.24951.jhb@freebsd.org>
References:  <d41814901002171009l16bd40e7j1970d01bc8f44fd7@mail.gmail.com> <201002171417.24951.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help




----- Original Message ----
> From: John Baldwin <jhb@freebsd.org>
> To: freebsd-hackers@freebsd.org
> Cc: Andrew Brampton <brampton+freebsd@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


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21791.42462.qm>