Re: 40% slowdown with dynamic /bin/sh

From: Michael Edenfield <kutulu_at_kutulu.org>
Date: Wed, 26 Nov 2003 00:23:20 -0500
* boyd, rounin <boyd_at_insultant.net> [031125 05:16]:
> 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.

Just to provide some real-world numbers, here's what I got out of a
buildworld:

Static /bin/sh:
  real    385m29.977s
  user    111m58.508s
  sys     93m14.450s

Dynamic /bin/sh:
  real    455m44.852s
  user    113m17.807s
  sys     103m16.509s

The dynamic /bin/sh caused just over an 18% performance hit on the make
process, everything else being equal (the rest of my / is dynamically
linked).  It may seem like a pretty large performance hit, but to my the
difference between a 6-hour and a 7-hour world build is just an extra
hour of Quake :\

--Mike


Received on Tue Nov 25 2003 - 20:24:05 UTC

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