Re: 40% slowdown with dynamic /bin/sh

From: Sam Leffler <sam_at_errno.com>
Date: Mon, 24 Nov 2003 21:25:13 -0800
On Monday 24 November 2003 07:06 pm, Andrew Gallatin wrote:
> M. Warner Losh writes:
>  > In message: <16322.47726.903593.393976_at_grasshopper.cs.duke.edu>
>  > I'm just saying that most of the developers I'm talking to on IRC say
>  > this tread is insane, has no content and they are blowing it off
>  > because of that.  A concrete, real benchmark will go a long way
>  > towards changing that.  Until then, you are as good as kill filed.
>
> How about Gordon's initial bootstone, which increased by 25%?
> http://docs.freebsd.org/cgi/mid.cgi?16091.44150.539095.704531
>
> And I just did a "make clean" run in /usr/ports/archivers (by manually
> mv'ing a static and dynamic sh to /bin in turn):
>
> static:       96.63 real        53.45 user        39.27 sys
> dynamic:     112.42 real        55.51 user        51.62 sys
>
> The wall clock is bad (16% worse) and the system time is worse (31%).
>
>
> So..
>
> 1) Microbenchmark:	40% worse
> 2) Bootstone(*):	25% worse
> 3) Ports:		16% worse

I don't believe it was ever demonstrated there was no significant performance 
loss.  I think the switch should not be made until this is resolved.  netbsd 
went through this recently and made an effort to bring performance of a 
dynamic root in line with a static root before making the change.

	Sam
Received on Mon Nov 24 2003 - 20:19:32 UTC

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