From owner-freebsd-hackers Thu Dec 13 20:17:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id C07DC37B416 for ; Thu, 13 Dec 2001 20:17:30 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.6/8.11.4) id fBE4HFm84468; Thu, 13 Dec 2001 20:17:15 -0800 (PST) (envelope-from kris) Date: Thu, 13 Dec 2001 20:17:15 -0800 From: Kris Kennaway To: Peter Wemm Cc: Poul-Henning Kamp , mitko@rila.bg, hackers@FreeBSD.ORG Subject: Re: Performance issue Message-ID: <20011213201715.C84382@citusc17.usc.edu> References: <72360.1007898170@critter.freebsd.dk> <20011209232328.31DC43810@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011209232328.31DC43810@overcee.netplex.com.au>; from peter@wemm.org on Sun, Dec 09, 2001 at 03:23:28PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 09, 2001 at 03:23:28PM -0800, Peter Wemm wrote: > Poul-Henning Kamp wrote: > >=20 > > There are many effects that could cause this, for instance if FreeBSD > > manages to align things differently in relation to the CPU cache you > > could get some very interesting waste of time that way. > >=20 > > Based on the data you show me, I can't really say that something is > > wrong or right either way. >=20 > One thing that Linux does that we do not do is that they have different > versions of libc compiled specifically for different cpu types, and at > boot time set the correct paths. eg: /lib/i386/libc.so.6.whatever >=20 > This means that Linux's glibc is using an i686 optimized bzero(), but > the FreeBSD one is using an i386 optimized bzero(). This could easily be hung off CPUTYPE like we do for the asm code in OpenSSL, right? Kris --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8GX1KWry0BWjoQKURArxbAKDEDbXpTaQ+Jn4RjXTiBUk+N2iLbgCeL5JQ EfETjwio2rIyeFf3uJs2wbM= =m9hd -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message