From owner-freebsd-questions@FreeBSD.ORG Sat Mar 13 08:50:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88D716A4CE for ; Sat, 13 Mar 2004 08:50:38 -0800 (PST) Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6144243D31 for ; Sat, 13 Mar 2004 08:50:38 -0800 (PST) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp04.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HUI00A10XK6FI@smtp04.wxs.nl> for freebsd-questions@freebsd.org; Sat, 13 Mar 2004 17:52:56 +0100 (MET) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i2DGmxZt098311; Sat, 13 Mar 2004 17:48:59 +0100 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i2DGmqUQ098310; Sat, 13 Mar 2004 17:48:52 +0100 Content-return: prohibited Date: Sat, 13 Mar 2004 17:48:52 +0100 From: Alex de Kruijff In-reply-to: <20040313133737.GA21068@athena.oekb.co.at> To: a@jenisch.at Message-id: <20040313164852.GA981@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20040313133737.GA21068@athena.oekb.co.at> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: freebsd-questions@freebsd.org Subject: Re: SMP vs. Hyperthreading? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 16:50:38 -0000 On Sat, Mar 13, 2004 at 02:37:37PM +0100, a@jenisch.at wrote: > Hi, > > I've got a machine with a P4 that supports HTT (Hyperthreading) so I > thought about setting up a SMP-kernel. > > Under 4.9 it seems to work (see excerpts from /var/log/messages > below), whereas on the same exact hardware under 5.2.1 I don't see two > virtual CPUs working. > > For a first check I've run "cpuburn" (i.e. burnP6). Under 4.9 with one > "cpuburn" process active "top" etc. show a cpu-load of about 50% which > for me means SMP/HTT is active. > > Under 5.2.1 it's a different story though: /var/log/messages shows > that there are 2 CPUs but the message indicating the second CPU has > been launched is missing ("/kernel: SMP: AP CPU #1 Launched!"). When I > run a "cpuburn"-Test under 5.2.1 CPU load indicated by "top" shows > 100% so I assume SMP/HTT is not active. > > > So my primary question is - how do I get SMP running under 5.2.1 with > a hyperthreading-capable P4?? I installed 5.2 and that came ready to run afther the install. I didn't have to do anything for it. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/