Server Specs

syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
edited September 2012 in Server Discussion
<div class="IPBDescription">Post your server setup, slotcount and stable tickrate</div>I am trying to get some information on what setup/hardware people are using on their servers. I was originally going to e-mail the skulkrush guys to see what they ran but I figured it could be useful generally.

If anyone can post (especially anyone running a high slot 30-tickrate stable server) could post what their setup is that would be great.

Ideally looking for (<b>example</b>):

<b>CPU</b>: i7 2600k @ 4.8Ghz
<b>RAM</b>: 16GB DDR3
<b>OS</b>: Windows server 2008 R2 (64bit)
<b>Virt</b>: Bare-metal/ESXi/Hyper-V (virtualization used [if any])
<b>Servers</b>: 2
<b>Slots</b>: 22
<b>Tickrate Dropoff</b>: 18 players (at what point does the tickrate drop from 30)
«1

Comments

  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    edited September 2012
    <b>CPU</b>: Opteron 6276 2x2.3Ghz
    <b>RAM</b>: 8GB DDR3
    <b>OS</b>: Windows server 2008 R2 (64bit)
    <b>Virt</b>: ESXi 5.0
    <b>Servers</b>: 1
    <b>Slots</b>: 12
    <b>Tickrate Dropoff</b>: 6 players
    <b>Other</b>: Server in Bluesquare Lodon, exclusive RAM allocation, high priority CPU allocation, dedicated cores (non-shared)
  • WarboyWarboy Join Date: 2012-09-05 Member: 157929Members, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited September 2012
    CPU: 2x Xeon E5430
    RAM: 4GB FB-DDR2
    OS: Windows server 2012 (64bit)
    Virt: None
    Servers: 1
    Slots: 18
    Tickrate: Min: 26, Avg: 29, Max: 33

    Location: My house, lol. SouthWest, Michigan, USA [East Coast]
  • invTempestinvTempest Join Date: 2003-03-02 Member: 14223Members, Constellation, Squad Five Blue
    All NS2Servers.com hosted ones run on the following:

    CPU: Sandy Bridge Core i5 2500k @ 4.4 Ghz
    RAM: 8GB DDR3 @ 1600 Mhz
    OS: Windows server 2008 R2 (64bit)
    Servers: 3
    Slots: 18-22
    Tickrate: Min: mid 20's (only for extremely long games), Avg: 30, Max: 30

    The All-In servers are running on an Ivy bridge setup from NS2Servers.com which runs the following:

    CPU: Ivy Bridge Core i5 3570k @ 4.3 Ghz
    RAM: 8GB DDR3 @ 1600 Mhz
    OS: Windows server 2008 R2 (64bit)
    Servers: 3
    Slots: 20-24
    Tickrate: Min: mid 20's (only for extremely long games), Avg: 30, Max: 30
  • falcfalc Join Date: 2011-03-18 Member: 87128Members
    edited September 2012
    <b>CPU:</b> Sandy Bridge i7 2600 @ 3.4 - 3.8GHz (2 Cores for the VM)
    <b>RAM:</b> 16GB DDR3 @ 1333 MHz (4GB for the VM)
    <b>OS:</b> Windows Server 2008 R2 (64bit)
    <b>Virt:</b> Paravirtualized, KVM on Ubuntu 12.04
    <b>Servers:</b> 1
    <b>Slots:</b> 16
    <b>Tickrate:</b> Min: 20, Avg: 27, Max: 30
  • MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
    Don't just say DDR3, mention the clock (timings don't matter that much).
  • Cee Colon SlashCee Colon Slash Join Date: 2012-05-25 Member: 152581Members
    edited September 2012
    This isn't a server, per se. This is my regular PC and I decided to start a server:

    CPU: Intel i5 2400 @ 3.10GHz
    RAM: 8GB
    OS: Windows 7 Ultimate 64-bit
    HDD: Adata S510 SSD
    GFX: NVIDIA GeForce GTX 550 Ti
    Servers: 1
    Slots: 12
    Tickrate: I don't have anything fancy to track this, but for most of the game it was 29-30, it dipped to 20 and never really exceeded 30. Also note I was playing, it wasn't dedicated.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    The Team156 and 420 servers are running on this hardware:
    <b>CPU:</b> Ivy Bridge i5 3570k @ 4.4GHz
    <b>RAM:</b> 8GB DDR3
    <b>OS:</b> Windows Server 2008 R2 (64bit)
    <b>Servers:</b> 3
    <b>Slots:</b> 22
    <b>Tickrate:</b> Min: ~20, Avg: 25-30, Max: 30
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    <!--quoteo(post=1972260:date=Sep 5 2012, 11:26 PM:name=Warboy)--><div class='quotetop'>QUOTE (Warboy @ Sep 5 2012, 11:26 PM) <a href="index.php?act=findpost&pid=1972260"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->CPU: 2x Xeon E5430
    RAM: 4GB FB-DDR2
    OS: Windows server 2012 (64bit)
    Virt: None
    Servers: 1
    Slots: 18
    Tickrate: Min: 26, Avg: 29, Max: 33

    Location: My house, lol. SouthWest, Michigan, USA [East Coast]<!--QuoteEnd--></div><!--QuoteEEnd-->

    Is that tickrate info on a full server?

    I'm curious, how is it a 8x2.66Ghz with 4GB RAM performs so much better than a VM running 4x2.30Ghz and 8GB RAM. Is it the virtualization? The 0.33Ghz CPU difference? The difference between Server 2008 R2 and Server 2012?

    Can anyone enlighten me ?
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    How many vCpu's have you assigned to the server? If you've set it to 4, check your co-stop values in esxi to make sure you don't have contention issues. Also yours is an AMD, and his an intel, so it doesn't compare in pure clockspeed.

    And how can we compare tickrate with a basic min/avg/max?

    Tickrate is a value that is set to a maximum of 30, anything over that is either a bug, or just poor measuring by the gamecode. Any time your tickrate goes below 30, it means one of two things.

    #1 There was a small overload in processing that your server had to do, and it caused a small very brief drop to around 26-30.
    #2 Your cpu has hit 25%, and has now been forced to cause real game code to wait for the cpu to become free, which will slow everything down.

    With that in mind, measuring "tickrate" is kind of meaningless, what would be more valuable is measuring at what point does your tickrate start to decline (because it will ALWAYS decline if you push it too far). This would require an easy and reproducible method of inducing the exact same load on a server, to get reliable measurements from it, and as far as I know there isn't one yet.

    With the above said, here is the server running monash:

    CPU: intel i5 2500K @ 4.9ghz
    RAM: 8GB@1600
    OS: Win 2008 R2
    Servers: 3
    Slots: 24/18/18
    Tickrate: i
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    edited September 2012
    Originally 1/4 Now trying 2/2 vCpu's.
    Co-stop 0%, 0~10ms
    True, however would you expect as much difference as I am seeing?

    I am simply trying to find out if the tickrate is capped (and if not, what it is) when the server is full. Probably should have specified 'when full tickrate'.
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    edited September 2012
    by 1/4 you mean 1 socket 4 cores?

    Set it to 2 cores or sockets (for a total of 2), at least for testing purposes, there's no reason to give any more than two cores to server.exe

    And no, it really shouldn't make that much difference, but it will make some.

    And even saying "when full" still means nothing. If you had a server of 16v16, all standing around doing nothing, you could have 30 tickrate, while a 8v8 with extreme building going on, could cause a drop into the 20's or lower.
    The tickrate should never really be allowed to drop below 30, except in the rarest of cases. If your tickrate is consistently dropping below 30 (for long periods), then you should just lower the playercount.

    edit: And as to whether or not the rickrate is capped, yes it definitely is! It's capped at 30. Any readings over 30 are most likely a bug or a false reading.
  • falcfalc Join Date: 2011-03-18 Member: 87128Members
    <!--quoteo(post=1972666:date=Sep 6 2012, 12:19 PM:name=endar)--><div class='quotetop'>QUOTE (endar @ Sep 6 2012, 12:19 PM) <a href="index.php?act=findpost&pid=1972666"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->With that in mind, measuring "tickrate" is kind of meaningless, what would be more valuable is measuring at what point does your tickrate start to decline (because it will ALWAYS decline if you push it too far). This would require an easy and reproducible method of inducing the exact same load on a server, to get reliable measurements from it, and as far as I know there isn't one yet.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Something like this would be indeed nice to have.
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    edited September 2012
    1 socket 4 cores (previously); currently 2 sockets 2 cores.

    I will reduce to 2/1 and see if it makes any difference, although I will be unable to test until later tonight.

    My apologies for not clarifying; I meant if the tickrate is capped (i.e. is a constant 30; which is the current cap/maximum) not if there was such a cap. You are correct, it is probably not the best measure of server performance. What would you suggest instead?

    Out of curiosity what slotcount would you recommend on my VM and would you recommend setting up separate VMs for new servers or running several servers one the one VM with affinity's for each process?

    Edit: Updated original posts to specify 'tickrate dropoff'
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    Why are you running it in the VM? If the server is dedicated exclusively to running an NS2 server, its an additional overhead you don't really need.

    And as a method to measure server performance, all I can offer is the theoretical model of what I believe it should be, but I have no idea how to create such a thing.

    If only we had a player who was good at coding for the ns2 engine. We'd also need a player who has some free time on his hands since UWE are now taking over development of the admin system.

    That's right, I know you're reading this. Chop chop!
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    You want me to dedicate a 4 socket x 16core x 2.3Ghz blade with 256GB RAM to just running one NS2 server? o.O

    2/1 vCpu setup seems to have lower C-stop: Min: 0ms / Avg: 1~2ms / Max: 4ms however this is without significant load.

    Suggestions for slotcount?
  • falcfalc Join Date: 2011-03-18 Member: 87128Members
    edited September 2012
    <!--quoteo(post=1972726:date=Sep 6 2012, 02:29 PM:name=syserror)--><div class='quotetop'>QUOTE (syserror @ Sep 6 2012, 02:29 PM) <a href="index.php?act=findpost&pid=1972726"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You want me to dedicate a 4 socket x 16core x 2.3Ghz blade with 256GB RAM to just running one NS2 server? o.O

    2/1 vCpu setup seems to have lower C-stop: Min: 0ms / Avg: 1~2ms / Max: 4ms however this is without significant load.

    Suggestions for slotcount?<!--QuoteEnd--></div><!--QuoteEEnd-->

    The problem with NS2 is, that the slot count depends on the cpu clock speed, since the server process will spread the work to just a few threads and one of them doing almost 90-95% of the work. So 2.3 GHz is a pretty limiting factor, here

    <!--quoteo(post=1972724:date=Sep 6 2012, 02:24 PM:name=endar)--><div class='quotetop'>QUOTE (endar @ Sep 6 2012, 02:24 PM) <a href="index.php?act=findpost&pid=1972724"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->If only we had a player who was good at coding for the ns2 engine. We'd also need a player who has some free time on his hands since UWE are now taking over development of the admin system.

    That's right, I know you're reading this. Chop chop!<!--QuoteEnd--></div><!--QuoteEEnd-->

    +1
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    <!--quoteo(post=1972726:date=Sep 6 2012, 11:29 PM:name=syserror)--><div class='quotetop'>QUOTE (syserror @ Sep 6 2012, 11:29 PM) <a href="index.php?act=findpost&pid=1972726"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You want me to dedicate a 4 socket x 16core x 2.3Ghz blade with 256GB RAM to just running one NS2 server? o.O

    2/1 vCpu setup seems to have lower C-stop: Min: 0ms / Avg: 1~2ms / Max: 4ms however this is without significant load.

    Suggestions for slotcount?<!--QuoteEnd--></div><!--QuoteEEnd-->
    Don't dedicate it for one NS2 server! Run 60 of them!

    In all seriousness, i guess its hard to answer since up until this point in NS2, every server has been pushing every advantage possible to squeeze extra performance, and that includes dropping the hypervisor. But hopefully that should be changing soon. I don't have any experience running gameservers in VM, I guess thats how all the large providers operate though? I'm going to leave this answer to someone more qualified.
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    I know it is how at least 2 UK GSPs work, but more than that I cannot answer.
  • WarboyWarboy Join Date: 2012-09-05 Member: 157929Members, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited September 2012
    <!--quoteo(post=1972652:date=Sep 6 2012, 05:39 AM:name=syserror)--><div class='quotetop'>QUOTE (syserror @ Sep 6 2012, 05:39 AM) <a href="index.php?act=findpost&pid=1972652"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is that tickrate info on a full server?

    I'm curious, how is it a 8x2.66Ghz with 4GB RAM performs so much better than a VM running 4x2.30Ghz and 8GB RAM. Is it the virtualization? The 0.33Ghz CPU difference? The difference between Server 2008 R2 and Server 2012?

    Can anyone enlighten me ?<!--QuoteEnd--></div><!--QuoteEEnd-->


    Intels are faster clock per clock then AMDs. Also I'm not using VMs at all.

    I host a few servers within 1 OS. It hosts a Website, a Minecraft 1.3.2 Server, 3 TF2 MvM Servers and the NS2 Server.

    I assign cores to the servers properly. I use the last 2 cores for NS2. So NS2 isn't sitting on a core being shared with another server or on the primary 2 cores that are mainly used for the OS. So the ticks can be higher. I don't often see them go above 30 ticks tho. I hope once the dedicated server software is finalized for 1.0, that it uses 66 ticks. Because I notice once I drop below 25ish ticks, it started to cause everyone to lag really bad and shutter.
  • ScrajmScrajm Join Date: 2011-10-17 Member: 127859Members
    CPU: i7 2600k @ 4.4Ghz
    RAM: 8GB DDR3
    OS: Windows server 2008 R2 (64bit)

    Its stable @ 30 ticks. Haven't stress tested if for some time, but a few builds ago it could handle 3 full loaded servers easily, 8v8 if I remember correctly. Perhaps it will be able to handle 4 servers now. Haven´t tried though.
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    edited September 2012
    Just came across a FR server today with a solid 30 tickrate, no choke (according to net_stats) a constant ping of less than 30ms, no players with a ping over 120ms (only 2 players over 40ms) and yet people were jittering around all over the place. Other people experienced the same thing.

    What would be the cause of that? Is there more to performance than low latency/loss/choke, high tickrate/fps?
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    edited September 2012
    Was the tickrate exactly 30 (29.9x - 30.x ) or 28.44444 or something like that? There are some tickrate bugs in the game. You also might want to watch the "updates received" in addition to the tickrate. It's usually around 19-21 for normal servers.
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    The tickrate was 'exactly' 30, although I don't recall what the "updates received" was -- is this due to running out of bandwidth (i.e. on a home connection) ?
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    Exactly 30 is a problem, it should hover around 30 (29-31), but never sit at exactly 30 for more than a couple of seconds. Whats your upload speed? As that is normally what gets maxed out first from a home connection.
  • syserrorsyserror Join Date: 2007-08-09 Member: 61840Members, Constellation, Reinforced - Shadow
    It's not my server -- just one I was playing on. I was just interested since the tickrate was a constant 28~31 (which is why I said 'exactly' to use Dghelneshi's use of the word) according to net_stats and there was no choke. Pings were also below 45ms for all players bar 2 (who had ~100ms pings) yet the game seemed very laggy -- instead of players smothly moving around they would 'jitter' from point to point.
  • TermFragsTermFrags Tampa, FL Join Date: 2012-08-30 Member: 156877Members, NS2 Playtester
    <!--quoteo(post=1974485:date=Sep 9 2012, 11:47 AM:name=syserror)--><div class='quotetop'>QUOTE (syserror @ Sep 9 2012, 11:47 AM) <a href="index.php?act=findpost&pid=1974485"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->It's not my server -- just one I was playing on. I was just interested since the tickrate was a constant 28~31 (which is why I said 'exactly' to use Dghelneshi's use of the word) according to net_stats and there was no choke. Pings were also below 45ms for all players bar 2 (who had ~100ms pings) yet the game seemed very laggy -- instead of players smothly moving around they would 'jitter' from point to point.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I've noticed a very similar symptom with my server if it has not had a restart in a few days. Last night it was happening, 3 days with no restart. A couple of All-In guys came in and said my server was ###### and that everyone should leave (lol, what). After the round was over I told everyone I was doing a quick restart to resolve the problem. After the restart, everyone rejoined and it was running smooth as ever, no more jitters. Since then I have added a cron to restart the server every day early in the morning. I think it needs a quick restart to solve this problem. That's all.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1974665:date=Sep 9 2012, 05:44 PM:name=TermFrags)--><div class='quotetop'>QUOTE (TermFrags @ Sep 9 2012, 05:44 PM) <a href="index.php?act=findpost&pid=1974665"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I've noticed a very similar symptom with my server if it has not had a restart in a few days. Last night it was happening, 3 days with no restart. A couple of All-In guys came in and said my server was ###### and that everyone should leave (lol, what). After the round was over I told everyone I was doing a quick restart to resolve the problem. After the restart, everyone rejoined and it was running smooth as ever, no more jitters. Since then I have added a cron to restart the server every day early in the morning. I think it needs a quick restart to solve this problem. That's all.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Daily restarts are a good idea for pretty much any type of game server.
  • MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
    Is NS2's internal clock in 32-bit float? After several hours of server running float precision might become so low that delta time for frame has significant errors.

    As far as I remember float has equal amount of precision for 1.0 - 2.0 as for 2.0 - 4.0, 4.0, 8.0 and so on. As you can see gaps between representable numbers get bigger with the number. If you get to amounts like 86400 (seconds in a day) and are not careful, you might get time bugs.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1974710:date=Sep 9 2012, 06:59 PM:name=MOOtant)--><div class='quotetop'>QUOTE (MOOtant @ Sep 9 2012, 06:59 PM) <a href="index.php?act=findpost&pid=1974710"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is NS2's internal clock in 32-bit float? After several hours of server running float precision might become so low that delta time for frame has significant errors.

    As far as I remember float has equal amount of precision for 1.0 - 2.0 as for 2.0 - 4.0, 4.0, 8.0 and so on. As you can see gaps between representable numbers get bigger with the number. If you get to amounts like 86400 (seconds in a day) and are not careful, you might get time bugs.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I heard some discussion of this at one point, but it's unlikely to be an issue unless your server is up for weeks at a time.
  • MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
    edited September 2012
    <!--quoteo(post=1974777:date=Sep 10 2012, 04:37 AM:name=devicenull)--><div class='quotetop'>QUOTE (devicenull @ Sep 10 2012, 04:37 AM) <a href="index.php?act=findpost&pid=1974777"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I heard some discussion of this at one point, but it's unlikely to be an issue unless your server is up for weeks at a time.<!--QuoteEnd--></div><!--QuoteEEnd-->
    That's not true but I have to search for blog post that made it explicit. UP: I can't find it, whatever.

    For range 1024 - 2048 we have 8388608 representable numbers with resolution 0.00012.
    For 131072 - 262144 we have same amount of numbers but precision is only 0.015.

    If server doesn't reset time after round end then it's enough for it to be running for 1-2 days to get to such low precision. If frametime is calculated that way:

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->float prev;
    float cur;

    float frame = cur -  prev;

    int last_tick;

    float ticks_since_last = (cur/0.33f) - last_tick;

    float tick_time = 0.33f * (last_tick+1)<!--c2--></div><!--ec2-->
    Then frame value can be only 0 or 0.015 (15 miliseconds) or 0.031 (31 miliseconds). Even if tick_count_since_last_frame is calculated correctly and subtracted it simply has no precision to keep enough information about when the last frame was.

    Furthermore lots of things in game rely on curTime being precise, things like if (curTime > lastAttackTime) would have significantly worse resolution.
Sign In or Register to comment.