Use Spark to Profile a Server

The best way to determine the cause of lag is to profile the server while the lag is happening. Some modpacks include the Spark mod. If the modpack you're using does not, you can add it to your server.

Once it is on the server, follow these directions:

  1. Use the command: /spark profiler
  2. Wait 30 seconds
  3. Use the command: /spark profiler --stop
  4. Send support the link that it provides.

If you'd like information on how to read the information in that link, see their documentation.

Sometimes a single profile won't find the cause of the lag because maybe the lag is happening in spikes instead of constantly. In that case, you'd want to follow Spark's documentation on finding lag spikes.


Did this page help you?