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

Open
#369 2 comments 0 reactions 1 assignee View on GitHub

@AlphaBu is already working on this.

Since May 11, 2023.

Assessment

This issue has not been assessed yet.

Description

** 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
Dominant language
C
Stars
1.6k
Forks
627
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Xilinx/Vitis-Tutorials

All issues in Xilinx/Vitis-Tutorials

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.