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

Latency Consistency in Sequential and Interleaved Memory Writes #111

Open
ashuthosh-mr opened this issue Jul 18, 2024 · 0 comments
Open

Comments

@ashuthosh-mr
Copy link

I was running a few basic tests with the Mempool. During these tests, I tried to measure the time taken to write to sequential memory and interleaved memory.

Issue:

In the attached code, I write 50 times using core 5 to 50 different consecutive locations. The latency I get is 173 cycles irrespective of which memory region I use.

Configuration:

Mempool: 256 cores
Stack Space: 1024 bytes per core
Sequential Memory per Core: 2048 bytes per core

Expected Behavior:

My expectation is that if I write to sequential space within the tile from the core belonging to the same tile, it should take 50 cycles for 50 writes. And if I write to locations in the other tile, depending on the hierarchy, the latency should vary.

Request:

Could you please let me know if I am doing it right? Any insights or guidance would be appreciated.
main.c.txt

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

No branches or pull requests

1 participant