[bf1942] Cpu usage when empty!

Steven Hartland killing at multiplay.co.uk
Tue Jul 20 09:19:09 EDT 2004


Common issue with Linux kernels. Seems to be less prominent on some
kernel configs. I had the same when testing on 2.4.X in the end I created
a config which didn't have the issue but I couldn't find the common option
due to the randomness of the Linux config generator :(
FreeBSD also doesn't suffer from this.

    Steve / K
----- Original Message ----- 
From: "Stefan Engbersen" <stonex at freebsd.nl>
To: <bf1942 at icculus.org>
Sent: 20 July 2004 13:31
Subject: [bf1942] Cpu usage when empty!


> List,
> 
> I am running a single BF1942 server on a Dual Xeon 2.66Ghz with 3GB ram 
> on Linux-2.6.7.
> The odd things is, when the server is empty it uses a pretty large 
> amount of CPU, why is this ?
> 
> 29279 stx       15   0 75580  50m  12m S 15.6  1.7   0:29.34 bf1942_lnxded
> 
> It usually is around the 13 to 20% of one of the cpu's, I have tried to 
> run it with the prioritydaemon, but
> this doesnt make any difference it seems, it is pretty annoying, since 
> if I want to run more BF1942 servers
> on this box the load will rise, when they are all empty, this can't be good.
> I have had it with the 2.6.6 fedora core2 standard SMP kernel, though I 
> have build my own one, since
> the security issues the 2.6.6 kernel had, still the same problem, is it 
> a kerneloption which needs to be turned
> on or off ? To me it just seems some bad programming, how to fix this?
> Thanks in forward,



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.




More information about the Bf1942 mailing list