Skip to main content
READY CHUNKGC BENCH // ATM10 NEOFORGE 1.21.1 (450+ MODS) BASELINE: 2026-10-05 | TARGET: SPARK MSPT <50MS (20 TPS) | JAVA 21 ZGC
MCATM10RAM
MCATM10RAM Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
ATM10 Fixes // ChunkGC Bench

Spark Profiler MSPT Audit: Pinpointing Sub-20 TPS Culprits

Stop guessing which mod caused a TPS drop—run a 60-second Spark tick filter to capture the exact Java method and chunk coordinates burning CPU time.

Measured ATM10 JVM & Spark Profile

ATM10 includes Spark natively. Filtering exclusively for ticks over 50 ms (--only-ticks-over 50) removes idle ticks from the flamegraph so even intermittent lag spikes stand out immediately.

Subsystem / SignalMeasured TargetOperational Impact
Ideal Baseline MSPT18 - 32 msZero perceptible lag at 20.0 TPS
Action Threshold> 45 ms sustainedRun /spark profiler before Watchdog triggers
Healthy GC Overhead< 3% of CPU timeVerified via /spark gc

Step-by-Step Triage & Config Remediation

  1. Check instant TPS & health: Run /spark tps and /spark health --memory to compare 5s/1m/15m MSPT and heap occupancy.
  2. Record slow-tick flamegraph: Run /spark profiler start --only-ticks-over 50 --timeout 60 during active player lag.
  3. Trace coordinates & mod ID: Open the generated flamegraph, inspect tickBlockEntities, and remove or throttle the offending loop.
/spark tps
/spark gc
/spark health --memory
/spark profiler start --only-ticks-over 50 --timeout 60

Diagnostic FAQ

Does running Spark itself cause lag?

Spark sampling adds <1% overhead during a 60-second window and turns off automatically when --timeout expires.

What if Spark shows high time inside native/sleep or GC?

High GC time points to heap sizing/G1GC issues, while unexpected stalls inside normal vanilla ticking often reflect noisy-neighbor CPU steal on shared hosts.

Related ATM10 Fixes Guides

MCATM10RAM: Match JVM heap + off-heap before deploy Launch UltaHost VDS