Optimizing your rust server

REMOVING PLUGINS

The biggest improvement for most server owners will come from removal of poorly optimized/resource-consuming plugins. Any experienced Rust server owner or plugin developer will tell you, a plugin that is seemingly lightweight can completely destroy your server's performance if it is written poorly. Through the use of our best judgement and tools like Performance Monitor (see previous section), we can clean up our plugin list. Remember, the more plugins you have, the more of a performance overhead your server is going to have. This, of course, compounds with player counts.

OPTIMIZING PLUGINS

Some plugins have performance-tuning settings such as timers and intervals.

DISABLING AI MOVEMENT

You may notice that on large servers that you've played on, animals do not move/fight back. This is because ai.think has been set to 0. This appears to have a notable impact on server performance, particularly when the player count is high and players are consistently in proximity of animals.

INCREASE THE SERVER SAVE INTERVAL

Adjusting server.saveinterval to be of a higher value will reduce the frequency of saves, which will help if you have a large save file and experience a stutter. Although we run our servers with SSD/NVMe storage, an extremely large save file will be prone to stutters.

UPKEEP SETTINGS

Adjusting these settings to result in faster decay will undeniably increase your server's performance by reducing the amount of unused entities (bases) on the map.

Increasing the decay rate or upkeep for bases on your server can be quite a large impact regarding a performance gain depending on your regular population or entity count for each wipe. I’d definitely consider this tip if you run a server with higher gather rates as once players build bases and leave and don’t return for the rest of the wipe it will make it so that bases won’t clutter your map near as much. There are a handful of plugins to assist you with this on Umod, however, using native commands is always the most optimal way of operating a server with minimal overhead.

Below are some example commands that you can use to eliminate inactive or ‘trash’ bases on your map to help decrease the entity count.

decay.duration_twig “0.5” Default is 1
decay.duration_wood “0.8” Default is 1
decay.upkeep_period_minutes “500” Default is 1440 (24 hours)

You can replace “twig” or “wood” with stone, metal, or toptier depending on which build grade you wish to increase the decay for.

DAILY RESTARTS

Daily restarts can improve server performance. You can schedule a restart by editing the configuration file "restart scheduler" from the server configuration panel in the "config files" section. Once this file has been modified, validate by clicking on the "set scheduled restarts" icon on the main page of the control panel.

MAP SIZE

Using reasonable map sizes can not only decrease your server’s boot time but also your server and player’s FPS as it’s having to manage fewer entities. For example, running a 5k map won’t be wise if you only retain about 10-20 players. You want a map that will have at least occasional player interaction to help increase your population as well as performance! maybe start off with a 2-3k map!

You can define map size in the server.cfg file with the server.worldsize setting

 

Disabling Chickens

As simple as it sounds, disabling chickens is a fast and easy way to have 1 less thing your server has to manage or calculate for. Since chickens aren’t commonly seen in the wild, nor yield many resources it’s not a bad idea to just purge them!

To disable chickens type the following command within rust admin, to eliminate them entirely (even after restarts) add the command to your config:

chicken.population "0"
  • 4 Los usuarios encontraron esto útil
¿Le ha resultado útil esta respuesta?

Artículos relacionados

Basic configuration (server name, rcon password etc)

To change the configuration you must edit the server\RoxServers\cfg\server.cfg file:...

Direct connect

Searching a rust server in the server list can be quite long but it is possible to connect to a...

Installing Oxide plugins

To begin with you must have installed oxide from the control panel> mods & plugins (or...

Add an admin

Usted necesitará su steamid64. Para encontrarlo no es muy complicado, copie la url (dirección...

Using Oxide's permission system

These commands are all run through admin or (for rust only) rcon connection with Rust Admin (So...