[Linux/Wine] Dedicated Server
Maxunit
Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
<div class="IPBDescription">Is this performance good enough?</div>Heyo NS2 Community,
as the description says: Is this performance good enough?
<img src="http://www.vgunetwork.com/performance_small.jpg" border="0" class="linked-image" />
Server Info:
Ubuntu 10.04.02 LTS x64
Wine 1.4
4 x 2.7 Ghz
8 GB RAM
1 TB SATA HDD
There are 2 TF2 MvM Servers running next to the NS2 server and one TS3 Server and an Apache2 Web Server.
I think, it can be improved with shutting down the TF2 Servers, but I think that's the best i can squeeze out of my current linux box.
PS: Kudos to the creator from the Webinterface. It has the, in my opinion, required amount of features and works well. It feels clean and not bloated :D
as the description says: Is this performance good enough?
<img src="http://www.vgunetwork.com/performance_small.jpg" border="0" class="linked-image" />
Server Info:
Ubuntu 10.04.02 LTS x64
Wine 1.4
4 x 2.7 Ghz
8 GB RAM
1 TB SATA HDD
There are 2 TF2 MvM Servers running next to the NS2 server and one TS3 Server and an Apache2 Web Server.
I think, it can be improved with shutting down the TF2 Servers, but I think that's the best i can squeeze out of my current linux box.
PS: Kudos to the creator from the Webinterface. It has the, in my opinion, required amount of features and works well. It feels clean and not bloated :D
Comments
The majority of your tick rate is near the 20s, which will affect the players performance adversely. Plus this is on a 12? player server.
Sorry bro :/
Interestingly, everyone who I ask, says, that it is in a well acceptable range. I think I need to reduce the player size to something like 8 or maybe do something else. I don't want to try and overclock the server, since it is a rented server and I don't know what is allowed and what not in terms of contract.
I am well aware tho, that the ns2 dedicated server software is FAR from optimized and that it is not designed to run on a linux server with Wine emulating it :/
I hope this speeds up the entire Server a bit. Right now, I have no issues with managing the Server, since RCON and stuff even works using the WebInterface, which I prefer, instead of using a nonstop updating shell.
I figured out, that the Linux machine only assigned the CPU Type F to the NS2 Server, where F means: Dynamically any CPU, but only 1!
I then used taskset -p 03 *ProcessID* and assigned all 4 cores to the NS2 Server and now a 12 slot server runs with a tickrate of 25 - 30. It only drops for a second whenever someone joins or leaves.
Right now the NS2Dedicated uses up to 120% CPU usage acording to the command top, but that means, that it uses x% from Core 1, x% from Core 2 etc...
I figured out, that the Linux machine only assigned the CPU Type F to the NS2 Server, where F means: Dynamically any CPU, but only 1!
I then used taskset -p 03 *ProcessID* and assigned all 4 cores to the NS2 Server and now a 12 slot server runs with a tickrate of 25 - 30. It only drops for a second whenever someone joins or leaves.
Right now the NS2Dedicated uses up to 120% CPU usage acording to the command top, but that means, that it uses x% from Core 1, x% from Core 2 etc...<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks for the tip!
<img src="http://www.vgunetwork.com/performance_small2.jpg" border="0" class="linked-image" />
It was taken while 10 Players were on the Server
Performance stayed 30 until very late game but then it dipped as usual.
But I ask the players on my server on a regular basis about performance and lags and no reports so far of serious issues...only slight lags sometimes during late game.