From owner-freebsd-stable@FreeBSD.ORG Wed Jan 14 05:13:03 2004 Return-Path: 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 1957916A4CE for ; Wed, 14 Jan 2004 05:13:03 -0800 (PST) Received: from dev.null.cz (dev.null.cz [81.0.254.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E8F43D5E for ; Wed, 14 Jan 2004 05:12:45 -0800 (PST) (envelope-from buki@dev.null.cz) Received: from dev.null.cz (localhost [127.0.0.1]) by dev.null.cz (8.12.9p2/8.12.9) with ESMTP id i0EDCeOe028715 for ; Wed, 14 Jan 2004 14:12:40 +0100 (CET) (envelope-from buki@dev.null.cz) Received: (from buki@localhost) by dev.null.cz (8.12.9p2/8.12.9/Submit) id i0EDCesj028710 for stable@freebsd.org; Wed, 14 Jan 2004 14:12:40 +0100 (CET) (envelope-from buki) Date: Wed, 14 Jan 2004 14:12:40 +0100 From: Buki To: stable@freebsd.org Message-ID: <20040114131240.GA28095@dev.null.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on dev.null.cz Subject: 4.9 /usr/src/UPDATING error? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 13:13:03 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi, I have FreeBSD 4.9-RELEASE-p1 #0: Tue Dec 9 16:46:46 CET 2003 and as I have dual P4 @2.4GHz I was wondering about HyperThreading(tm). In UPDATING I rea= d: 20031022: Support for HyperThread logical CPUs has now been enabled by default. As a result, the HTT kernel option no longer exists. Instead, the logical CPUs are always started so that they can handle interrupts. However, the extra logical CPUs are prevented from executing user processes by default. To enable the logical CPUs, change the value of the machdep.hlt_logical_cpus from 1 to 0. This value can also be set from the loader as a tunable of the same name. but it seems like there is no such sysctl oid: #sysctl machdep. | grep cpu machdep.cpu_idle_hlt: 1 machdep.smp_cpus: 4 machdep.hlt_cpus: 0 so I have no oid set in /etc/sysctl.conf or loader.conf nevertheless, the system seems to work out of the box: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2393.19-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf25 Stepping =3D 5 Features=3D0xbfebfbff Hyperthreading: 2 logical CPUs =2E.. FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 =2E.. SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! and 'top' confirms that processes are running on CPU 0 through 3 shouldn't be UPDATING corrected? Buki --=20 PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFABUBIPzhIkpLLm08RAl6IAJ9Acw70tXn9qx2FNUUAexIWyNuL4ACfTOQB HTPaqQAjcCHlQ5mKki1icMk= =BRZx -----END PGP SIGNATURE----- --DocE+STaALJfprDB--