From owner-freebsd-stable Thu Feb 13 8:53:30 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D6F37B401 for ; Thu, 13 Feb 2003 08:53:27 -0800 (PST) Received: from isp1.viapraga.cz (isp1.viapraga.cz [212.67.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18BE043FBD for ; Thu, 13 Feb 2003 08:53:26 -0800 (PST) (envelope-from Zdenek.Roubicek@pragonet.cz) Received: from smudla.pragonet.cz (smudla.pragonet.cz [212.67.66.2]) by isp1.viapraga.cz (8.12.3/8.12.3/Debian -4) with ESMTP id h1DGrSaw014758 for ; Thu, 13 Feb 2003 17:53:28 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: 4.7-stable & smp X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Thu, 13 Feb 2003 17:53:24 +0100 Message-ID: <9256D57F598E6C41B288AA7DB94F29C9604A2A@pgnmail1.pgnaplikace.cz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 4.7-stable & smp Thread-Index: AcLS8iauj+E4PoJAR2icxdjqHv7LJwAi/inA From: =?iso-8859-1?Q?Roub=EDcek_Zdenek_=28PragoNet=29?= To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG =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 > > > > 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 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 > > 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