Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatial Sharing test update for low variance #8494

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aktondak
Copy link
Collaborator

@aktondak aktondak commented Oct 4, 2024

Problem solved by the commit

The variance seen in the overhead for spatial-sharing-overhead test was high. This Change solves that.
There is some additional code cleanup which moves 2 APIs out of the TestRunner class for free usage within other code.
The file TestHelper has also been renamed appropriately to be used as a placeholder for future xrt-smi validate APIs.

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

https://jira.xilinx.com/browse/CR-1215567

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

The problem was solved by running the df-bw DPU instruction instead of the no-op kernel being run previously.
We are now running 8 kernels simultaneously for 10,000 iterations
The overhead now seen in 10 subsequent runs is seen between 900ms - 1100ms (~10% variance).

Risks (if any) associated the changes in the commit

None

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

Tested on Kracken board. Needs further testing from DSV

Documentation impact (if any)

https://confluence.amd.com/display/AIE/User+Guide%3A+xrt-smi+on+Ryzen+AI will be updated once pulled

Signed-off-by: Akshay Tondak <Akshay.Tondak@amd.com>
@gbuildx
Copy link
Collaborator

gbuildx commented Oct 4, 2024

Can one of the admins verify this patch?

Signed-off-by: Akshay Tondak <Akshay.Tondak@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants