Skip to content

Instantly share code, notes, and snippets.

@p-pavel
Created December 18, 2024 09:27
Show Gist options
  • Save p-pavel/89e8a284aeea39a4a535865713b143e2 to your computer and use it in GitHub Desktop.
Save p-pavel/89e8a284aeea39a4a535865713b143e2 to your computer and use it in GitHub Desktop.
# This is the log of pauses from shitty N5105 Celeron running Karaf OSGi container
# most of the load comes from a component running inside the container that
# does data acquisition, some simple processing, grouping and straming into
# TSDB (victoria metrics). The app is written in very high level style using
# fs2/cats.effect without any optimisation attemts altogether
# it does ~ 3000 syscalls per second to obtain data.
# No memory options at all, no attempts of tuning, vanilla G1 collector
# you can see <2ms pauses once in 40 seconds or so. OpenJDK 22 (GraalVM JIT would
# help in this case a lot, btw, it's very good in allocation elimination)
[600449.624s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 37598448649 ns, Reaching safepoint: 12226 ns, Cleanup: 17889 ns, At safepoint: 1367438 ns, Total: 1397553 ns
[600488.670s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 39044246490 ns, Reaching safepoint: 12467 ns, Cleanup: 5924 ns, At safepoint: 1450882 ns, Total: 1469273 ns
[600527.714s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 39042846927 ns, Reaching safepoint: 12543 ns, Cleanup: 6076 ns, At safepoint: 1349665 ns, Total: 1368284 ns
[600566.773s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 39056667596 ns, Reaching safepoint: 12783 ns, Cleanup: 6883 ns, At safepoint: 1734222 ns, Total: 1753888 ns
[600605.797s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 39022764051 ns, Reaching safepoint: 12935 ns, Cleanup: 5203 ns, At safepoint: 1376100 ns, Total: 1394238 ns
[600643.944s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 38145623417 ns, Reaching safepoint: 13511 ns, Cleanup: 5660 ns, At safepoint: 1415414 ns, Total: 1434585 ns
[600682.462s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 38517164854 ns, Reaching safepoint: 12740 ns, Cleanup: 5933 ns, At safepoint: 1337182 ns, Total: 1355855 ns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment