Monitoring throughput of PCIe lanes

Larry Rosenman ler at lerctr.org
Tue Jun 2 13:14:10 UTC 2009


On Tue, 2 Jun 2009, Dan Nelson wrote:

> 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).
>
On a SuperMicro board:
root at borg:~# busstat -l
busstat: No devices available in system.
root at borg:~#

That's under OpenSolaris 2008.11

So, I expect it needs hardware support.

>

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893


More information about the freebsd-hackers mailing list