Date: Wed, 26 Nov 2003 05:53:30 +0000 From: Colin Percival <colin.percival@wadham.ox.ac.uk> To: Michael Edenfield <kutulu@kutulu.org>, "boyd, rounin" <boyd@insultant.net> Cc: freebsd-current@freebsd.org Subject: Re: 40% slowdown with dynamic /bin/sh Message-ID: <5.0.2.1.1.20031126054607.02e7f148@popserver.sfu.ca> In-Reply-To: <20031126052320.GH15294@wombat.localnet> References: <00a701c3b33c$f798c5e0$b9844051@insultant.net> <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.1.20031126054607.02e7f148>