Surefire Ways To Tune Your NS Server

24

Comments

  • GelantiousGelantious Join Date: 2002-11-01 Member: 2576Members, Constellation
    OOhhhhh my <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    Hope u can fix it. It would be the Greatest! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    Yes, you can have my first born if you get it fixed Flayra.

    Honestly, I feel this is the only thing currently slowling the growth of NS, and I am scared to see how much more popular it becomes once this flaw is fixed.
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    You can have the wife and kids!! j/k I don't have either !! Yet!! LOL
  • BrutusBrutus Join Date: 2002-10-20 Member: 1555Members
    Does anyone else want to kiss Flayra if he fixes it? <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • Llama_KillerLlama_Killer Join Date: 2002-07-30 Member: 1029Members
    Um no...

    but i can t wait till he fixes it this is such a great mod! keep up the great work Dev team!
  • DefDef Join Date: 2002-11-14 Member: 8551Members
    well its good to hear that people are working on the CPU usage problem. But i have been running game servers for years, and 1 thing i should tell most of you guys is that you will not encounter any lag if CPU usage is under 100%. Its better to have a server that runs STEADY at 90%, than have a server that runs at 10-20% but has spikes that make the CPU load 100%. This would only be true for servers that are dedicated to running NS tho.

    Just sharing some info that i have aquired over the years.

    BTW, the mod truely kicks **obscenity**! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • BrutusBrutus Join Date: 2002-10-20 Member: 1555Members
    Are you running an NS server? The CPU issue does cause higher ping, and lag, even when steady.
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    ok Flayra.. how's it going? I've been checking the forums like every 10 mins. to see if you have worked your magic on the code yet!.. you said you were hoping to make a breakthrough today! Oh please make a breakthrough!! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    /me sends good mo-jo to Flayra
    /me sends good vibes to Flayra
    /me sends good juju to Flayra
    /me sends money to Flayra (whoa .. how did that happen?)
    /me pulls his hair out waiting

    Hope you get it figured out soon.. oh by the way.. don't use the radius of that.. use the circumference instead.. hehe
  • MisfireMisfire Join Date: 2002-11-03 Member: 5764Members
    yes , thank u team!!! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • MisfireMisfire Join Date: 2002-11-03 Member: 5764Members
    i also find that 16 people in ready room is low cpu usage, no lag. but once all of them get into a team the cpu usage just sky-rockets and it gets laggy
  • NecroNecro &lt;insert non-birthday-related title here&gt; Join Date: 2002-08-09 Member: 1118Members
    <!--QuoteBegin--Flayra+Nov 14 2002, 09:51 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Flayra @ Nov 14 2002, 09:51 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Just so everyone knows, I'm actively working on the CPU usage problem. I've found the problem (the exact line) but believe it or not, the fix is still not simple. I've spent days on this, even with a friend (Citixen) helping, and it's utterly confounding. I'm hoping for a breakthrough today.

    If I can fix the problem, you'll see CS-like performance in NS.... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    <b><span style='font-size:21pt;line-height:100%'> </span>THERE IS A GOD!!</b>
  • Ph0enixPh0enix Join Date: 2002-10-08 Member: 1462Members, Constellation
    And his name is Flayra.

    Amen.

    <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    Yep. I've tried to convince Flay to make the scoreboard show lower latency numbers (as I think most lag complaints are from people who look at the numbers instead of thinking about if thgey are actually experiencing real lag - damned kiddiots). No luck so far - he's too doggone honest, and wants to display all latency data including the server's, which is why that number seems so inflated.
  • Cha0sCha0s Join Date: 2002-11-05 Member: 7104Members
    A lot of you guys seem to be having extremely high loads. I'll admit that our NS server is without a doubt the most CPU intensive game we are running, but it doesn't seem to be quite as bad for us as it is for others. We currently run 3 16-Player CS Servers on the same box as our 14-Player NS server. Our fy_iceworld server probably eats up as much CPU as any of them and it maxes out around 40% CPU load. Our NS Server on the other hand maxes out about 90% CPU load w/ Admin Mod. We are running dual AMD 1.2 MP CPUs. So the NS server is basically eating up a 1.2 processor all by itself. The strange thing is even though people have 100 - 300 pings, we haven't had a complant yet about lag. The main thing people complain about is team balancing.


    <a href='http://www.realityslap.com/zone/cstrike/status.html' target='_blank'>-=(RealitySlap.com)=-</a>
  • tlarmontlarmon Join Date: 2002-11-15 Member: 8701Members
    edited November 2002
    It's all about the CPU. I recently put NS on a new Dell, and the results from switching from my 1.1GHz TBird server is amazing. With the 1.1 TBird pings were going up to 800ms or so constant with the CS server running in the background. The new Dell runs just the NS server, and is 2.4GHz (P4) with 512MB DDR on WinXP. The raw CPU power change and the fact it doesn't run anything but NS did it.

    The results? <a href='http://hastezone.com/showthread.php?threadid=1954' target='_blank'>http://hastezone.com/showthread.php?threadid=1954</a>

    Right now I have the server set up as 20 players with 2 reserved spots for admins and I still get 50ms under the scoreboard. The server is up 1PM CST every afternoon and stays up until the next morning. (See other posts on my forum about it...)

    HOWEVER, as the map keeps running, pings gradually get a tad worse (no where near the other server though, most pings are right around 100ms, some around 80, some around 120ish or so, but that's at the very end of the map after its been played 2-3 hours!) Right when the map changes, the pings go right back down again.

    Taking out ns_bast and ns_hera really helped with lag as well. Those maps do one thing. Lag big time. I don't even let them be votable anymore.
  • SmellslikefecesSmellslikefeces Join Date: 2002-11-11 Member: 8194Members
    Has anyone noticed their latency while pressing tab is way different then their latency reported in net_graph? HL shows a 300ms ping but netgraph shows only a 20-40 ms actual ping? Is this normal? I don't get any visual lag or anything. The game/server runs great. I was just wondering if anyone else has seen this. Thanks!
  • tlarmontlarmon Join Date: 2002-11-15 Member: 8701Members
    That's one of the reasons why I'm glad NS is a hog on the CPU.. having a fast CPU, latency is low for my server, thus people don't really complain about lag. Most are in shock the latency is so low. If the problem is fixed, well, then all servers will have low pings! I wouldn't want that now would I? <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->

    Hehe.
  • AlteredMindAlteredMind Join Date: 2002-11-09 Member: 7824Members
    Good point tlarmon, but the bad side to that is what if they wana put up some extra stuff on therer box like cs,utk2003..ect but the cpu is being overused by NS. Right now i can only run 1 real good NS server and im pretty much runing the same specs as you are, but when I try to add another server it jumpes into the 400range. Now im hopeing that this will be fixed because if it can be fixed that means low lag servers for everyone, lets face it nobody likes a laggy server so im crossing my fingers for now. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->




    Thank You
  • SpurtySpurty Join Date: 2002-11-16 Member: 8944Members, Constellation
    I'd love to be able to just set the number of deployables to something like 80 per team.

    Also, things like the minimum range a turret can be from another turret to stop the row of 6 turrets blocking big door ways. I'm sure this:
    <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo-->
    is part of the problem. Its too easy to push the HL engine to its limits (and there are limits to what it can handle).

    There appears to be a large amount of things *missing* from the server maintainer's point of view. Whatever people can do, the server operator needs to be able to *cap* in some way. For example, weapon restrictions, speed caps, even numbers of people with certain guns etc.

    This mod is great fun, its just let down by the fact its so easy to break it just by playing it hard.

    So devel people, I doubt you will bother to read a post on the forums, but you need to give admins the chance to cap some elements so that its not economical suidice trying to run an NS server. Of course, if you can get the ping down to 20 with CPU usage at around 50% then we might forgive the weird balance of power thing you created.
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    There will be a new server patch (1.02) released very, very soon. Among many things, it will be running with MUCH less CPU utilization. Stay tuned for news on that...
  • AlteredMindAlteredMind Join Date: 2002-11-09 Member: 7824Members
    edited November 2002
    I would like to extend a big Thank You the the NS Team for working hard and making a great mod! Your work is very appreciated by hundereds(if not thousands) of people! Thank You for this lovely mod <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • SpurtySpurty Join Date: 2002-11-16 Member: 8944Members, Constellation
    Got to admit, its fairly original (Albiet very Starcraftesq) and a lot of fun, however its too much of a resource hog on Linux.

    I have an SMP Xeon 1.8Ghz box and its running on there with my other HL mods.
    <span style='font-family:Courier'>
    2:08am up 27 days, 15:12, 1 user, load average: 0.24, 0.20, 0.23
    71 processes: 70 sleeping, 1 running, 0 zombie, 0 stopped
    CPU0 states: 10.1% user, 0.3% system, 0.0% nice, 89.0% idle
    CPU1 states: 1.1% user, 0.1% system, 0.0% nice, 98.2% idle
    CPU2 states: 13.0% user, 36.2% system, 0.0% nice, 50.2% idle
    CPU3 states: 20.0% user, 0.4% system, 0.0% nice, 79.0% idle
    Mem: 1030500K av, 1011720K used, 18780K free, 0K shrd, 28272K buff
    Swap: 2040244K av, 26208K used, 2014036K free 584712K cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
    5497 xxxxxx 15 0 133M 133M 6276 S 24.8 13.2 127:55 ucc-bin
    5678 xxxxxx 15 0 84108 82M 4592 S 19.4 8.1 139:05 hlds
    18642 xxxxxx 15 0 50792 44M 3532 S 13.4 4.4 715:55 hlds
    6089 xxxxxx 15 0 55160 53M 5488 S 3.5 5.3 1:08 hlds
    5523 xxxxxx 15 0 50900 49M 4656 S 3.1 4.9 52:54 hlds
    </span>

    Thats after ten mins of it being live (er, but no one has joined as of this moment)
    <span style='font-family:Courier'>
    status
    hostname: SpurtysPub Natural Selection v1.02
    version : 46/3.1.1.0 2056 insecure
    tcp/ip : 205.159.169.141:27040
    map : ns_caged at: 0 x, 0 y, 0 z
    players : 0 active (12 max)
    </span>

    I will post here again when it gets some players on there building turrets here there and every-sodding-where where it will leap up to 96% CPU and as a consequence, cause the ping to fly up.

    Also, why insecure ? liblist.gam says secure=1

    If any NS mod developers want access to this machine to take a look, just ask and we'll come to some agreement (I'd really like this to be something I can trust not to hog all my resources)

    <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' valign='absmiddle' alt='tiny.gif'><!--endemo--> <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo--> <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' valign='absmiddle' alt='wow.gif'><!--endemo-->
  • AlteredMindAlteredMind Join Date: 2002-11-09 Member: 7824Members
    Hello

    I just whanted to see what everyone has there mp_networkmeterrate set to and has it helped? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • ChAoSChAoS Join Date: 2002-11-10 Member: 8140Members
    at the moment I am running

    Windows XP Pro
    1.2 AMD
    1.0 GB Ram

    Im running a Apache/MySQL
    Counter-Strike server (18ppl full mostly all teh time)
    NS server (12ppl)


    after adding the NS server my CPU usage went to about 60% avg fluctuating to 100%
    without the NS server a fully loaded CS server usually runs about 60%
    I've stripped the running processes down to about 24 thanks to <a href='http://BlackViper.com' target='_blank'>http://BlackViper.com</a> so it runs pretty good.
    The only thing thats choking me is my 640k up/down skinny pipe.That will be fixed next month <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
    I'm in the process of building a debian server for NS but I cant seem to get a NIC card recognized.
  • FlayraFlayra Game Director, Unknown Worlds Entertainment San Francisco Join Date: 2002-01-22 Member: 3Super Administrators, NS2 Developer, Subnautica Developer
    Yep, we read as many forum posts as we can. I'm going to keep working on server performance, it will definitely continue to get better.
  • baldrickbaldrick Join Date: 2002-11-01 Member: 3050Members
    Umm is it just me or did the 1.02 patch not make any difference?
    Sorry to report, CPU still up to 90% - only on those maps mentioned previously.
    I do however notice less mempory being used - from 180 meg down to 100?!
    Would fbe far happier sacrificing more memory for CPU a tough ask im sure
  • BonelessBoneless Join Date: 2002-09-03 Member: 1270Members
    Yes... on my server (Amd tbird 1.33, 512DDR, RH 7.3) I've noticed a drop in memory usage. CPU is still map dependant... sometimes drops to 40%, sometimes as high as 88% :O.

    Flayra: Why don't try using some SIMD optimizations? United Admins implemented 3DNow! and SSE (vector operations and square root) on HLGuard and CPU usage went down.
  • SkWyReLSkWyReL Join Date: 2002-11-19 Member: 9360Members
    If you had a choice for hosting a server, what connection would you use?
    Which Connection is better?
    Dont say T something or OC something cuz we all know thats better.
    Im talking consumer level.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--Kilmster+Nov 22 2002, 11:04 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Kilmster @ Nov 22 2002, 11:04 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->umm

    dsl. if you are talking consumer only.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    You possibly can't say that. You don't know his area, his ISPs, or his ISPs connectivity.

    Because out were i live, cable is the best (totally unsaturated) but the DSL is a bad deal. But in FL, my friend has DSL because cable is overpriced and oversatured. But his DSL still sucks because of his cap and connectivity. just depends and you really can't give that advice on forums.
  • AngryMonkeyAngryMonkey Join Date: 2002-11-22 Member: 9603Awaiting Authorization
    Hey guys,
    Any more news on the cpu issue? 1.02 certainly reduced CPU usage a lot, but still nowhere near CS. Any news?
Sign In or Register to comment.