Memory Usage?

JarlaxleJarlaxle Join Date: 2002-11-21 Member: 9546Members
<div class="IPBDescription">For Linux</div> I just started running a NS server on linux, on a 2.ghz p4 with a gig of ram. Problem is, I can't seem to get the server to run 20 players without the pings/cpu going into the celing. (95% CPU, and 300+ pings) and it seems like I should be able to. I think I have my problem tracked down. When I run top to check my cpu usage, it may be at 95%, but mem is only at 15%. Is there a way to make hlds_l use more memory? I'm wondering if its limiting itself in some way or something. I saw a post somewhere on here about heapsize and some other command to increase something to do with the ram, but I can't find it anymore, nor can I find a reference anywhere on where to/how to implement those commands.

Also, does anyone have any other tips for getting lower CPU usage on linux? I have already removed ns_bast and ns_hera for now, as they generate higher usage than any of the rest.

Thanks!

Jarlaxle

Comments

  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    check out the -heapsize command....but i dunno if this will even help you
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    edited February 2003
    compile your own metamod/adminmod/plugins(if you have any)...
    this is very weird, i was talking with voogru today about his servers and he told me that it's AMD XP 1700+ and it holds fine 22 ppl, yet your 2.4ghz(which like 1ghz more than the AMD XP 1700+) can't hold 20 people...
    btw, what distro and kernel?
    oh and about the memory, HLDS barely takes memory, it's main usage is cpu.. not memory
  • SandrockSandrock Join Date: 2002-12-16 Member: 10905Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--Eternal Bliss+Feb 25 2003, 03:46 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Eternal Bliss @ Feb 25 2003, 03:46 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> this is very weird, i was talking with voogru today about his servers and he told me that it's AMD XP 1700+ and it holds fine 22 ppl, yet your 2.4ghz(which like 1ghz more than the AMD XP 1700+) can't hold 20 people... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Thats because AMD processors are better. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> Intel has higher clock speeds, but AMD gets better performance and they're hella cheaper.
  • BrutusBrutus Join Date: 2002-10-20 Member: 1555Members
    Is Vog running win or Linux? Vog could you post your specs if running Linux. Linux version, kernal, anything special you did.
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    <!--QuoteBegin--cracker jackmac+Feb 25 2003, 12:36 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Feb 25 2003, 12:36 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> check out the -heapsize command....but i dunno if this will even help you <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    It will not. You can reserve more memory for HLDS, but it won't use more just because more is available. Heapsize should only be increased from the 32MB default if your server crashes with errors about failing to allocate memory. If you increase your -zone, add the same amount to -heapsize, as -zone is taken from the heap. Really large maps have been known to run HLDS out of room; otherwise you shouldn't need to touch -heapsize.
  • HKHereticHKHeretic Join Date: 2003-02-23 Member: 13859Members
    <!--QuoteBegin--Brutus+Feb 25 2003, 05:27 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Brutus @ Feb 25 2003, 05:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Is Vog running win or Linux? Vog could you post your specs if running Linux. Linux version, kernal, anything special you did. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    He's running Windows.
  • JarlaxleJarlaxle Join Date: 2002-11-21 Member: 9546Members
    Yea. My machine is running linux, its one of the 2Ghz RH 7.2 boxes from rackshack (since I don't have the bandwidth at home <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->)

    I'll give a try with compliing my own Adminmod dlls, etc. Maybe it will help. I have already disabled about everything else on the box.
Sign In or Register to comment.