Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 09:43:57 -0500
From:      Michael Edenfield <kutulu@kutulu.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 40% slowdown with dynamic /bin/sh
Message-ID:  <20031126144357.GK15294@wombat.localnet>
In-Reply-To: <p06002014bbea2b21766b@[128.113.24.47]>
References:  <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031126052320.GH15294@wombat.localnet> <p06002014bbea2b21766b@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help

--g4MvFqI7wmANiPDo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Garance A Drosihn <drosih@rpi.edu> [031126 06:56]:
> At 12:23 AM -0500 11/26/03, Michael Edenfield wrote:
> >
> >Just to provide some real-world numbers, here's what I got
> >out of a buildworld:
>=20
> I have reformatted the numbers that Michael reported,
> into the following table:
>=20
> >Static /bin/sh:         Dynamic /bin/sh:
> >  real    385m29.977s     real    455m44.852s   =3D> 18.22%
> >  user    111m58.508s     user    113m17.807s   =3D>  1.18%
> >  sys      93m14.450s     sys     103m16.509s   =3D> 10.76%
> >                          user+sys              =3D>  5.53%

Since I forgot to include this information (sorry!):

Both runs were done by doing:

rm -rf /usr/obj
sync
script <logfile>
cp -f /bin/sh.{dynamic,static} /bin/sh
file /bin/sh
time make -j 4 buildworld

They were on a single CPU Athlon 500 with 320MB of RAM.  I actually
don't normally do -j 4 on this system, only -j 2, but I'm use to
building on the dual Athlons we use to make production kernels and it
slipped in.  Since it takes hours to run once it's started I just let it
run. :)

--Mike


--g4MvFqI7wmANiPDo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/xLwtCczNhKRsh48RAt/6AJ424f3bavQj+EC2jVB0oIjPJ8qSWgCgsWQS
l822Jo0T8MhIAgRXoTokaS0=
=4jPs
-----END PGP SIGNATURE-----

--g4MvFqI7wmANiPDo--



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