Server Performance: Difference between revisions

Content added Content deleted
m (category)
m (adding category)
Line 1: Line 1:
Server performance tips for optimizing setups, similar to what [[Low End PCs]] does for clients.
[[Category:Multiplayer]][[Category:Guides]]
This page will house server performance tips similar to [[Low End PCs]] does for clients.


== Mods ==
== Mods ==

* Make sure fastcraft is enabled (it isn't included in the server download but you can find it in the client)
* Make sure fastcraft is enabled (it isn't included in the server download but you can find it in the client)
* Optifine is client only - make sure it's not loaded on the server
* Optifine is client only - make sure it's not loaded on the server


== Lag ==
== Lag ==
You can use <code>/xu_tps</code> on the client (type it in chat) to see if the server is experiencing ''tick 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 <code>/xu_tps</code> is based on the connection between client and server, so the numbers could be impacted if you have high latency to the server. The 3 pairs of numbers 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. The example below shows a 30.30ms tick, and a drop to 7.84 TPS at some point in the last 100 ticks (roughly 5 seconds).
You can use <code>/xu_tps</code> on the client (type it in chat) to see if the server is experiencing ''tick 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 <code>/xu_tps</code> is based on the connection between client and server, so the numbers could be impacted if you have high latency to the server. The 3 pairs of numbers 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. The example below shows a 30.30ms tick, and a drop to 7.84 TPS at some point in the last 100 ticks (roughly 5 seconds).


[[File:Xu tps.png|frameless|664x664px]]
[[File:Xu tps.png|frameless|664x664px]]
Line 21: Line 19:


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 provider.
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 provider.

[[Category:Multiplayer]][[Category:Guides]][[Category:Troubleshooting]]