From owner-freebsd-questions@FreeBSD.ORG Fri May 27 13:54:49 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 4091016A41C for ; Fri, 27 May 2005 13:54:49 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from longbow.arroway.com (mymortgageforeclosures.com [66.252.139.194]) by mx1.FreeBSD.org (Postfix) with SMTP id AA46443D1F for ; Fri, 27 May 2005 13:54:48 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: (qmail 917 invoked by uid 1007); 27 May 2005 13:54:47 -0000 Received: from stormspotter@6Texans.net by longbow by uid 1004 with qmail-scanner-1.22-st-qms (clamdscan: 0.81. spamassassin: 2.64. Clear:RC:1(216.87.134.162):. Processed in 0.522802 secs); 27 May 2005 13:54:47 -0000 Received: from unknown (HELO jacob.6texans.net) (216.87.134.162) by longbow.arroway.com with SMTP; 27 May 2005 13:54:47 -0000 Date: Fri, 27 May 2005 08:54:45 -0500 From: Jacob S To: freebsd-questions@freebsd.org Message-ID: <20050527085445.38de5553@jacob.6texans.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problem with HT support in 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 13:54:49 -0000 Hello list, 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). 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. `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] 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. TIA, Jacob