From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 4 14:56:33 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F5E516A4B3 for ; Sat, 4 Oct 2003 14:56:33 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id B86DF43FBF for ; Sat, 4 Oct 2003 14:56:31 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Oct 2003 22:56:31 +0100 (BST) To: Kris Kennaway In-Reply-To: Your message of "Sat, 04 Oct 2003 13:04:35 PDT." <20031004200435.GA60432@rot13.obsecurity.org> Date: Sat, 04 Oct 2003 22:56:27 +0100 From: Ian Dowse Message-ID: <200310042256.aa22200@salmon.maths.tcd.ie> cc: Richard Coleman cc: Mikulas Patocka cc: freebsd-hackers@freebsd.org Subject: Re: Hyperthreading slowdown X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 21:56:33 -0000 In message <20031004200435.GA60432@rot13.obsecurity.org>, Kris Kennaway writes: >Yes, that's because (as discussed in the archives) the kernel treats >it like an extra, completely decoupled physical CPU and schedules >processes on it without further consideration. This is presumably the >cause of the slowdown, because it's only efficient to use the virtual >CPU under certain workload patterns. HTT is not magic performance >beans. Try also setting the sysctl variable "machdep.cpu_idle_hlt" to 1, as it doesn't help to have the idle logical CPUs spinning. Ian