Monitoring throughput of PCIe lanes

Dan Nelson dnelson at allantgroup.com
Tue Jun 2 05:44:53 UTC 2009


In the last episode (Jun 01), Julian Elischer said:
> Jason Chambers wrote:
> > I'm wondering if there is currently a way to monitor the throughput of a
> > PCIe lane or group of lanes associated with a device ?
> > 
> > I've done a little exploring of the source and man pages but have yet to
> > find anything that seems to relate in an obvious form.
> 
> unfortunatly PCIe traffic occurs at a level below that at which the OS can
> really monitor.
> 
> there would have to be some hardware support I think.

Solaris has a busstat command that can print a huge number of low-level
counters, including PCI DMA counts.  If it's supported under OpenSolaris
it should be easy to check and see whether it's dependant on Sun hardware or
works with any PC (just boot it up and run busstat -l).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list