Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 22:02:14 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Mike Smith <mike@smith.net.au>
Cc:        Ollivier Robert <roberto@keltia.freenix.fr>, freebsd-security@FreeBSD.ORG
Subject:   Re: Using MD5 insted of DES for passwd ecnryption 
Message-ID:  <199804211402.WAA21028@spinner.netplex.com.au>
In-Reply-To: Your message of "Tue, 21 Apr 1998 05:59:33 MST." <199804211259.FAA00330@antipodes.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
> > According to Peter Wemm:
> > > However, the thought of having ld.so on / and a dynamic sh and init seems
> > > to make some people break out into a cold sweat...
[..]
> It would be useful, however, to quantify "way slower", so that we can 
> make personally objective decisions about that...

Bruce Evans (bless his Retro soul :-) has some recent experience with this.
He was running with SHLIBDIR=/lib for some time with a fully dynamic
system. He's since switched to the complete opposite, *everything* static,
including /usr/bin and the works.  He recently got a few percent (5%? 8%?)
of a speedup in the 'make world' stakes by making the /usr/obj/tmp/usr/bin
stuff static and skipping a the build stages of some of the larger shared
libs until later.  (the speedup was due to less overall compiling being
done as well as a reduction in exec startup and PIC relocation overheads).

There is no doubt that going overboard with excessive dynamic linking and
breaking up of libc can really hurt performance.

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe security" in the body of the message



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