Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Aug 2002 10:01:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Aug 2002 10:01:30 -0400 Received: from bay-bridge.veritas.com ([143.127.3.10]:10116 "EHLO mtvmime01.veritas.com") by vger.kernel.org with ESMTP id ; Thu, 22 Aug 2002 10:01:29 -0400 Date: Thu, 22 Aug 2002 15:06:11 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: Marc Dietrich cc: linux-kernel@vger.kernel.org Subject: Re: Hyperthreading In-Reply-To: <200208221115.26458.marc.dietrich@physik.uni-giessen.de> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1343 Lines: 29 On Thu, 22 Aug 2002, Marc Dietrich wrote: > On Wed, 21 Aug 2002, Hugh Dickins wrote: > > > > You do need CONFIG_SMP and a processor capable of HyperThreading, > > i.e. Pentium 4 XEON; but CONFIG_MPENTIUM4 is not necessary for HT, > > just appropriate to that processor in other ways. > > I used KNOPPIX on a 2 way Dell WS 530 (Xeon 2.0 GHz). This distribution has > CONFIG_M386 set (as most others also?) and HT was not enabled. I compiled the > kernel myself (same config as KNOPPIX but with CONFIG_MPENTIUM4) and HT gets > enabled. So is _does_ matter for which processor the kernel is optimized. I'm surprised - perhaps the Knoppix distribution did not have SMP enabled itself, but installed a config with CONFIG_SMP? Or you built more recent kernel sources (2.4.19 defaults to HT on) than the Knoppix distribution (vanilla 2.4.18 defaults to HT off)? It would be awkward for me to try CONFIG_M386 on our P4 Xeon, but I did just try building a CONFIG_M586 CONFIG_SMP kernel for it, which behaved as I expected: /proc/cpuinfo showed 4 cpus, but only 2 cpus when booted with "noht". Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/