AI Engine GMIO Performance Profile: Measurements using timer do not provide the listed performance
@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.


** 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Xilinx/Vitis-Tutorials
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Xilinx/Vitis-Tutorials#513 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Xilinx/Vitis-Tutorials#512 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Xilinx/Vitis-Tutorials#509 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Xilinx/Vitis-Tutorials#508 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Xilinx/Vitis-Tutorials#506 ·
All issues in Xilinx/Vitis-Tutorials
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
api7/lua-resty-saml#63 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·