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

v2.1: program-runtime: double program cache size (backport of #3481) #3492

Open
wants to merge 1 commit into
base: v2.1
Choose a base branch
from

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 6, 2024

The cache is currently getting thrashed and programs are getting reloaded pretty much at every single slot. Double the cache size, which makes reloading happen only due to random eviction sometimes picking a popular entry.

The JIT code size with the new cache size is about 800MB.

This change reduces JIT time 15x.

Left is with PR, right is master.

Screenshot 2024-11-05 at 8 46 59 pm
This is an automatic backport of pull request #3481 done by [Mergify](https://mergify.com).

The cache is currently getting thrashed and programs are getting
reloaded pretty much at every single slot. Double the cache size, which
makes reloading happen only due to random eviction sometimes picking a
popular entry.

The JIT code size with the new cache size is about 800MB.

This change reduces jit time 15x.

(cherry picked from commit fb4adda)
@mergify mergify bot requested a review from a team as a code owner November 6, 2024 03:49
@alessandrod
Copy link

I want to backport because this is a big win, it's a 1 line diff, and it's safe in that it doubles the size but the doubled size is still very small.

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.

3 participants