
spark
spark is a performance profiler for Minecraft clients, servers and proxies.
Über diese Mod

spark is a performance profiler for Minecraft clients, servers and proxies.
Useful Links
- Website - browse the project homepage
- Documentation - read documentation and usage guides
- Downloads - latest plugin/mod downloads
spark is proudly sponsored by .
What does spark do?
spark is made up of three separate components:
- CPU Profiler: Diagnose performance issues.
- Memory Inspection: Diagnose memory issues.
- Server Health Reporting: Keep track of overall server health.
⚡ CPU Profiler
spark's profiler can be used to diagnose performance issues: "lag", low tick rate, high CPU usage, etc.
It is:
- Lightweight - can be ran in production with minimal impact.
- Easy to use - no configuration or setup necessary, just install the plugin.
- Quick to produce results - running for just ~30 seconds is enough to produce useful insights into problematic areas for performance.
- Customisable - can be tuned to target specific threads, sample at a specific interval, record only "laggy" periods, etc
- Highly readable - simple tree structure lends itself to easy analysis and interpretation. The viewer can also apply deobfuscation mappings.
It works by sampling statistical data about the systems activity, and constructing a call graph based on this data. The call graph is then displayed in an online viewer for further analysis by the user.
There are two different profiler engines:
- Native
AsyncGetCallTrace+perf_events- uses async-profiler (only available on Linux x86_64 systems) - Built-in Java
ThreadMXBean- an improved version of the popular WarmRoast profiler by sk89q.
⚡ Memory Inspection
spark includes a number of tools which are useful for diagnosing memory issues with a server.
- Heap Summary - take & analyse a basic snapshot of the servers memory
- A simple view of the JVM's heap, see memory usage and instance counts for each class
- Not intended to be a full replacement of proper memory analysis tools. (see below)
- Heap Dump - take a full (HPROF) snapshot of the servers memory
- Dumps (& optionally compresses) a full snapshot of JVM's heap.
- This snapshot can then be inspected using conventional analysis tools.
- GC Monitoring - monitor garbage collection activity on the server
- Allows the user to relate GC activity to game server hangs, and easily see how long they are taking & how much memory is being free'd.
- Observe frequency/duration of young/old generation garbage collections to inform which GC tuning flags to use
⚡ Server Health Reporting
spark can report a number of metrics summarising the servers overall health.
These metrics include:
TPS - ticks per second, to a more accurate degree indicated by the /tps command
Tick Durations - how long each tick is taking (min, max and average)
Memory Usage - how much memory is being used by the process
Disk Usage - how much disk space is free/being used by the system
As well as providing tick rate averages, spark can also monitor individual ticks - sending a report whenever a single tick's duration exceeds a certain threshold. This can be used to identify trends and the nature of performance issues, relative to other system or game events.
Usage
To install, just add the .jar file to your mods directory.
Information about how to use commands can be found in the docs.
If you’d like help analysing a profiling report, or just want to chat, feel free to join us on Discord.
Guides
There are a few small "guides" available in the docs, covering the following topics.
Verfügbare Versionen
spark auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
fabric Loader setzen
Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (26.2).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "spark". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
26.2, 26.1.2, 26.1.1 (+30 weitere)
Server-seitig
~ OptionalEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
spark Server crasht beim Start – was tun?
Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist spark mit fabric und forge und neoforge und quilt kompatibel?
spark unterstützt offiziell fabric, forge, neoforge, quilt für Minecraft 26.2, 26.1.2, 26.1.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit spark – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob spark den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere spark mit nur einem Klick auf deinem Server.