How to optimize your Garry’s Mod server for better performance
Resource Recommendations
Server Size | RAM | CPU | Recommended Player Count |
---|---|---|---|
Small | 4GB | 2 Cores | Up to 16 players |
Medium | 8GB | 4 Cores | Up to 32 players |
Large | 16GB+ | 6+ Cores | 32+ players |
Parameter | Description | Recommended Value |
---|---|---|
-tickrate | Server tick rate | 66 (default) or 100 for better hit registration |
+maxplayers | Maximum player slots | Based on your server capacity |
-authkey | Workshop authentication | Required for workshop content |
-disableluarefresh | Prevents constant Lua refreshing | Recommended for performance |
-softrestart | Allows cleaner restarts | Recommended for stability |
server.cfg
file contains important settings that affect server performance:
sv_parallel_packentities
and sv_parallel_sendsnapshot
settings utilize multi-threading capabilities in the Source engine, which can significantly improve performance on multi-core systems.darkrp_config/settings.lua
: