From owner-freebsd-current Thu Feb 15 22:42:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-49.dsl.lsan03.pacbell.net [64.165.226.49]) by hub.freebsd.org (Postfix) with ESMTP id 808A137B503 for ; Thu, 15 Feb 2001 22:42:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 195EA66E6A; Thu, 15 Feb 2001 22:42:38 -0800 (PST) Date: Thu, 15 Feb 2001 22:42:38 -0800 From: Kris Kennaway To: Peter Jeremy Cc: Alfred Perlstein , Kris Kennaway , current@FreeBSD.ORG Subject: Re: OpenSSL ASM patch Message-ID: <20010215224237.C30269@mollari.cthul.hu> References: <20010211094946.A51308@mollari.cthul.hu> <20010211122802.A78975@mollari.cthul.hu> <20010211124707.S3274@fw.wintelcom.net> <20010211125042.B79375@mollari.cthul.hu> <20010211130243.V3274@fw.wintelcom.net> <20010216155756.A70642@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="wxDdMuZNg1r63Hyj" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010216155756.A70642@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Fri, Feb 16, 2001 at 03:57:57PM +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --wxDdMuZNg1r63Hyj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2001 at 03:57:57PM +1100, Peter Jeremy wrote: > I'm sure something similar would be possible with FreeBSD, but I don't > have the expertise to actually implement it. I'm less certain how > much of a win this would be in the general scheme of things: Apart > from special cases (like OpenSSL), I don't think the libraries have > a significant impact on overall performance. This would be quite doable, but I agree with you in thinking there aren't many people who would make use of it. If the kernel were to become dynamically tunable so e.g. GENERIC would dynamically select between the various CPU-specific asm optimizations, then there'd be more of a justification to making a generic userland self-tuning as well. > IMHO, the main market for this feature would be people who just do > binary installs - if you're doing a buildworld, you can tune to your > hardware[1]. If we wanted to just speed up OpenSSL on binary > installs, we could have processor-optimised variants of libssl.* > available as packages (tick the box that suits your processor if you > want the optimised library). If/when we ever get a packaged base system this would be a good and easy thing to do. We could do it now, but it wouldn't be natural in the sysinstall scheme of things (i.e. you'd have to install the OS, and then select the OpenSSL-i686 package from the listing of packages in the ports tree). Kris --wxDdMuZNg1r63Hyj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6jMvdWry0BWjoQKURAqxkAKCeQzijGHDy4i51RhzyFo3yfmluTwCgpA0S J/PUG1oUQ5oLUCJGuIrk/aw= =ayRu -----END PGP SIGNATURE----- --wxDdMuZNg1r63Hyj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message