[mohaa] recommended settings for server?

Nathan Peters natedog550 at hotmail.com
Wed Dec 17 09:46:19 EST 2003


cool.  Thanx dude.  I'll try that out.  So one question again haha.  Sorry
to keep buggin u.......but.....hunkMegs 96 - what does that mean exactly?
I'd like to know so I know what numbers to play with u know?  does it forces
it to use 96 megs of RAM?  and is zone like max swap?  I'm just guessing i
bet i'm so far off it's not even funny lol.  If you got time to enlighten me
i'd appreciate it.  If not no big deal I can probably find it on the
internet.  Thanx for ur help man.

----- Original Message ----- 
From: "Troy Chinnery" <t_chinnery at iprimus.com.au>
To: <mohaa at icculus.org>
Sent: Wednesday, December 17, 2003 4:34 AM
Subject: Re: [mohaa] recommended settings for server?


eg.
/moh_lnxded +set com_hunkMegs 96 +set com_zoneMegs 24

I have only run a spearhead server, and with 512MB ram. I used hunk=160 and
zone=48 and never had any problems with 32 (or more) players on my LAN. I
may
very well have been able to set lower values.

256MB would make a diff I would think, but first experiment with those
variables and any others you might find useful, to see if they can reduce
your
lag.


NateDog wrote:
> So.........would more RAM help?  When you say to set those variables could
u
> show me an example?  If more RAM will help I'll see what I can afford.
> thanx for your expertise man!  ttyl
>
> Nathan
>
> ----- Original Message ----- 
> From: "Troy Chinnery" <t_chinnery at iprimus.com.au>
> To: <mohaa at icculus.org>
> Sent: Tuesday, December 16, 2003 10:17 PM
> Subject: Re: [mohaa] recommended settings for server?
>
>
> The kernel probably won't let it grab more than 80% because 20% is being
> used
> by other processes. You can have more predictable memory usage by using
the
> com_hunkMegs and com_zoneMegs variables on the command line. Values like
> hunk=128 and zone=48 are common but for newer games often larger. With
only
> 128MB of memory, try hunk=96 zone=24. This will minimise swapping BUT
there
> may be some levels your server won't load and/or might not handle 32
> players.
>
>
> Nathan Peters wrote:
>
>>Hey everyone.  I need to ask a question to the linux gurus.  I have a
>>server up.  Red Hat linux 9, Pentium 4 3ghz, 128mb RAM (yeah i know not
>>very much - provided by host - I'm limited because of finances).  It's
>>32 slots.  5 of them are private.  It is full right now.  I'm on a OC192
>>backbone.  Bandwidth rocks.  But lag is experienced some.  What is the
>>recommended amount of RAM?  At first I had 64megs of RAM.  Heavy swap
>>usage maxed out RAM.  Then I went up to 128megs of RAM and here is what
>>the top command shows.
>>
>> 21:40:16  up 10:09,  1 user,  load average: 0.27, 0.22, 0.18
>>35 processes: 32 sleeping, 3 running, 0 zombie, 0 stopped
>>CPU states:  25.3% user   2.3% system   0.0% nice   0.0% iowait  72.3%
>
> idle
>
>>Mem:   124236k av,  122020k used,    2216k free,       0k shrd,    1836k
>>buff
>>        46488k active,              70744k inactive
>>Swap:  131064k av,   48176k used,   82888k free                   11652k
>>cached
>>  PID   USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
>
> COMMAND
>
>>  782 nathan    14   0  104M  98M 38072   R        24.3   80.8   74:43
>>0  mohaa_lnxded
>>
>>When I had 64megs of RAM it had about the same - 70-80%.  I go to
>>128megs and full loaded server and it's the same?  Neways, can someone
>>tell me what to do?  Do I need more RAM or is that just how the server
>>runs?  Thanx.
>>
>>Nathan
>>
>>------------------------------------------------------------------------
>>Have fun customizing MSN Messenger — learn how here!
>><http://g.msn.com/8HMAENUS/2752??PS=>
>
>
>




More information about the Mohaa mailing list