Add crac module: Spring Boot 4.2 started by CRaC checkpoint/restore vs JDK AOT cache vs native image
One service, seven start-up configurations measured over ten interleaved rounds on Temurin 25, Zulu 25 CRaC and Oracle GraalVM 25; the open-file checkpoint failure and its fix, stale environment values, secrets in the checkpoint, warp and CRIU engines, cold page cache. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
de2660e998
commit
c0062ea398
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# One start per configuration with the Linux page cache emptied first (a freshly pulled container image or a freshly scheduled pod).
|
||||
# 5 repetitions each, interleaved. Needs root (writes /proc/sys/vm/drop_caches).
|
||||
source "$(dirname "$0")/lib.sh"
|
||||
R="${1:-5}"
|
||||
declare -A res
|
||||
for r in $(seq 1 "$R"); do
|
||||
for c in plain-temurin aot-traffic crac-warm native; do
|
||||
sync; echo 3 > /proc/sys/vm/drop_caches
|
||||
v=$($TOOL once "$c" | python3 -c 'import json,sys; print(round(json.load(sys.stdin)["ready"]))')
|
||||
res[$c]="${res[$c]} $v"
|
||||
done
|
||||
done
|
||||
{ echo "ready (ms) after dropping the page cache, $R rounds, interleaved:"; for c in plain-temurin aot-traffic crac-warm native; do echo " $c:${res[$c]}"; done; } | tee "$OUT/09-cold-cache.txt"
|
||||
Reference in New Issue
Block a user