From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 00:37:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D79116A4CF for ; Tue, 20 Apr 2004 00:37:33 -0700 (PDT) Received: from cray.e-card.bg (mjak.e-card.bg [212.91.167.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F17743D5D for ; Tue, 20 Apr 2004 00:37:32 -0700 (PDT) (envelope-from altares@cray.e-card.bg) Received: from cray.e-card.bg (localhost [127.0.0.1]) by cray.e-card.bg (8.12.9/8.12.9) with ESMTP id i3K7cl5k062849; Tue, 20 Apr 2004 10:38:47 +0300 (EEST) (envelope-from altares@cray.e-card.bg) Received: (from altares@localhost) by cray.e-card.bg (8.12.9/8.12.9/Submit) id i3K7cbUA062837; Tue, 20 Apr 2004 10:38:37 +0300 (EEST) Date: Tue, 20 Apr 2004 10:38:37 +0300 From: Rumen Telbizov To: Kris Kennaway Message-ID: <20040420073837.GS32493@e-card.bg> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419093523.GA34419@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org Subject: Re: HTT and SMP question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 07:37:33 -0000 Hello, On Mon, Apr 19, 2004 at 02:35:23AM -0700, Kris Kennaway wrote: > On Mon, Apr 19, 2004 at 11:20:52AM +0200, Morten A. Middelthon wrote: > > sysctl -w machdep.hlt_logical_cpus=0 > > > > that did the trick. I added it to loader.conf as well. > > > > regards, > > Note that HTT causes worse performance in many workloads, which is why > that sysctl defaults to off. Would you please point out some cases when HTT with machdep.hlt_logical_cpus=0 causes worse performance than machdep.hlt_logical_cpus=1? I am using an HTT Xeon since recently and in my tests it showed that machdep.hlt_logical_cpus=0 is better! A simple ubench (spawning 2 processes) gives better results in 0 mode! Thank you in advance! Rumen Telbizov