From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:58:40 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 571D616A4CE for ; Tue, 20 Apr 2004 01:58:40 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4756F43D1D for ; Tue, 20 Apr 2004 01:58:40 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (08c95a5ffd482b2fed81d1a3b805109d@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 i3K8wb5k006488; Tue, 20 Apr 2004 01:58:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A32F6511D0; Tue, 20 Apr 2004 01:58:37 -0700 (PDT) Date: Tue, 20 Apr 2004 01:58:37 -0700 From: Kris Kennaway To: Rumen Telbizov Message-ID: <20040420085837.GA57184@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> <20040420081334.GA56291@xor.obsecurity.org> <20040420085322.GV32493@e-card.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20040420085322.GV32493@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:58:40 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 11:53:22AM +0300, Rumen Telbizov wrote: > > > Would you please point out some cases when HTT with machdep.hlt_logic= al_cpus=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! > >=20 > > My parallel package builds are slower on build machines with HTT. > > It's not a magic bullet. > >=20 > > Kris >=20 > Hmm ... interesting. My simple/stupid synthetic tests > showed just the opposite. Anyway. Unfortunatelly I didn't > try to buildworld/kernel with -j2 (say). Shame on me! >=20 > Would you point to a case where machdep.hlt_logical_cpus=3D0 does > show better performance results? httpd ? >=20 > Is it not that exactly _parallel processing_ should be faster with HTT > than whithout ? No, because HTT is not an extra CPU. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhOY9Wry0BWjoQKURAq+uAKD88qQMW1aBvAkMCtOnFktA6V0/RwCeNDIj NPOIgto4SZfQCwPbFHMVo7w= =3FzU -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--