bZflag on an SMP system

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
uovobw
Private
Private
Posts: 1
Joined: Fri Jun 17, 2005 7:31 pm

bZflag on an SMP system

Post by uovobw » Fri Jun 17, 2005 7:36 pm

Hi everyone,

i've been using bzflag for almost a year now, but then i moved to a Dual Athlon system.
I have a 2.6.11.12 kernel smp-enabled and i use the standard bzflag debian package (in unstable)
I noticed that in gkrellm while i play the use of the cpu swaps from one to the other.For about a minute CPU0 works at 100% while the other at 10-20% then the situation chages and so on.

I was asking: is there a way to compile bzflag/pass an option at startup or similar to have the load distibuted on the two processors??? so i can get both of them working all the time at 50%??

thanks a lot

Bye

User avatar
Kooppers
Private First Class
Private First Class
Posts: 28
Joined: Sat Jan 29, 2005 3:35 pm
Location: everywhere exepted here!

Post by Kooppers » Fri Jun 17, 2005 11:06 pm

well,

What you want may be not so easy as it would be necessary to rewrite many parts of the code to make bz multithreaded to be able to run on both cpu at same time ;)

Till it will be monothreaded it will run on 1 cpu at a time (and mostly 1 cpu will be more used than the other because of some cpu affinity mechanism (at least on large system heh)

Regards
Image
Image

Post Reply