0
0

We just realised that some of our events take up alot of CPU (based on CPU monitor in EventPlayer). Now first of all it all seems rather random since different values are reported every time I load the same project. Secondly, it differs alot between computers and I guess that’s due to the beatuty of PC, you never know what you’re gonna get. Apart from these observations we have noticed that lots of layers and paramters do affect CPU and I guess that’s logical but what we wonder is how much different elements add so we can design optimal events. MP3 usage also seems rather costly but I guess that’s a price to pay.

To conclude some guidelines for designing events with respect to optimal CPU usage would be nice and extremely valuable before we start massproducing in FMOD designer.

  • You must to post comments
0
0

[quote="Ljudas":7qs55kvm]We just realised that some of our events take up alot of CPU (based on CPU monitor in EventPlayer). Now first of all it all seems rather random since different values are reported every time I load the same project. Secondly, it differs alot between computers and I guess that’s due to the beatuty of PC, you never know what you’re gonna get. Apart from these observations we have noticed that lots of layers and paramters do affect CPU and I guess that’s logical but what we wonder is how much different elements add so we can design optimal events. MP3 usage also seems rather costly but I guess that’s a price to pay.

To conclude some guidelines for designing events with respect to optimal CPU usage would be nice and extremely valuable before we start massproducing in FMOD designer.[/quote:7qs55kvm]

You could try using ADPCM, or MPEG2, instead of MPEG3. I believe MPEG2 is way faster.

We also switched to the Doug Lea’s dlmalloc() from a fixed pool of 16MB (or more), and this fixed some of the CPU issues.

  • You must to post comments
0
0

Yes the main thing to look out for is
1. What effects are you using
2. MP3 = expensive per voice, ADPCM = pretty good, PCM = almost free.

On my laptop 20 mp3s is taking about 10% cpu. ADPCM is probably abotu 4%, PCM about 1%. (off the top of my head).
MP2 isnt in designer yet, but i would guess it would be about 6%.

  • You must to post comments
0
0

Using pcm isn’t really an option in a big game since that would require multiple dvds so I guess ADPCM/MP2 is the way to go fo PC then. Concerning effects we are only using volume envelopes in the cases where we have monitored CPU usage. Possibly an EQ could have slipped in somewhere and I could verify if this is the case.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.