From owner-freebsd-questions@FreeBSD.ORG Fri May 27 13:58:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0714916A41C for ; Fri, 27 May 2005 13:58:41 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A718143D4C for ; Fri, 27 May 2005 13:58:40 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1593710wri for ; Fri, 27 May 2005 06:58:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fW7zrBJNGXePDUjPnG5fr/bnsQsVEwP2CQAlbUtTPcsr3hbxSAqqFxlLpkRftmGXC1TDpMo4+jca0XbF13UPecBowvZ792pTu1A78YwmLii/V2XE4npKPdc51jfk6cLxlfmxGRo4MJbDqWrDclhlkaG7YQujE7y+d4GZozMaPrM= Received: by 10.54.8.41 with SMTP id 41mr2549510wrh; Fri, 27 May 2005 06:58:39 -0700 (PDT) Received: by 10.54.56.33 with HTTP; Fri, 27 May 2005 06:58:39 -0700 (PDT) Message-ID: Date: Fri, 27 May 2005 17:58:39 +0400 From: Dmitry Mityugov To: Jacob S In-Reply-To: <20050527085445.38de5553@jacob.6texans.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050527085445.38de5553@jacob.6texans.net> Cc: freebsd-questions@freebsd.org Subject: Re: Problem with HT support in 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Mityugov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 13:58:41 -0000 On 5/27/05, Jacob S wrote: > Hello list, >=20 > I upgraded a few 5.3 servers to 5.4 yesterday and everything seemed to > go well. After booting the new kernel, dmesg correctly showed 2 logical > cpus (1 xeon with HT). >=20 > However, when I look at top's output, it always shows at least 50% cpu > idle time - even when the load is above 10. To confirm this, I ran > burnP6 from the cpuburn port - even with over a hundred apache processes > going, exim running and a few other things, top still reported the cpu > as 50% idle. The 'C' column in top, between 'State' and 'Time' also > shows everything as being run on cpu 0. >=20 > `ps ax | grep cpu` reports this: > 11 ?? RL 0:00.00 [idle: cpu1] > 12 ?? RL 931:45.24 [idle: cpu0] > 108 ?? DL 0:04.02 [schedcpu] >=20 > So it looks like smp support is enabled and it sees the HT enabled > processor, but it's not using the second logical cpu. Is there something > I missed in compiling the kernel, or is this a bug? I have confirmed it > on two 5.4 servers now. Was option smp used to compile the kernel? What other changes to the kernel configuration file were made? Dmitry