Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2003 03:26:14 +0100
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        gallatin@cs.duke.edu
Subject:   Re: 40% slowdown with dynamic /bin/sh
Message-ID:  <20031125032614.3701d7b3.sheepkiller@cultdeadsheep.org>
In-Reply-To: <200311251214.23290.doconnor@gsoft.com.au>
References:  <16322.26365.159173.946033@grasshopper.cs.duke.edu> <200311251049.18227.doconnor@gsoft.com.au> <20031125012208.GD46761@dan.emsphone.com> <200311251214.23290.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Nov 2003 12:14:23 +1030
"Daniel O'Connor" <doconnor@gsoft.com.au> wrote:

> > Try timing "cd /usr/ports/www/mozilla-devel ; make clean" with static
> > and dynamic /bin.  bsd.port.mk spawns many many many /bin/sh processes.
> 
> OK my bad, it will probably slow down the ports building.

you can use put SH=/rescue/sh in your make.conf if you think it can have an impact...

[root@lucifer|(501)| kde3]# ldd /bin/sh 
/bin/sh:
        libedit.so.4 => /lib/libedit.so.4 (0x28094000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x280a9000)
        libc.so.5 => /lib/libc.so.5 (0x280e8000)
[root@lucifer|(502)| kde3]# ldd /rescue/sh
ldd: /rescue/sh: not a dynamic executable
[root@lucifer|(503)| kde3]# time make clean SH=/bin/sh
<snip output>
real    0m45.019s
user    0m20.657s
sys     0m18.339s
[root@lucifer|(504)| kde3]# time make clean SH=/rescue/sh
<snip output>
real    0m45.476s
user    0m20.892s
sys     0m18.131s
[root@lucifer|(505)| kde3]# uname -ar
FreeBSD lucifer.cultdeadsheep.org 5.2-BETA FreeBSD 5.2-BETA #0: Sat Nov 22 21:09:27 CET 2003     clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER  i386

clem



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