From owner-freebsd-hackers Sun Dec 9 15:23:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id DBF6537B419 for ; Sun, 9 Dec 2001 15:23:34 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011209232329.VNA4213.rwcrmhc52.attbi.com@peter3.wemm.org> for ; Sun, 9 Dec 2001 23:23:29 +0000 Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fB9NNSs31685 for ; Sun, 9 Dec 2001 15:23:28 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 31DC43810; Sun, 9 Dec 2001 15:23:28 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: mitko@rila.bg, hackers@FreeBSD.ORG Subject: Re: Performance issue In-Reply-To: <72360.1007898170@critter.freebsd.dk> Date: Sun, 09 Dec 2001 15:23:28 -0800 From: Peter Wemm Message-Id: <20011209232328.31DC43810@overcee.netplex.com.au> 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 Poul-Henning Kamp wrote: > > 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. > > Based on the data you show me, I can't really say that something is > wrong or right either way. 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 This means that Linux's glibc is using an i686 optimized bzero(), but the FreeBSD one is using an i386 optimized bzero(). Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message