From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:14:09 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 110FE16A4CF for ; Tue, 20 Apr 2004 01:14:09 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3F743D60 for ; Tue, 20 Apr 2004 01:14:08 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (fc75c4b769bd7474bf3beb772f77ff60@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3K8E45k025814; Tue, 20 Apr 2004 01:14:05 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E7A5552313; Tue, 20 Apr 2004 01:13:34 -0700 (PDT) Date: Tue, 20 Apr 2004 01:13:34 -0700 From: Kris Kennaway To: Rumen Telbizov Message-ID: <20040420081334.GA56291@xor.obsecurity.org> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> <20040420073837.GS32493@e-card.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20040420073837.GS32493@e-card.bg> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org cc: Kris Kennaway 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 08:14:09 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 10:38:37AM +0300, Rumen Telbizov wrote: > Hello,=20 >=20 > 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=3D0 > > >=20 > > > that did the trick. I added it to loader.conf as well. > > >=20 > > > regards, > >=20 > > Note that HTT causes worse performance in many workloads, which is why > > that sysctl defaults to off. >=20 > Would you please point out some cases when HTT with machdep.hlt_logical_c= pus=3D0 > causes worse performance than machdep.hlt_logical_cpus=3D1? > I am using an HTT Xeon since recently and in my tests it showed that > machdep.hlt_logical_cpus=3D0 is better! > A simple ubench (spawning 2 processes) gives better results in 0 mode! My parallel package builds are slower on build machines with HTT. It's not a magic bullet. Kris --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhNuuWry0BWjoQKURAvUoAKDzuswtck4lQP7ut1lMBAd1eKhwSQCg9+hd 1Sg/8LEbl87aCgIhPZJenP4= =NsB8 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--