Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2009 21:31:08 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Jason Chambers <jchambers@ucla.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Monitoring throughput of PCIe lanes
Message-ID:  <4A24AB0C.70506@elischer.org>
In-Reply-To: <4A249906.8050802@ucla.edu>
References:  <4A249906.8050802@ucla.edu>

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



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