Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2001 15:23:28 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        mitko@rila.bg, hackers@FreeBSD.ORG
Subject:   Re: Performance issue 
Message-ID:  <20011209232328.31DC43810@overcee.netplex.com.au>
In-Reply-To: <72360.1007898170@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011209232328.31DC43810>