Skip to content

[Snapshot Performance] Batch accesses #4814

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

Open
ripatel-fd opened this issue Apr 20, 2025 · 0 comments
Open

[Snapshot Performance] Batch accesses #4814

ripatel-fd opened this issue Apr 20, 2025 · 0 comments
Assignees

Comments

@ripatel-fd
Copy link
Contributor

The size of Firedancer's account index easily exceeds L3 cache size.
A simple loop that inserts a billion accounts into a funk index would thus be stalled frequently on DRAM fetches.

(Easiest to diagnose on an Intel CPU but I found some performance counters that we can use for AMD too)

Techniques like scatter-gather or prefetch instructions should allow for noticeable performance improvements when the list of addresses to query is known in advance.

@ripatel-fd ripatel-fd self-assigned this Apr 20, 2025
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