Re: 40% slowdown with dynamic /bin/sh

From: Colin Percival <colin.percival_at_wadham.ox.ac.uk>
Date: Wed, 26 Nov 2003 05:53:30 +0000
At 00:23 26/11/2003 -0500, Michael Edenfield wrote:
>Static /bin/sh:
>   real    385m29.977s
>   user    111m58.508s
>   sys     93m14.450s
>
>Dynamic /bin/sh:
>   real    455m44.852s
>   user    113m17.807s
>   sys     103m16.509s

   Given that user+sys << real in both cases, it looks like you're running 
out of memory; it's not surprising that dynamic linking has an increased 
cost in such circumstances, since reading the diverse files into memory 
will take longer than reading a single static binary.
   I doubt many systems will experience this sort of performance delta.

Colin Percival
Received on Tue Nov 25 2003 - 20:53:36 UTC

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