Skip to content

AI Engine GMIO Performance Profile: Measurements using timer do not provide the listed performance #369

Open

Description

@satoru-i

** Which tutorial are you running? **
https://github.com/Xilinx/Vitis-Tutorials/blob/2022.2/AI_Engine_Development/Feature_Tutorials/02-using-gmio/perf_profile_aie_gmio.md
using macro TIMER.

** Describe the issue **
Measurements using timer do not provide the listed performance.
I measured it twice, and both times the performance was lower than stated.
Performance is particularly low when num=1 for the first time.

image
image

** To Reproduce **
export ROOTFS=xilinx-versal-common-v2022.1/rootfs.ext4
export IMAGE=xilinx-versal-common-v2022.1/Image
. xilinx-versal-common-v2022.1/environment-setup-cortexa72-cortexa53-xilinx-linux
make package TARGET=hw
cd sw
gedit Makefile &
CXXFLAGS += -std=c++14 -D__TIMER__ -I$(XILINX_VIVADO)/include/ -I${SDKTARGETSYSROOT}/usr/include/xrt/ -O0 -g -Wall -c -fmessage-length=0 --sysroot=${SDKTARGETSYSROOT} -I${XILINX_VITIS}/aietools/include ${HOST_INC}
make clean
make
cd ../
cp host.exe host_timer.exe
copy host_timer.exe to the SD card.
booting Linux from an SD card
export XILINX_XRT=/usr
cd /run/media/mmcblk0p1
./host_timer.exe a.xclbin

** Your environment: **

  • OS: Red Hat Enterprise Linux Workstation release 7.5
  • Software Version: 2022.1
  • Hardware (if applicable): VCP190 production board

Activity

  1. AnusheelXilinx commented on Dec 21, 2024

    @AnusheelXilinx
    Contributor

    Hi @AlphaBu, may I know if the recent push for 2024.2 still has this issue?

    Thanks
    Anusheel

  2. AlphaBu commented on Mar 27, 2025

    @AlphaBu
    Contributor

    The test case is updated in later releases. And the performance number is updated too. The number may vary every run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions