the Best Client HUNK settings ??


(ETdemin) #1

Hello

Can be interesting if Map creators & MOD Coders can answer too

Please what are the best settings that should be set for a Client ??
It can be good to know what are the best HIGHEST Values for those Settings for clients ???

com_hunkmegs
com_soundmegs
com_zonemegs

If a client is having a lot of available memory, is there a real interest for a client to set values like that :

com_hunkmegs “1152”
com_soundmegs “320”
com_zonemegs “320”

thanks :slight_smile:


(Shownie) #2

As far as I know such high values have no effect.

com_hunkmegs “196” or something does the job. or simply 128 and you are good to go. Sound and Zonemegs are even lower. :slight_smile:


(stealth6) #3

http://www.splashdamage.com/forums/showthread.php/23408-Hunkmegs?p=265301&viewfull=1#post265301


(Shownie) #4

Good found! :slight_smile:

btw I was close, 192 and not 196 :cool:


(IRATA) #5

Values for the client:

com_hunkmegs
Afaik the standard value of 56 MB does the trick for vanilla, some mods require a bit more because of additional assets. It’s hard to detect the exact value - maps are using different models/shaders etc. But let’s say a value about 64-72MB will fit all (including some MBs in reserve).
Run cmd /meminfo and do a search for “total hunk in use”. The value in that line shows the current used hunkmegs.

com_soundmegs
The standard value of 24MB is very low. This setting defines the size of the sound buffer memory. Cmd /s_list will show you infos about. From my experience a value of 160MB puts all sounds into that buffer and no I/O operations are done for sounds during the game :wink:

com_zonemegs
No need to change this value.


The power of 2 thingy … I’ve found different statements about memory allocation in power of 2 steps. Some swear to do it this way others not.
Finally it’s up to your system/used malloc implementation but I don’t think any human will notify any difference here today. So give ET what ET wants:

com_hunkmges 64
com_soundmegs 160

If you still run into hunk alloc memory issues just add some MBs. Any higher values have no positive effect - it’s more the opposite case.


(Indloon) #6

I think,the best solution is use 3/4 of user RAM.

512 should be last number,what You should write,since I don’t know any map/mod what needs more than that.


(stealth6) #7

[QUOTE=Indloon;394633]I think,the best solution is use 3/4 of user RAM.

512 should be last number,what You should write,since I don’t know any map/mod what needs more than that.[/QUOTE]

512 oO bit much imo.


(ETdemin) #8

Thanks it help all of that is interesting :slight_smile: