Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » General Discussion   » Optimizing...

UBBFriend: Email this page to someone!    
Author Topic: Optimizing...
Dan
Member
Member # 106

posted October 08, 2001 05:51 PM      Profile for Dan     Send New Private Message      Edit/Delete Post  Reply With Quote 
What goes on when the installer says it's 'optimizing system performance'? thx
Posts: 27 | Registered: Sep 2001  |  IP: Logged
Marco
Junior Member
Member # 239

posted November 29, 2001 10:41 AM      Profile for Marco     Send New Private Message      Edit/Delete Post  Reply With Quote 
very good question. this takes a very long time on my new 10.1.1/G4. very long means over 5 minutes ! what happen there ? show log says scanning disk for the most of the time.

[ November 29, 2001: Message edited by: Marco ]


Posts: 2 | From: Berlin, Germany | Registered: Nov 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted November 29, 2001 03:37 PM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
i'm not sure, but my theory is:
update_prebinding
what i think that does is associate various system things so stuff like files will open in the right applications, but i really don't know.
and optimizing takes different amounts of times for different installs, too. system installs take forever, shtuff i get here doesn't normally take too long.

--------------------

--

-willy
"Freedom will henceforth be compulsory." -Random Party Manifesto


Posts: 92 | Registered: Aug 2001  |  IP: Logged
Marco
Junior Member
Member # 239

posted November 29, 2001 07:15 PM      Profile for Marco     Send New Private Message      Edit/Delete Post  Reply With Quote 
wow, i reinstalled with hfs+ instead of ufs and its a lot faster now!

i thought i had a unix system ..... i wonder why osx do so crappy with ufs?


Posts: 2 | From: Berlin, Germany | Registered: Nov 2001  |  IP: Logged
apex
Administrator
Member # 1

posted January 03, 2002 12:56 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
I'm not sure what runs when one of the packages from this site is installed. Most packages from apple will have some interesting files in them;

code:

package.pkg/Contents/Resources/preflight


This is a script which runs before the package is installed.

code:

package.pkg/Contents/Resources/postflight


This runs after the pax archive is installed.
You can check these out to see what apples packages are doing. There are usually some other scripts in this directory which determine the osx version you are running and lots of other things.

You can run any of Apples installers manually like this:

code:

su
(enter root password)
cd package.pkg/Contents/Resources
cp package*gz /
cp postflight /
cd /
gunzip package*gz
pax -r -f package*pax
chmod 755 postflight
./postflight

This will let you install updates even if you have a beta osx version, are downgrading, etc.

[ January 03, 2002: Message edited by: apex ]


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted January 03, 2002 07:03 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
watching 'top' while the installer was optimizing. it sure was doing a lot of update_prebinding.

--------------------

--

-willy
"Freedom will henceforth be compulsory." -Random Party Manifesto


Posts: 92 | Registered: Aug 2001  |  IP: Logged
forty_two
Junior Member
Member # 253

posted January 06, 2002 06:13 PM      Profile for forty_two     Send New Private Message      Edit/Delete Post  Reply With Quote 
quote:
Originally posted by Dan:
What goes on when the installer says it's 'optimizing system performance'? thx

It is binding the application to the libraries that it uses. This decreases the launch time for the application, since it takes a lot less time to load the libraries that the application will be using.


Posts: 7 | Registered: Dec 2001  |  IP: Logged
Dan
Member
Member # 106

posted January 26, 2002 06:42 PM      Profile for Dan     Send New Private Message      Edit/Delete Post  Reply With Quote 
thx all for replying

--------------------

Dan


Posts: 27 | Registered: Sep 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2