*Before I get started on this please note that I am not exactly the most knowledgeable person when it comes to dedicated servers, I came from using pay for slot servers and now I am taking a learning curve, this is apart of that curve so please refrain from posting useless comments or criticising me on my knowledge. Thanks. *
Ok so I have scoured the internet for any information possible and gathered together some programmes, info and code to optimise my game server to perform in the best way possible.
I am currently using a server hosted by OVH, the MC-32 package including;
i7-4790k 4 cores/8 threads running at 4.0ghz to 4.4ghz
2nr 240gb SSD’s (RAID)
Using TCAdmin 2.0
What I host;**
I host 3 game servers on Garry’s Mod and 2 Teamspeak 3 servers on the same CPU, each gmod server has its own core (2 threads) and the ts servers are on the same core.
-GHalo (being made)
DarkRP roughly has around 30 players on at a time and has 45 playerslots, the server automatically restarts daily at 3AM every morning.
TTT has only just opened but continues to hold around 20 people at a time.
I would just like to note that I used to host a TTT server and a few TS’s back at the start of the year and they were running smoothly.
Also, All of the servers are set to “normal” priority
The Main Issue:
My main issue is that my DarkRP server has heavy lag spikes when there is over 20 players on the DarkRP server. The TTT server and TS’s are completely fine and have no issues.
The server tends to drop down to around 5fps as seen in one of the images below and when not lagging runs at around 60 fps.
After looking on the internet I done my research to find that Garry’s Mod uses 1 core maximum, which uses 2 threads, 1 for the servers physics side and 1 for the networking side.
What I am looking for;
I am looking for someone with past experience to help me figure out what could be causing this issue, just your comments below are helpful to me. I am not entirely clued up on dedicated machines as I have previously used pay for slots servers and they tend to have everything all sorted for the optimisation side of things.
I did have a look at upgrading the processor to a better one, here are the packages - http://www.crenox.net/6059z.png however I am unsure if this is a waste of my money. Financially this is not an issue for me, I just want to fix this issue
Please find below some screenshots;
Net_graph 4 image http://www.crenox.net/VG25t.png - The lag spike is at the bottom.
htop from SSH (PuTTY) http://www.crenox.net/Q908j.png
lag spike with SV FPS - http://www.crenox.net/YC50d.png
Prop limits for players - http://www.crenox.net/MY21e.png
server.cfg values - http://www.crenox.net/en13N.png
If there are any more questions that you will need answers to help me, please let me know. Thanks.
[editline]28th November 2016[/editline]
I also forgot to mention, with the HTOP programme that I installed on ubuntu. it shows that DarkRP is running 1 thread at 100% and TTT runs that thread at around 44%.