XRT icon indicating copy to clipboard operation
XRT copied to clipboard

DF bandwidth test migration to run recipe format

Open aktondak opened this issue 5 months ago • 4 comments

Problem solved by the commit

This PR adds the XRT code for changing df-bandwidth test to run recipe format.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

https://jira.xilinx.com/browse/AIESW-1721

How problem was solved, alternative solutions (if any) and why they were rejected

The problem was solved through adding the the runner artifacts to linux and testing on the strix45 machine.

Risks (if any) associated the changes in the commit

Currently I'm seeing inconsistent behavior between elf and non-elf runs for the same test on linux strix45 without run recipe: Default without elf :

aktondak@xsjstrix45:/proj/rdi/staff/aktondak/xdna/xdna-driver/build$ xrt-smi validate -r df-bw --advanced 
WARNING: User doesn't have admin permissions to set performance mode. Running validate in Default mode
Validate Device           : [0000:c5:00.1]
    Platform              : NPU Strix
    Power Mode            : Default
-------------------------------------------------------------------------------
Test 1 [0000:c5:00.1]     : df-bw                                               
    Details               : Average bandwidth per shim DMA: 39.2 GB/s
    Test Status           : [PASSED]
-------------------------------------------------------------------------------

Default with elf

aktondak@xsjstrix45:/proj/rdi/staff/aktondak/xdna/xdna-driver/xrt/build$ xrt-smi validate -r df-bw --advanced --elf
WARNING: User doesn't have admin permissions to set performance mode. Running validate in Default mode
Validate Device           : [0000:c5:00.1]
    Platform              : NPU Strix
    Power Mode            : Default
-------------------------------------------------------------------------------
Test 1 [0000:c5:00.1]     : df-bw                                               
    Details               : Average bandwidth per shim DMA: 58.8 GB/s
    Test Status           : [PASSED]
-------------------------------------------------------------------------------

After run recipe migration(elf by default) :

aktondak@xsjstrix45:/proj/rdi/staff/aktondak/xdna/xdna-driver/build$ xrt-smi validate -r df-bw --advanced 
WARNING: User doesn't have admin permissions to set performance mode. Running validate in Default mode
Validate Device           : [0000:c5:00.1]
    Platform              : NPU Strix
    Power Mode            : Default
-------------------------------------------------------------------------------
Test 1 [0000:c5:00.1]     : df-bw                                               
    Details               : Average bandwidth per shim DMA: 58.3 GB/s
    Test Status           : [PASSED]

What has been tested and how, request additional testing if necessary

Tested with above results on linux. Numbers with elf match between run recipe and default.

Documentation impact (if any)

None

aktondak avatar Jun 27 '25 06:06 aktondak