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
@@ -0,0 +1,21 @@
|
||||
== CRaC checkpoint at start-up (-Dspring.context.checkpoint=onRefresh)
|
||||
process exited after 6989 ms; checkpoint dir: core.img engine size: 110 MB
|
||||
INFO 9383 --- [crac-demo] [ main] com.ankurm.crac.CracDemoApplication : Starting CracDemoApplication v1.0.0 using Java 25.0.5.1.1 with PID 9383 (<work>/app/crac-demo-1.0.0.jar started by root in <work>)
|
||||
RestoreTracker: beforeCheckpoint
|
||||
[6.927s][info][crac] Checkpoint ...
|
||||
3230.887277: warp: Checkpoint 9383 to <work>/cp-refresh
|
||||
3230.929900: warp: Checkpoint successful!
|
||||
|
||||
== CRaC checkpoint after warm-up (300 POST + 300 GET, then jcmd JDK.checkpoint)
|
||||
jcmd JDK.checkpoint returned after 506 ms; process gone after 616 ms; checkpoint size: 136 MB
|
||||
INFO 9520 --- [crac-demo] [Attach Listener] jdk.crac : Starting checkpoint
|
||||
RestoreTracker: beforeCheckpoint
|
||||
[7.441s][info][crac] Checkpoint ...
|
||||
3238.421212: warp: Checkpoint 9520 to <work>/cp-warm
|
||||
3238.499849: warp: Checkpoint successful!
|
||||
|
||||
== JDK AOT cache (JEP 514), context-only training
|
||||
training took 11045 ms; 60 MB
|
||||
|
||||
== JDK AOT cache, training with the same 300-request warm-up
|
||||
training took 15222 ms; 68 MB
|
||||
Reference in New Issue
Block a user