Page 1 of 1

How to make wz use less cpu?

Posted: 21 Jul 2014, 22:20
by wz2101
Hi

Usually I use for games gpu and a lot of ram because my processor isn't that good.
But in warzone there is no possibility to change the TNL?
My processor is very loud if i run warzone and the ram it uses isn't much.
This have to be changed.
Can someone maybe give me informations to this issue?

Re: How to make wz use less cpu?

Posted: 25 Jul 2014, 23:06
by Ezio
there were code that executed using gpu (CUDA and stuff) and code that executed with cpu (everything else).
Wz is on "everything else". we keep it like that so it could be played on old pc, netbooks. etc

i hope that simple enough :)

Re: How to make wz use less cpu?

Posted: 02 Aug 2014, 19:12
by wz2101
Where can I find this code?
And how can I make wz simply use more ram? It almost uses nothing..
I think this is totally wrong

Re: How to make wz use less cpu?

Posted: 02 Aug 2014, 19:47
by stiv
Warzone source is available via the wiki.

How much memory does your WZ use?

To make WZ use more ram, you could write a function like piss_away_vast_amounts_of_memory( int amount of memory_to_waste) but is seems kind of... wasteful.

Memory vs Speed is a classic design trade-off. But a lot of what WZ does is simply compute-intensive.

The 'processor loudness' you are experiencing is most likely the fan on your under-cooled machine working to keep the processor alive. It's a laptop, right?

Warzone does not do any calculations on the GPU, but since it uses OpenGL for graphics, it will make use of any acceleration your video driver and graphics card provide.

Re: How to make wz use less cpu?

Posted: 01 Feb 2015, 22:16
by wayward4now
He could turn off graphic features like shake screen and shadows which would reduce the overhead some. Maybe turn down texture size. I assume the OP has the correct video driver installed? Ric

Re: How to make wz use less cpu?

Posted: 02 Feb 2015, 08:17
by Ezio
can current engine limit framerate?. something like

if it was in front end menu and user alt tab / loss focus then limit it to 1.
this could also go if user paused while playing campaign then alt tab. i saw some other game does limiting frame rate while alt tab to reduce cpu usage

Re: How to make wz use less cpu?

Posted: 03 Feb 2015, 01:29
by Per
Shadows are currently the big CPU-waster. Turn them off and CPU usage drops a lot.

The other spender is path-finding, and you can't really turn that off...