[meta-xilinx] Inspecting AXI Speeds

Matteo Vit matteo.vit at dev.starwaredesign.com
Wed Feb 22 15:34:26 PST 2017


On 22/02/2017 18:16, Giordon Stark wrote:
> Hi Matteo,
>
> I'd like to (and more generally) benchmark various features of the
> ZCU102 evaluation board. Right now, I've used meta-xilinx to compile an
> OS that has python. It would be great to figure out how to measure the
> AXI bus speed (such as using DMA) by running a script on the OS. It's
> not clear to me where to start or if the default image for the
> evaluation board will let me do this (I believe it has the necessary
> drivers).
>
> Giordon
>
> On Wed, Feb 22, 2017 at 12:04 PM Matteo Vit
> <matteo.vit at dev.starwaredesign.com
> <mailto:matteo.vit at dev.starwaredesign.com>> wrote:
>
>     On 21/02/2017 20:07, Giordon Stark wrote:
>     > Hi,
>     >
>     > If we load up an embedded OS on a Zynq board (eg: an evaluation
>     board),
>     > what's the best way to benchmark the AXI bus speeds and bandwidth, eg:
>     > with a compiled C++ program?
>     >
>     > Giordon
>     >
>     >
>
>     Hi Giordon,
>     if you mean how to measure the AXI bus speed you can use the IP block
>     AXI performance monitor (from Xilinx).
>
>     If you want to know how to generate traffic on the bus, it depends on
>     what you have connected to the AXI bus.
>
>     Can you please provide more details about what you'd like to achieve?
>
>     Regards,
>     Matteo
>

Hi Giordon,
I have found this interesting presentation from Xilinx about DMA control 
from user space:

https://forums.xilinx.com/xlnx/attachments/xlnx/ELINUX/10693/1/Linux%20DMA%20from%20User%20Space-public.pdf

I think this plus the AXI performance monitor is a good starting point.

Regards,
Matteo



More information about the meta-xilinx mailing list