Barrel
Member
Executive Summary
Fast/Stable Connections
1. Use the 64-bit beta2. Put the following in your
autoexec.cfg
:
Code:
cl_interp_ratio 1
cl_interp 0
rate 2097152
cl_updaterate 66
cl_cmdrate 66
Slow/Unstable Connections
1. Use the 64-bit beta2. Put the following in your
autoexec.cfg
:
Code:
cl_interp_ratio 2
cl_interp 0
rate 2097152
cl_updaterate 66
cl_cmdrate 66
Identifying Optimal Settings
You can use net_graph 4 to assist with identifying your optimal settings, especially to find what your optimal cl_interp_ratio is.
An example of minimal interpolation occurring to correct packet loss/choke

An example of noticeable interpolation occurring to correct packet loss/choke. Consistently seeing this would suggest your interp ratio is too low.
Command Explanations
Enabling 64-bit
Enabling the 64-bit beta branch will improve performance in various ways, including allowing Garry's Mod to use more RAM and taking advantage of multicore rendering.To enable this, go to your Steam library > Garry's Mod > Properties > Betas > x86-64 - Chromium + 64-bit binaries.
Rate Optimizations
rate 2097152
to maximize the amount of bandwidth Garry's Mod can use, which will help reduce lag/stuttering especially during events with a large amount of updates (e.g. C4 explosions).cl_cmdrate 66
will maximize how many commands your client sends to the server. Helpful for reducing delay between an action happening on your screen and it making its way to the server.cl_updaterate 66
will maximize how many updates your client receives from the server. Helpful for reducing prediction errors because your client will be synced up with the server as best as it can be.Interpolation Optimizations
cl_interp_ratio 1
can reduce your effective latency by about 15 ms, if you have a stable connection to the server. The trade-off here is that if you have packet loss or if there are bursts of lag (e.g. C4 explosions), other players will appear more jittery due to the reduced lookback window for interpolation smoothing.cl_interp 0
will have Garry's Mod default to the interpolation delay specified by cl_interp_ratio
. I could not find any reason for setting this to anything other than 0 in my research.Editing autoexec.cfg
Many of these commands do not persist past the life of each Garry's Mod process, so they will need to be added to your autoexec.cfg. To do this,1. Go to your
Steam library > Garry's Mod > Properties > Installed Files > Browse...
2. Navigate to
garrysmod > cfg
3. Open
autoexec.cfg
with a text editor of your choice (Notepad is more than enough)4. Copy and paste the commands on a new line in the config.
Last edited: