Some people are aware of this, some don’t.
Everyone knows: you are building an awesome contraption. When its finished, you unfreeze it and your framerate drops horribly and it starts to lag.
“But i have an i7 quad core with 8 Gb RAM and a 500 bucks gfx card!!??”
This is why: Garry’s Mod only uses 1 core of your CPU. That is quite a shame, if you have a quad or even an octo (8) core processor. It will never use your full CPU power, it just picks a core randomly and use it.
For people that dont really understand i am talking about, here is an analogy:
You are hungry and ordered a pizza. You slice it in 4 pieces and eat one piece. Although you are still very hungry, you throw the other 3 slices in the trash bin.
Anyways, how do we make garry’s mod use all your cores? We can’t. Well there launch command lines you can use, but it is very unstable and gmod will most likely crash.
So how do we work around this?
We set up a Dedicated Server. How to do it? Follow this tutorial: http://wiki.garrysmod.com/?title=Windows_Dedicated_Server_Setup
Once you have setup the sever, you will have to join it via garry’s mod. Do this by typing this in console: connect 192.168.X.XXX:27015 where the x’s are being replaced by your machines IP number. 27015 is the default port, but may be diffrent depending on your settings. This is in a LAN. If you are not in a lan: connect 127.0.0.1:27015.
Valve’s dedicated server software uses all the cores of a CPU. This means basicly that your large contraptions won’t start lagging due to the amount of props. This is because the physics engine will be running on the server software instead of the client.
The only disadvantage you will have is Latency. It will be around 1 to max 10.
Anyways, i hope i contributed with this post. Please don’t ask questions about how to setup a server here, please go to the appropiate forum for that.