Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 17:53:24 +0100
From:      =?iso-8859-1?Q?Roub=EDcek_Zdenek_=28PragoNet=29?= <Zdenek.Roubicek@pragonet.cz>
To:        <stable@FreeBSD.ORG>
Subject:   RE: 4.7-stable & smp
Message-ID:  <9256D57F598E6C41B288AA7DB94F29C9604A2A@pgnmail1.pgnaplikace.cz>

next in thread | raw e-mail | index | archive | help
=20
 Any chance to disable it (hyperthreading)? I just want 2 physical CPUs =
not 4 virtual working.

 Thx, zdenek
=20

> -----Original Message-----
> From: Erik Trulsson [mailto:ertr1013@student.uu.se]
> Sent: Thursday, February 13, 2003 12:54 AM
> To: Mike Hoskins
> Cc: stable@FreeBSD.ORG
> Subject: Re: 4.7-stable & smp
>=20
>=20
> On Wed, Feb 12, 2003 at 03:43:53PM -0800, Mike Hoskins wrote:
> >=20
> > After building world from a cvsup on Feb 10 I see,
> >=20
> > % dmesg
> > <snip>
> > SMP: AP CPU #2 Launched!
> > SMP: AP CPU #1 Launched!
> > SMP: AP CPU #3 Launched!
> >=20
> > I don't recall seeing mention of "CPU #3" before.  (It is a=20
> 2 CPU box.)
> > Is this actually something broken (seems to work just fine), or just
> > semantics?  :)  It does say "2 logical CPUs":
>=20
> It is not a bug, it is a feature. :-)
> The magical word here is "Hyperthreading".  With Intel's latest P4 and
> Xeon CPUs you can treat each physical CPU as two logical CPUs.=20
> Basic support for this was recently added to -stable. You are seeing
> the results of this.
>=20
> >=20
> > CPU: Intel(R) XEON(TM) CPU 2.00GHz (1989.47-MHz 686-class CPU)
> >   Origin =3D "GenuineIntel"  Id =3D 0xf24  Stepping =3D 4
> >=20
> Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SE
> P,MTRR,PGE,MCA,C
> > MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> >   Hyperthreading: 2 logical CPUs
> > real memory  =3D 1073676288 (1048512K bytes)
> > avail memory =3D 1041915904 (1017496K bytes)
> > Changing APIC ID for IO APIC #0 from 0 to 4 on chip
> > Changing APIC ID for IO APIC #1 from 0 to 5 on chip
> > Changing APIC ID for IO APIC #2 from 0 to 6 on chip
> > Programming 16 pins in IOAPIC #0
> > IOAPIC #0 intpin 2 -> irq 0
> > Programming 16 pins in IOAPIC #1
> > Programming 16 pins in IOAPIC #2
> > FreeBSD/SMP: Multiprocessor motherboard
> >  cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
> >  cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
> >  cpu2 (AP):  apic id:  2, version: 0x00050014, at 0xfee00000
> >  cpu3 (AP):  apic id:  3, version: 0x00050014, at 0xfee00000
> >  io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
> >  io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
> >  io2 (APIC): apic id:  6, version: 0x000f0011, at 0xfec02000
>=20
> --=20
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013@student.uu.se
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>=20

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9256D57F598E6C41B288AA7DB94F29C9604A2A>