Skip to content

Reduce compute_shuffled_index cache from 65536 to 1024 entries#5052

Merged
jtraglia merged 1 commit intoethereum:masterfrom
jtraglia:reduce-lru-size
Mar 27, 2026
Merged

Reduce compute_shuffled_index cache from 65536 to 1024 entries#5052
jtraglia merged 1 commit intoethereum:masterfrom
jtraglia:reduce-lru-size

Conversation

@jtraglia
Copy link
Copy Markdown
Member

In #5046, we increased the cache size from 96 to 65,536. I believe this was too much as our runners are "losing contact" (aka crashing) around 8 hours into the mainnet-gloas tests. I suspect they are running out of memory; that's the common reason. In my testing, 1024 will improve performance in most situations except the large validator set tests.

@jtraglia jtraglia changed the title Reduce compute_shuffled_index caching lru size to 2**10 Reduce compute_shuffled_index cache from 65536 to 1024 entries Mar 27, 2026
@jtraglia jtraglia merged commit 8a0110a into ethereum:master Mar 27, 2026
30 checks passed
@jtraglia jtraglia deleted the reduce-lru-size branch March 27, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant