Re: Monitoring throughput of PCIe lanes
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: r...@borg:~# busstat -l busstat: No devices available in system. r...@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: l...@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: Monitoring throughput of PCIe lanes
Jason Chambers wrote: Hello all, 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. I wonder if netgraph could somehow be used for this ? Thanks, --Jason ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org 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. THEORETICALLY you could get every device driver to report back how much traffic it has sent to each device and you could aggregate that by bus bt it would be a lot of work and overhead ad wouldn't really be agood measure of burst throughput... ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: Monitoring throughput of PCIe lanes
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 dnel...@allantgroup.com ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org