From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:32:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C606A106568A for ; Sun, 21 Dec 2008 22:32:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 457AA8FC1A for ; Sun, 21 Dec 2008 22:32:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEWr0-00086g-Rz for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 22:32:54 +0000 Received: from 93-138-47-112.adsl.net.t-com.hr ([93.138.47.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 22:32:54 +0000 Received: from ivoras by 93-138-47-112.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 22:32:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sun, 21 Dec 2008 23:32:44 +0100 Lines: 54 Message-ID: References: <200812202039.NAA10290@lariat.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8F241890DBD490D25AC8994B" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-47-112.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <200812202039.NAA10290@lariat.net> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Status of hyperthreading in FreeBSD 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: Sun, 21 Dec 2008 22:32:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8F241890DBD490D25AC8994B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Brett Glass wrote: > Which raises a question: What's the status of FreeBSD's support for > hyperthreading? As far as I know, after it was revealed that some > processes on a machine with hyperthreading could "spy" on others, and Yes, but that is a hardware problem which is independent of the operating system (it's present in all of them). > also that hyperthreading didn't always improve performance on high end > processors, the feature was turned off by default. But on single-user Yes, especially on the early Pentium 4 CPUs. This is also OS-independent.= > machines, or on servers where the CPU was likely to be shared by two > processes that were both privileged anyway, it might make sense to > re-enable it. But has this feature of the scheduler been maintained wel= l > enough for this to be a good idea? If not, would it worth looking into > updating it so that FreeBSD runs well on the Atom? It's as good as it can be on recent ULE2 scheduler. ULE2 has support for HTT but there's not much that can be done at the scheduler level as the Atom is single-socket, single-core CPU. Atom's HTT is actually pretty good - I saw up to 25% more performance simply by using multithreading in 7zip's compression benchmark (on WinXP, though). Of course, OTOH it uses about that much more transistors on the CPU die so it's not exactly free performance. --------------enig8F241890DBD490D25AC8994B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklOxAwACgkQldnAQVacBcg+2ACfcdQR4tUuh4pjToLJAOq7Z8tA JTkAn0HBhmeKnjn8E5i2av7dTDJzEtSX =h2O/ -----END PGP SIGNATURE----- --------------enig8F241890DBD490D25AC8994B--