solana/program-runtime
mergify[bot] 248e0c755a
v2.1: program-runtime: double program cache size (backport of #3481) (#3492)
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-08 12:21:58 +07:00
..
src v2.1: program-runtime: double program cache size (backport of #3481) (#3492) 2024-11-08 12:21:58 +07:00
Cargo.toml Remove frozen-abi build script (#2911) 2024-09-17 06:08:48 +00:00