It appears that linux gmod servers don't run as well as windows gmod servers do on the same hardware. I've tried tons of different optimizations and the core (E5-2690) seems to average on 2% cpu usage per player, no matter what you do. The main reason the gmod server is hosted on linux is for iptables, where lots of packet filtering can take place.
So to get the best of both worlds, i was wondering if it'd be better to run a virtual server inside the vds, where only the gmod server would be running, or if it'd be possible to get another vds, and network the two so that all the traffic goes through the linux box, and the gmod server is hosted on the other vds, being windows.
If anyone has any insight behind optimizations on linux that make a noticeable difference, i'd be happy to try it.
VDS SRCDS Optimization on Linux
-
unidentified
- New to forums

- Posts: 3
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Apr 05, 2013 11:05 am
Re: VDS SRCDS Optimization on Linux
I also don't recommend hosting Garrysmod on Linux because its physics has always been glitched on that platform. Additionally, Garrysmod updates frequently break Linux installs.
If you're running a VDS, we have an excellent Firewall page that you can use to filter attacks, which gives you the best of both worlds. You can run Windows inside the VDS, capture attack traffic, and use the Firewall page to filter it.
If you're running a VDS, we have an excellent Firewall page that you can use to filter attacks, which gives you the best of both worlds. You can run Windows inside the VDS, capture attack traffic, and use the Firewall page to filter it.
-
unidentified
- New to forums

- Posts: 3
- Joined: Fri Apr 05, 2013 11:05 am
Re: VDS SRCDS Optimization on Linux
I've considered this but some of the features i use in iptables aren't available in the firewall page, such as state and logging.
Re: VDS SRCDS Optimization on Linux
I do not recommend state when running game servers, as connection tracking usually causes servers to become much more vulnerable to attacks. If you are dealing with attacks, it is also rarely needed to deal with them.
In terms of nested virtualization, that's not something I've tried. Theoretically it's possible, but not something that we officially support. You also might be better off trying Wine.
In terms of nested virtualization, that's not something I've tried. Theoretically it's possible, but not something that we officially support. You also might be better off trying Wine.
-
unidentified
- New to forums

- Posts: 3
- Joined: Fri Apr 05, 2013 11:05 am
Re: VDS SRCDS Optimization on Linux
It is possible to get a secondary VDS and network one through the other like i mentioned earlier? I might try the nested system but i'd rather just have 2 virtuals running instead.
Re: VDS SRCDS Optimization on Linux
You could likely set up a VPN or similar tunneling system to do that, yes. The OpenVPN server running on a Linux-platform VDS and client on a Windows one, for instance.
