LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-18-2006, 12:19 AM   #1
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Rep: Reputation: 0
Dual Xeon appears as dual-core in 6.1


Hi there!

Got pretty confused with this one. I'm trying to set a new server with FreeBSD 6.1 and it appears as if my processors are Dual-core ones while they're not. I have this in the dmesg.boot:

Code:
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf4a  Stepping = 10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
Further down, in dmesg.boot again, I see:

Code:
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
Is this a problem in the CPUs being identified properly, is this the normal way it should appear, or is it a case of having paid for single-core and got given dual-core ( I wish :-) )

Thanks a lot,
Thanos
 
Old 05-18-2006, 12:37 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,082

Rep: Reputation: 299Reputation: 299Reputation: 299
Do your Xeons having hyperthreading enabled? AFAIK a hyperthreading CPU will appear as two CPU cores.
 
Old 05-18-2006, 08:19 AM   #3
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Original Poster
Rep: Reputation: 0
I think they are hyperthreading enabled indeed. Here's some more of my dmesg.boot.
I think the 'HTT' bit in the features line means they're hyperthreading enabled, no?

Code:
FreeBSD 6.1-RELEASE #0: Thu May 18 05:14:07 BST 2006
    root@poseidon.7mbit.net:/usr/obj/usr/src/sys/POSEIDON-WEB

Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf4a  Stepping = 10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3151065088 (3005 MB)
ACPI APIC Table: <DELL   PE1800  >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
Thanks a lot!
 
Old 05-18-2006, 11:14 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,082

Rep: Reputation: 299Reputation: 299Reputation: 299
I'm not sure about the HTT, but I don't think there are any 3.2 GHz Xeon models that don't have hyperthreading, so this sounds like what it is.
 
Old 05-19-2006, 12:00 PM   #5
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your time btmiller.

I've looked around a wee bit more and found out that it's actually better to disable hyperthreading. You can do this from the BIOS.

Just posting this for anyone that probably had similar probs.

Have a look here.

http://www.bsdforums.org/forums/show...HyperThreading

http://www.bsdforums.org/forums/show...HyperThreading

http://www.bsdforums.org/forums/show...HyperThreading

You will basically find out that you generally get better performance with HyperThreading disabled....

Thanks again..
 
  


Reply

Tags
dualcore, performance, xeon


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.2 and dual Xeon problems.. masterross Slackware 11 01-07-2006 04:24 AM
Multiprocessor Kernel for my Dual Xeon Randvegeta Linux - Hardware 3 07-21-2005 05:10 PM
Debian with Dual Xeon processor. r_akarach Debian 7 12-22-2004 09:16 AM
Dual Xeon - Spread 99.9 to 2 Procs? astroboy5714 Linux - Hardware 4 11-05-2003 04:12 PM
dual xeon c0c0deuz Linux - Hardware 1 08-09-2003 02:07 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration