Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2003 22:43:19 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        kutulu@kutulu.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: 40% slowdown with dynamic /bin/sh
Message-ID:  <20031125.224319.118629587.imp@bsdimp.com>
In-Reply-To: <20031126052626.GI15294@wombat.localnet>
References:  <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031125.100653.28845083.imp@bsdimp.com> <20031126052626.GI15294@wombat.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20031126052626.GI15294@wombat.localnet>
            Michael Edenfield <kutulu@kutulu.org> writes:
: * M. Warner Losh <imp@bsdimp.com> [031125 12:07]:
: > In message: <00a701c3b33c$f798c5e0$b9844051@insultant.net>
: >             "boyd, rounin" <boyd@insultant.net> writes:
: > : i see that there some doubt about whether running lots of
: > : shell scripts ever happens.  what happens when you
: > : use make?  lots of shells get run and they run small
: > : (one line?) scripts.
: > 
: > make buildworld slows down < 1% when you switch from static /bin/sh to
: > dynamic.
: 
: I'm all for dynamic / and dynamic /bin/sh, but this doesn't even come
: close to what I observed on my systems.  I see anywhere from 15% to 20%
: slowdown in buildworld, depending on how bad my hardware already is.  I
: posted my most recent numbers earlier.

My dual athlon make -j 4 buildworld differed by about 16-20 seconds on
a 36 minute buildworld.

: It's difficult to get lots of these numbers, unfortunately, because it
: takes a good 6-8 hours just to complete one build.  But the numbers are
: fairly consistant across the different degrees of old crappy hardware I
: have.

So you are seeing a about an hour slowdown (16% slowdown on 6 hours is
1 hour) from before/after?  Or are you seeing an hour slowdown from
4.x -> 5.2-beta?

Also, so we can characterize where the suckage happens, how much
RAM/CPU does your system have?

Warner



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