Re: 40% slowdown with dynamic /bin/sh

From: Erik H. Bakke <ebakke_at_trolltech.com>
Date: Tue, 25 Nov 2003 10:54:31 +0100
On Tuesday 25 November 2003 03:07, Don Lewis wrote:
> On 25 Nov, Daniel O'Connor wrote:
> > On Tuesday 25 November 2003 11:52, Dan Nelson wrote:
> >  > > I'd greatly prefer that the the dynamic root default be backed out
> >  > >
> >> > > until a substantial amount of this performance can be recovered.
> >> >
> >> > What _REAL WORLD_ task does this slow down?
> >>
> >> 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.
>
> The ports infrastructure is horribly slow even with a static sh, though
> not as glacially slow as installing and patching Solaris 9.
>
But if the change to dynamic root "provokes" this slowdown that people have 
been seeing, it would be much better to address the cause and not the 
symptom.

The change to dynamic root here is not the cause, the extra overhead of using 
dynamically linked tools is, and that should be the main focus point.

If the overhead of dynamic linking is reduced, that will benefit all of us, 
even if we use a dynamic root or not.

-- 
Erik H. Bakke
Received on Tue Nov 25 2003 - 00:54:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC