Re: 40% slowdown with dynamic /bin/sh

[ Available lists | Index of freebsd-current | Month of Nov 2003 | Week of 25 Nov 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Michael Edenfield <kutulu@kutulu.org>
Date
25 Nov 2003 21:27:09
Subject
Re: 40% slowdown with dynamic /bin/sh
Message-ID
20031126052626.GI15294@wombat.localnet

In reply to

[ Hide this part ]
* 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.

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.

-Mike



[ Show this part (application/pgp-signature) ]

Elapsed time: 0.190 seconds