Re: Optimizing System Performance

[prev] [thread] [next] [lurker] [Date index for 2004/07/08]

From: Michael G Schwern
Subject: Re: Optimizing System Performance
Date: 15:28 on 08 Jul 2004
On Thu, Jun 10, 2004 at 09:13:10AM -0500, Peter da Silva wrote:
> > What the heck does it *do* when it says "optimizing system performance"?
> 
> Prelinks all the dynamic libraries so it doesn't have to calculate offsets
> and stuff at load time.

Let's see.  If this speeds up loading an app by, and let's be generous here,
5 seconds.  And it takes 5 minutes (300 seconds) to "optimize" system
performance.  You have to load the application 60 times before you get a
win.  Since one has to reoptimize on every installation and update one
wonders if this prelinking is worth the trouble.

Somebody needs to remind the Apple engineers that there's a constant
associated with O(1) and sometimes its really big.

Wouldn't be so bad if they did it in the background at a low priority.


-- 
Michael G Schwern        schwern@xxxxx.xxx  http://www.pobox.com/~schwern/
the chair. it wants to die. oh no! she sees me! she attacks!
There's stuff above here

Generated at 09:00 on 03 Aug 2004 by mariachi 0.52