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
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# What every number in the post was measured on.
|
||||
source "$(dirname "$0")/lib.sh"
|
||||
{
|
||||
echo "== machine"; uname -sr; echo "cpus: $(nproc)"; free -m | awk 'NR==2{print "memory MB: "$2}'
|
||||
echo; echo "== plain JVM and AOT cache"; run_env "$JDK_PLAIN/bin/java" -version 2>&1 | scrub
|
||||
echo; echo "== CRaC JVM"; run_env "$JDK_CRAC/bin/java" -version 2>&1 | scrub
|
||||
echo "engines shipped: $(ls "$JDK_CRAC/lib" | grep -E 'criu|libcriuengine|warp' | tr '\n' ' ')"
|
||||
echo; echo "== native-image"; run_env "$JDK_GRAAL/bin/native-image" --version 2>&1 | scrub
|
||||
echo; echo "== Spring"; unzip -p "$WORK/app/lib/spring-boot-4.2.0.jar" META-INF/MANIFEST.MF | grep -E 'Implementation-Version'
|
||||
ls "$WORK/app/lib" | grep -E '^(spring-(core|context|webmvc|boot)-|crac-|tomcat-embed-core)'
|
||||
} 2>&1 | tee "$OUT/01-versions.txt"
|
||||
Reference in New Issue
Block a user