[bf1942] Server Utilization

Stefan Engbersen stonex at freebsd.nl
Tue Feb 3 12:52:43 EST 2004


I don't think this will be, SMP on FreeBSD ain't developed that far.
Linux SMP has a much better performance in general.
http://www.freebsd.org/smp/

Stefan Engbersen
impact-gaming.nl


Paul Richards wrote:

>I really think the answer to this is to run it on FreeBSD, I have shifted
>mine over and they are idling at around 1% - 2%, i am using the Linux Base 8
>compat package. I have also been told it runs alot nicer by the clans.
>
>-Paul
>
>
>----- Original Message ----- 
>From: "Stefan Engbersen" <stonex at freebsd.nl>
>To: <bf1942 at icculus.org>
>Sent: Tuesday, February 03, 2004 5:16 PM
>Subject: Re: [bf1942] Server Utilization
>
>
>  
>
>>Same here!
>>Running 2 bf1942 lnxdeds on a Dual Xeon 2.66Ghz with HT with the kernel:
>>
>>2.4.22-1.2149.nptlsmp #1 SMP
>>
>>And see:
>>
>>29246 engberse  15   0 53104  51M  6488 S    29.9  2.5   0:23   1
>>bf1942_lnxded
>>29007 houben    15   0 53104  51M  6488 S    28.5  2.5   0:35   0
>>bf1942_lnxded
>>
>>Also around the 30%, the servers are idle, not changing map, not
>>starting, they also have 0 people playing.
>>1.6rc2 btw..
>>
>>Regards,
>>
>>Stefan Engbersen
>>impact-gaming.nl
>>
>>
>>Roland Kool wrote:
>>
>>    
>>
>>>List,
>>>
>>>"glad" to see I'm not the only one. I can report that 1.6rc2 doesn't fix
>>>it for me.
>>>I also had no problem with the 1.5 patch (and as I recall any previous
>>>version). My CPU utilization stats look similar to the ones from Casey.
>>>Hyperthreading doesn't seem to make a difference. Machines with HT
>>>enabled or disabled show the same behaviour.
>>>I hope a solution can be found as I agree to previous posters that this
>>>is a pretty serious problem. I'm happy to work with you and test various
>>>things which may produce a solution.
>>>Just to be sure: the high utilization is visible in TOP. When you look
>>>at the statusmonitor, the reported CPU is really low, like 1-4%.
>>>
>>>Regards,
>>>
>>>Roland Kool
>>>thegamezone.nl
>>>
>>>
>>>
>>>      
>>>
>>>>I have this problem too, but I didn't have it with 1.5.
>>>>
>>>>You can see here:
>>>>
>>>>http://bfb.bogleg.org/stats/stats.cgi?c=cpu&s=bfb-bf1
>>>>
>>>>On the 1-week graph, you can see I upgraded the server late
>>>>Friday night.  The CPU usage (for empty server) went from
>>>><10% to 20-25%.
>>>>
>>>>The *only* change I made was the bf1942 server upgrade from
>>>>1.5 to 1.6rc1.
>>>>
>>>>Andreas Fredriksson wrote (at Mon, Feb 02, 2004 at 04:20:54PM +0100):
>>>>
>>>>
>>>>        
>>>>
>>>>>I've been trying to fix this bug since the first 1.4 release but
>>>>>always come up empty handed. Profiling tells me that the time isn't
>>>>>spent inside the BF server itself but in syscalls. It might
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>have to do
>>>>
>>>>
>>>>        
>>>>
>>>>>with FPU exceptions or something equally obscure.
>>>>>
>>>>>In all honesty I wouldn't know how to produce a quick fix for this
>>>>>bug.
>>>>>
>>>>>// Andreas
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Paul Richards [mailto:noxis at clara.net]
>>>>>>Sent: Monday, February 02, 2004 4:03 PM
>>>>>>To: bf1942 at icculus.org
>>>>>>Subject: Re: [bf1942] Server Utilization
>>>>>>
>>>>>>
>>>>>>Andreas,
>>>>>>
>>>>>>Any idea on this SMP problem? As I am pretty sure the
>>>>>>previous version didnt have this, I am running Gentoo with a
>>>>>>SMP kernel and i just started up 1.6 for the first time,
>>>>>>empty server and its idling at 20 - 39%. Is it going to be a
>>>>>>possiblity to try to quickly patch this ?
>>>>>>
>>>>>>This is almost un-usable, all my unix/linux machines are SMP
>>>>>>boxes does the CPU usuage scale when players join? or does it
>>>>>>sit the same? If thats true then its no biggy and almost a
>>>>>>help or does this mean that a full 24 player is going to be
>>>>>>using like 90% cpu? If so this is a big step back in the
>>>>>>linux server port :/
>>>>>>
>>>>>>Cheers
>>>>>>
>>>>>>Paul
>>>>>>
>>>>>>----- Original Message -----
>>>>>>From: "Andreas Fredriksson" <andreas.fredriksson at dice.se>
>>>>>>To: <bf1942 at icculus.org>
>>>>>>Sent: Monday, February 02, 2004 1:38 PM
>>>>>>Subject: RE: [bf1942] Server Utilization
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>I can't say why some servers are showing this behaviour,
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>but it seems
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>to depend on your kernel configuration. Last summer I received
>>>>>>>help
>>>>>>>              
>>>>>>>
>>>>>>>from a community member and we tested many
>>>>>>            
>>>>>>
>>>>>>>              
>>>>>>>
>>>>configurations and found
>>>>
>>>>
>>>>        
>>>>
>>>>>>>the culprit to be SMP kernels causing a massive CPU overhead.
>>>>>>>
>>>>>>>The same machine running a non-SMP kernel would not have
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>the high-idle
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>problem.
>>>>>>>
>>>>>>>The carrier problem should be fixed in 1.6 since we have
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>reverted the
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>carrier collision meshes back to the 1.31 versions which
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>didn't have
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>the problem.
>>>>>>>
>>>>>>>// Andreas
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>-----Original Message-----
>>>>>>>>From: Roland Kool [mailto:roland at cyso.nl]
>>>>>>>>Sent: Monday, February 02, 2004 1:39 PM
>>>>>>>>To: bf1942 at icculus.org
>>>>>>>>Subject: [bf1942] Server Utilization
>>>>>>>>
>>>>>>>>
>>>>>>>>Hello,
>>>>>>>>
>>>>>>>>Got some questions about CPU utilization behaviour I
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>noticed since I
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>installed the 1.6 patch on Linux. I've checked the forums @
>>>>>>>>lightcubed but didn't see any threads about it yet.
>>>>>>>>
>>>>>>>>All idle servers (servers with no players) use between 15
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>and 20% of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>CPU. Before 1.6 is was between 0 and 5%. That's the CPU
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>util you see
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>when starting 'top'. Caused by PB perhaps?
>>>>>>>>
>>>>>>>>If you use screen -r to resume your servers screen, I
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>don't get all
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>server console output. I have to press the enter and it
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>looks like
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>the CPU util reported there is around 100% which drops
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>quickly back
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>to 2-5%.
>>>>>>>>
>>>>>>>>Does 1.6 finally fix the collision meshes causing high
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>util on maps
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>>with boats/carriers?
>>>>>>>>
>>>>>>>>Best regards,
>>>>>>>>
>>>>>>>>Roland Kool
>>>>>>>>Thegamezone.nl
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>-- 
>>>>-- Casey Zacek (Zippo)                   Beer for Breakfast servers
>>>>  66.111.111.66:14567 (BF1942) <http://bfb.bogleg.org/> Dallas, TX
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>
>
>  
>





More information about the Bf1942 mailing list