Server Performance: Difference between revisions

From GT New Horizons
Content added Content deleted
m (completed xu_tps command description and added cofh tps command description.)
(added warmroast page link)
Line 14: Line 14:


* Opis
* Opis
* Warmroast
* [[Warmroast]]
* Plan Plugin
* Plan Plugin



Revision as of 19:42, 15 November 2021

This page will house server performance tips similar to Low End PCs does for clients.

Mods

  • Make sure fastcraft is enabled (it should be in the server download but may need a rename to .jar)
  • Optifine is client only - make sure it's not loaded on the server

Lag

You can use /xu_tps on the client (type it in chat) to see if the server is experiencing tic lag – if the numbers are consistently red you have an issue. If they're continually white, but you're getting lag, you may have FPS lag – see Low End PCs for client performance tips. Keep in mind that /xu_tps is based on the connection between client and server, so the numbers could be impacted if you have a high latency with the server. The 3 pairs of nombers are respectively the instantaneous ticktime, the rolling average ticktime over the last 100 game ticks, and the worst tick time over the last 100 ticks. Numbers in parentheses correspond to the equivalent in TPS.

You can use the command /cofh tps <parameter> to see the tick time/TPS. If the parameter is ommited, it'll display the data for all the dimensions (beware of chat spam). If you use o as a parameter, it will just display the overall ticktime and TPS of the server. a will do the same as o but it will in addition to that gives the amount of loaded dims/chunks/tile entities/entities. You can also specify a dimension id as a parameter, and it will give you the ticktime consumed by the dimension. Becareful of the TPS given for every dim displayed by this command, as it's a value to give you an idea of the server load in term of TPS if that dim was the only dim running on the server. Minecraft doesn't multithread the dimensions, so when TPS are decreasing, it's for all the dimensions.

You can use various profiling tools to find lag. Some of the most popular are:

Some are mods you install into the server (and client); others are programs that run on the server. Not all may be available to you depending on your server setup.