From: Svjatoslav Agejenko Date: Wed, 11 Nov 2026 17:04:58 +0000 (+0200) Subject: wip X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=f1ba129b67bbb34cf8c20aa363a70c712d089090;p=aukio.git wip --- diff --git a/start.sh b/start.sh index 474d0b1..1202cdf 100755 --- a/start.sh +++ b/start.sh @@ -45,7 +45,15 @@ if [ "$MODE" = "fo4" ]; then mvn -f "$FO4/pom.xml" dependency:build-classpath -q -Dmdep.outputFile=target/cp.txt echo "==> starting Aukio 3D 2 with the Fallout 4 Commonwealth" cd "$FO4" + # G1 with 64 MB regions: a streaming world allocates hundreds of MB/s + # (textures, mesh blocks, GI epoch stores) that are "humongous" at the + # default 8 MB region size; each one starts a concurrent mark cycle. Measured + # on a 25 s flight at 1280x720 (verification/LiveFrameProbe.java): default + # regions p95 91-96 ms, worst 207-423 ms; 64 MB regions p95 89-92 ms, worst + # 141-203 ms. ZGC was measured and REJECTED — it halves the worst pause but + # raises p95 to 161-181 ms (concurrent work steals render threads). exec java -Xmx20g --enable-native-access=ALL-UNNAMED \ + -XX:+UseG1GC -XX:G1HeapRegionSize=64m \ -XX:+HeapDumpOnOutOfMemoryError \ -XX:HeapDumpPath="$HOME/.cache/aukio/heapdumps" \ -Daukio.fo4.lodRadius=64 \