Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 00:28:09 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Jason Chambers <jchambers@ucla.edu>, freebsd-hackers@freebsd.org
Subject:   Re: Monitoring throughput of PCIe lanes
Message-ID:  <20090602052809.GF90077@dan.emsphone.com>
In-Reply-To: <4A24AB0C.70506@elischer.org>
References:  <4A249906.8050802@ucla.edu> <4A24AB0C.70506@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



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