[Linux/Wine] Dedicated Server

MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
edited November 2012 in Server Discussion
<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

Comments

  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    Whoah unfortunately, that is not a good server performance graph.

    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 :/
  • MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
    Yea, this is a 12 slot server right now.

    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 :/
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    Unfortunately... UWE has mentioned that Linux server support will come quite a bit after the official release of v1.0. Think they're concentrated more on fixing game client issues for now :)
  • MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
    I'm in the process of upgrading to a 3.3 Ghz Ivy Bridge CPU right now, specificly the Intel® Xeon® E3-1230v2 and instead of 8 GB Memory it will be 16 GB.

    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.
  • MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
    edited November 2012
    An update on this topic:

    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...
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    <!--quoteo(post=2009444:date=Nov 4 2012, 01:04 PM:name=Maxunit)--><div class='quotetop'>QUOTE (Maxunit @ Nov 4 2012, 01:04 PM) <a href="index.php?act=findpost&pid=2009444"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->An update on this topic:

    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!
  • MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
    edited November 2012
    Just to show the new performance graph, here it is (derp):

    <img src="http://www.vgunetwork.com/performance_small2.jpg" border="0" class="linked-image" />

    It was taken while 10 Players were on the Server
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    <!--quoteo(post=2009448:date=Nov 4 2012, 01:07 PM:name=Zaggy)--><div class='quotetop'>QUOTE (Zaggy @ Nov 4 2012, 01:07 PM) <a href="index.php?act=findpost&pid=2009448"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Thanks for the tip!<!--QuoteEnd--></div><!--QuoteEEnd-->

    Performance stayed 30 until very late game but then it dipped as usual.
  • MaxunitMaxunit Join Date: 2005-02-01 Member: 39414Members, Reinforced - Shadow
    edited November 2012
    The Performance Dip at the late game is on any server, where I checked with net_stats. Either those Servers I checked, were slow as well or it is a common issue, unless you really have a highly overclocked cpu and run windows to have physx running as well.

    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.
Sign In or Register to comment.