Date: Tue, 2 Jun 2009 08:03:47 -0500 (CDT) From: Larry Rosenman <ler@lerctr.org> To: Dan Nelson <dnelson@allantgroup.com> Cc: Jason Chambers <jchambers@ucla.edu>, freebsd-hackers@freebsd.org, Julian Elischer <julian@elischer.org> Subject: Re: Monitoring throughput of PCIe lanes Message-ID: <alpine.BSF.2.00.0906020802580.61795@thebighonker.lerctr.org> In-Reply-To: <20090602052809.GF90077@dan.emsphone.com> References: <4A249906.8050802@ucla.edu> <4A24AB0C.70506@elischer.org> <20090602052809.GF90077@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@borg:~# busstat -l busstat: No devices available in system. root@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@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906020802580.61795>