Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [9/3/2013 3:58:45 PM] *sm1Ly Dooxx: ello all. so got some ask. we got some dedicated server on virtualization. we got 4Gb ram and ~8Ghz cpu time. and some fast storage (raid 60 over iscsi, about 4-5k iops). so, after we got more than 45-50 ppl on server we got hard freezes, like heli staying in the air or jumping player. so the question is - does it restriction of arma3 code or its can be problems with perfomance?
- [9/3/2013 3:59:38 PM] David Foltyn: the question is what's server FPS at that point
- [9/3/2013 4:00:08 PM] CHUI: It's about 3-7 at that moment
- [9/3/2013 4:00:39 PM] David Foltyn: no wonder
- [9/3/2013 4:01:09 PM] *sm1Ly Dooxx: some UPD. server "eating" about 50% of all granted resources. so we got core 1 and 2 100% loaded, and nothing at 3 and 4. and about 2,2-2,3 Gb ram eated
- [9/3/2013 4:01:27 PM] David Foltyn: also 8GHz ... wth is that? liquid cooled i8 ?
- [9/3/2013 4:01:48 PM] k4n30_: (rofl)
- [9/3/2013 4:03:02 PM] *sm1Ly Dooxx: and disk queue about 0.01-0.02. so its not resources. (channel about 90mbps)
- [9/3/2013 4:03:26 PM] *sm1Ly Dooxx: david, its 4 cores of amd.
- [9/3/2013 4:03:36 PM] *sm1Ly Dooxx: 2.2*4.
- [9/3/2013 4:04:44 PM] *sm1Ly Dooxx: just want to understand does amount of players do freez
- [9/3/2013 4:06:48 PM] David Foltyn: well no wonder then
- [9/3/2013 4:06:54 PM] David Foltyn: low IPC cpu
- [9/3/2013 4:07:30 PM] David Foltyn: swap it for 4.7GHz model :)
- [9/3/2013 4:08:56 PM | Edited 4:09:18 PM] David Foltyn: you need as many IPC (intructions per clock) on the core running primary arma3 thread as you can get
- [9/3/2013 4:09:25 PM] *sm1Ly Dooxx: and what if I cant? but i can do 8cores? it ll be 16Ghz. maybe u do horisontal expansion?
- [9/3/2013 4:09:36 PM] *sm1Ly Dooxx: like a lot multicore?
- [9/3/2013 4:09:40 PM] David Foltyn: nope, that's not going do anything
- [9/3/2013 4:10:00 PM] David Foltyn: dimishing returns, the more cores the less advantages you get
- [9/3/2013 4:10:09 PM] David Foltyn: so beyond 8 it's neglible
- [9/3/2013 4:10:11 PM] *sm1Ly Dooxx: why not? u use not one core, but 8 and its giving u more IPS
- [9/3/2013 4:10:21 PM] David Foltyn: nope
- [9/3/2013 4:10:35 PM] David Foltyn: primary thread needs like 5GHz CPU (be it intel or amd) in ideal
- [9/3/2013 4:10:54 PM] *sm1Ly Dooxx: u cannot parallelize process?
- [9/3/2013 4:11:02 PM] David Foltyn: it's already
- [9/3/2013 4:11:15 PM] David Foltyn: it's not just about lets cut this thread into another 65535 threads and see performance increase
- [9/3/2013 4:11:52 PM] David Foltyn: there are rooms for improvement but nothing near even twice as fast
- [9/3/2013 4:12:04 PM] *sm1Ly Dooxx: but what about parallelize? a can count some on first core, another on secont etc
- [9/3/2013 4:12:16 PM] *sm1Ly Dooxx: second*
- [9/3/2013 4:12:17 PM] David Foltyn: ...
- [9/3/2013 4:12:31 PM] *sm1Ly Dooxx: why u "..." ?
- [9/3/2013 4:12:45 PM] e.r.macgregor: http://www.bistudio.com/index.php/english/company/developers-blog/91-real-virtuality-going-multicore
- [9/3/2013 4:12:46 PM] *sm1Ly Dooxx: its problem like russian product as 1c money
- [9/3/2013 4:13:01 PM] David Foltyn: the engine is multithreaded since 2009
- [9/3/2013 4:13:45 PM] David Foltyn: while some have proper argument about not being multithreaded enough and everywhere where it might be it's not about 'oh lets add more thread there and here'
- [9/3/2013 4:14:33 PM] *sm1Ly Dooxx: i understand. my misstake, ill try, thx a lot
- [9/3/2013 4:15:02 PM] David Foltyn: first make sure your mission has optimized scripting and server runs optimized mods/scripts
- [9/3/2013 4:15:25 PM] David Foltyn: if the scripting drags server fps to hell, then no amount of GHz you throw on it in real world scenario can save it
- [9/3/2013 4:15:58 PM] *sm1Ly Dooxx: yeah, i take it.
- [9/3/2013 4:16:04 PM] *sm1Ly Dooxx: we ll try
- [9/3/2013 4:18:01 PM] *sm1Ly Dooxx: any advance about scripts optimization?
- [9/3/2013 4:27:38 PM] e.r.macgregor: Do less. :)
- [9/3/2013 4:28:04 PM] *sm1Ly Dooxx: hah) nice)
- [9/3/2013 4:35:31 PM] *sm1Ly Dooxx: got any dev/debug info about threads over this: http://community.bistudio.com/wiki/Arma2:_Startup_Parameters#exThreads ???
- [9/3/2013 4:37:12 PM] e.r.macgregor: These days the defaults are the right ones unless you have very esoteric hardware.
- [9/3/2013 4:38:47 PM] e.r.macgregor: That applies to pretty much all the startup parameters that change how the engine behaves (e.g. maxmem) I keep seeing people blindly paste around as if they're secret FPS unlocking commands the devs were too lazy to enable for everyone.
- [9/3/2013 4:41:07 PM] *sm1Ly Dooxx: u know cheats?
- [9/3/2013 4:41:48 PM] e.r.macgregor: "There's no such thing as a free lunch"
- [9/3/2013 4:42:15 PM] *sm1Ly Dooxx: i can pay
- [9/3/2013 4:42:55 PM] e.r.macgregor: I thought we were still talking about making the game run better. :)
- [9/3/2013 4:43:33 PM] David Foltyn: what dev debug info you want, the exthreads and other commandline are explained to bone, there isn't much more to be said about
- [9/3/2013 4:43:59 PM] David Foltyn: it's like the person demanding more details about -nosound
- [9/3/2013 4:44:13 PM] David Foltyn: David Foltyn (facepalm) can't describe that enough
- [9/3/2013 4:46:27 PM] ligthert: Does -nosound disable the sound subsystem saving CPU resources or is it just a small swith that disables sound output? ;)
- [9/3/2013 4:54:13 PM] David Foltyn: both, but has no effect for server (the events ingame are still simulated so AI can hear sound)
- [9/3/2013 4:54:37 PM] David Foltyn: you can ofc use it but afaik the nosound was part of the dedicated branch
Advertisement