[bf1942] Serious cpu use drop with beta 7

Patrick Gavin wezelboy at soe.ucsc.edu
Sat Jun 28 04:04:29 EDT 2003


Hyperthreading on the P4 Xeon makes each processor appear as two 
processors to the kernel, so you will need to enable SMP to enable it.

Reinder P. Gerritsen wrote:

>Enabling SMP in the kernel can be done @ "make menuconfig" when you
>recompile the kernel yourself, is meant for dual cpu systems or higher.
>However, I have only linux experience on dual Athlon MP1200 and dual
>tualatin core PIII. I have no idea what the specifics are when it comes
>to hyperthreading. I think that it should work though, because SMP
>effectively enables multithreaded applications to make use of both
>processingunits in Hyperthreading.
>
>Compiling information van be found on
>http://www.tldp.net/HOWTO/Kernel-HOWTO/index.html
>
>However, the readme of OB6 and 7 reads:
>
>Known issues:
>- SMP kernels can cause the server to use a lot more CPU than what it
>  it really should be using; the only known workaround is to use
>  a non-SMP kernel. People are also reporting success with the
>  development kernels (the 2.5.x series), which is only recommended
>  for the daring.
>
>So unless you need it on your system (ie you have a dual CPU system, and
>need to make use of both units) I'd advise against using this option
>until the problem is fixed.
>
>-----Original Message-----
>From: Battlefield at digitalnines.com [mailto:battlefield at digitalnines.com]
>
>Sent: Friday, June 27, 2003 16:38
>To: bf1942 at icculus.org
>Subject: Re: [bf1942] Serious cpu use drop with beta 7
>
>
>"SMP enabled "
>Does that work with hyperthreading?
>How do you enable it?
>
>BhAaD
>----- Original Message ----- 
>From: "Reinder P. Gerritsen" <reinder at strikerz.net>
>To: <bf1942 at icculus.org>
>Sent: Friday, June 27, 2003 9:56 AM
>Subject: RE: [bf1942] Serious cpu use drop with beta 7
>
>
>  
>
>>I had a "hang" last night. While the 3 bf1942_lnxded processes were 
>>still there in the ps output, there was no reaction from the server. 
>>Also screen didn't attach anymore.
>>
>>Unfortunately, I currently have no information about when it exactly 
>>stopped responding, or under which circumstances, but there were 
>>complaints about lag yesterday evening.
>>
>>Slackware 8.1
>>2.4.18 SMP enabled (DIY Compiled to keep out anything that isn't 
>>needed) OB7-Static.
>>
>>Grtz.
>>Fox.
>>
>>-----Original Message-----
>>From: Casey Zacek [mailto:bfb-bf at bogleg.org]
>>Sent: Friday, June 27, 2003 13:58
>>To: bf1942 at icculus.org
>>Subject: Re: [bf1942] Serious cpu use drop with beta 7
>>
>>
>>
>>Yeah, I actually had OB7 crash on me last night around 18:30 central. 
>>The server was full at the time.  I didn't post anything, though, 
>>because I got dumb and deleted the core dump, so I have no backtrace.
>>
>>It had been running for about 32 hours.
>>
>>This time, it was a Segmetation Fault, though, not the Illegal 
>>Instruction I got with OB4.
>>
>>Martin Steiger wrote (at Thu, Jun 26, 2003 at 10:27:34PM +0200):
>>    
>>
>>>Hi
>>>It seems the CPU-load-problem has "disappeared" (at least for my
>>>server it did)...
>>>
>>>Server: P4 2.0 Ghz, 512 MB SDRAM, running DC 0.38 (don't know 
>>>anything
>>>      
>>>
>>>about kernel or anything... :)
>>>
>>>However: did anyone notice crashin the server after some amount of
>>>time? Happened yesterday with 20 players playing Stalingrad and
>>>      
>>>
>today 
>  
>
>>>again with no players on Gazala. If not, can anyone tell me (as easy
>>>      
>>>
>
>  
>
>>>as possible) to get some useful information about this crash? Plz,
>>>      
>>>
>I'm
>  
>
>>>"sort of" a Noob at linux, so only use easy words... :)
>>>
>>>Thanx!
>>>
>>>-----Urspr?ngliche Nachricht-----
>>>Von: Paul Richards [mailto:noxis at clara.net]
>>>Gesendet: Donnerstag, 26. Juni 2003 21:17
>>>An: bf1942 at icculus.org
>>>Betreff: Re: [bf1942] Serious cpu use drop with beta 7
>>>
>>>
>>>Where did those funky stat graphs come from?
>>>
>>>
>>>----- Original Message -----
>>>From: "James Gurney" <james at globalmegacorp.org>
>>>To: <bf1942 at icculus.org>
>>>Sent: Thursday, June 26, 2003 7:23 AM
>>>Subject: [bf1942] Serious cpu use drop with beta 7
>>>
>>>
>>>      
>>>
>>>>I've been running beta7 since this morning, and the cpu use has
>>>>*drmatically* dropped when the server is full.
>>>>
>>>>You can see this neatly illustrated in here:
>>>>
>>>>http://fez.cracksmokingmonkeys.net/woo/
>>>>
>>>>The top graph is cpu use over the last 32 hours or so. The lower
>>>>graph is the number of players on the server in the same time 
>>>>period. As you can see, the number of players has been consistant 
>>>>before and after switching the server to beta 7. However, average 
>>>>cpu use has dropped considerably, which is great news.
>>>>
>>>>Thanks Andreas!
>>>>
>>>>James
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>      
>>>
>>-- 
>>-- Casey Zacek (Zippo)                  Beer for Breakfast servers
>>   66.111.111.66:27015 (CS multi-map)     <http://bfb.bogleg.org/>
>>   66.111.111.66:27016 (CS inferno/dust2/aztec/militia) Dallas, TX
>>   66.111.111.66:14567 (BF1942)
>>
>>    
>>





More information about the Bf1942 mailing list