Spark is a tool used by many people to receive a detailed breakdown of their server’s performance. It’s usually used to find out what is causing the server to lag or lose performance. At first, it might seem complicated, but in this article, we will explain how to use and understand it.
Head over to your Game Panel or join your server.
Type ‘/spark profiler open’ to open Spark’s performance report of your server.
A link will appear, which you will have to click to see the report.
After clicking on the link, you will be presented with a graph and performance data of your server.
The numbers at the top of the Report showcase the TPS (Ticks per second), MSPT (Milliseconds per tick), CPU process percentage, Memory usage, and CPU system percentage.
If the average TPS of your server is above 18, then the server isn’t experiencing any continuous lag.
If your MAX MSPT value is above 50, it means that your server is experiencing significant lag. If you want to reduce lag, then check this article about optimizing your server:
How to Optimize Your Minecraft Server
This article provides you with useful information on how to optimize your minecraft server to perform better.
The graph in the middle displays fluctuations in the values shown below the graph. When you hover over the graph, you will see how many entities or chunks are currently on the server. This graph allows us to identify the causes of lag, like high entity count or too many chunks loaded.
When you scroll down to All View, you can see which processes are using the most of the server thread. This can be used to find what entity is causing the server to lag. It could be, for example, the cow entity.
If you have any plugins or mods installed on the server, there will be a plugins/mods tab visible.
In the plugins/mods tab, you can see which plugin or mod is consuming the most of the server thread. This can help you identify and remove any heavy mods to reduce lag.
If you are done viewing the Spark’s timing reports, then type ‘/spark profiler stop’ to stop the profiler.
Congratulations, you now understand how to use Spark and understand its timing reports. If you have any issues or questions, please contact us through the ticket system.