Tremulous Forum
General => General Discussion => Topic started by: [db@]Megabite on May 14, 2006, 03:00:36 am
-
Hey there,
I am just at further tweaking our servers and found this page (german) about q3a-servers: http://www.pro-linux.de/spiele/quake3ded.html
It mentions servers needing just 12-26MB of allocated RAM (com_hunkmegs) because a server just loads the map / hitboxes and not the whole visuals.
I guess they have tested it and are right... has anybody experiences with that? I guess beacause of a more complex gamedesign tremulous may need a bit more and 32-64MB should be okay. :-?
I will try running some servers with low com_hunkmegs settings in the next few days, so don't wonder if there may be lag... ;)
Cheers, Danny
-
Low com_hunkmegs won't cause lag, it will just crash when there is insufficient memory.
-
A good feature of this hunk system is... you already know how much your server will need. If you use some flexible system, a memory leak will result on server memory needs growing and growing..
The hunk system is a good one. Safe and fast.
Anyway you can tweak even more, maybe, ....theres a command to list all block that z_malloc use. Or you can create this command. Because z_malloc can name block, you will see what is allocated and is not on a pure server. Maybe the map loader load lighting stuff, or other non-server stuff on memory. So maybe you can tweak the map loader or other random stuff... but maybe this is not a good idea, because with the hunk already getting his space, you will not save nothing.
So maybe "its not broken, dont fix it".
-
My tests are looking fine by now... all servers still up, memory usage 100MB less, CPU usage at 40-55% with 35 players on 3 server instances. ;)
Cheers, Danny