solana/program-runtime
mergify[bot] 2408949818
v2.0: program-runtime: double program cache size (backport of #3481) (#3494)
program-runtime: double program cache size (#3481)

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 fb4adda5a8a59d7eafe942157260c023b962925a)

Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
2024-11-09 10:16:09 +07:00
..
src v2.0: program-runtime: double program cache size (backport of #3481) (#3494) 2024-11-09 10:16:09 +07:00
Cargo.toml Revert "v2.0: Refactor and additional metrics for cost tracking (backport of #1888) (#1900) (#1937) 2024-07-01 10:33:44 -06:00
build.rs