Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Another way to improve optimization speed System
I have several Macs, and with the recent 10.3.3 update I did the normal -- download it once off the slow net, and then copy it around to my Macs on the fast LAN.

Well, while I was running it on one machine (an 800Mhz iMac G4 15" w/768MB RAM), I was wondering why the "optimization" step always takes so long at the end. You know, it runs fast up till about 80% then slows way down. So I opened Terminal and ran top. I had a bunch of regular things show up, most using very little or no CPU time. But there were two things using the bulk of the CPU time, the "Installer" and the "Update Prebinding" (the optimizer). What was amazing was that the Installer was taking almost 50% of my CPU time! Leaving the real work that Update Prebinding was doing with about 40%, and the rest for all the other misc tasks.

Minimizing or hiding the Installer window drops its CPU usage to less than 1% and the Prebinding then gets about 80% of the CPU or so -- quite a difference! I am guessing the animated progress bar is sucking a lot of juice. My subsequent updates went much quicker than usual with the Installer hidden. All of my machines, however, are single processor. This might not have much impact on a dual processor machine, and of course all of you lucky G5 owners might be saying - "What needs speeding up again?"

[robg adds: A previous hint discusses quitting the Finder to improve prebinding speed, but this hint seems much more likely to have a direct impact on the process.]
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (4 votes cast)
 
[15,426 views]  

Another way to improve optimization speed | 5 comments | Create New Account
Click here to return to the 'Another way to improve optimization speed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way to improve optimization speed
Authored by: merlyn on Mar 22, '04 11:02:33AM
I now do all my software updates from the command line instead of the GUI.

softwareupdate -l
(that's the letter L lowercase) gets a list of the available updates. And

sudo softwareupdate -i -a
installs them all. Be sure to reboot if it says to do that (which is the other nice advantage: you don't have a modal window saying REBOOT NOW) so you can take time to finish saving your apps or your iChat before booting. The sudo command may ask for your password.

[ Reply to This | # ]
Another way to improve optimization speed
Authored by: MattHaffner on Mar 22, '04 04:36:00PM

"...you don't have a modal window saying REBOOT NOW..."

There's no such thing in 10.x. Just leave the Installer running, go close your apps at your leisure and then come back and reboot when you're ready. It's probably not the best idea to go launching new things or doing major work after installing a substantial update, but I've let things go for 10-15 minutes or longer while I finish up a thought in my work before rebooting.

Welcome to the modern age :)



[ Reply to This | # ]
Ugh! The hint installs "ignored" updates without warning.
Authored by: macFanDave on Mar 23, '04 12:25:41PM
I put updates that don't apply to me in the ignored updates group. I don't have an iPod, so I passed on that update; I use a D-Link 802.11b router and a BuffaloTech card, so I didn't see anything in the notes of the last update that seemed to apply to me. When you type softwareupdate -l, it doesn't mention what you've ignored (is there an -li switch? I'm not at my Mac right now). When you type sudo softwareupdate -i -a it goes ahead and installs all pending updates whether you've previously ignored them or not. Well, now I've GOT to go buy an iPod! Thanks.

[ Reply to This | # ]
CPU hog
Authored by: gatorparrots on Mar 23, '04 12:21:07AM
Well, while I was running it on one machine (an 800Mhz iMac G4 15" w/768MB RAM), I was wondering why the "optimization" step always takes so long at the end. You know, it runs fast up till about 80% then slows way down. So I opened Terminal and ran top. I had a bunch of regular things show up, most using very little or no CPU time. But there were two things using the bulk of the CPU time, the "Installer" and the "Update Prebinding" (the optimizer). What was amazing was that the Installer was taking almost 50% of my CPU time! Leaving the real work that Update Prebinding was doing with about 40%, and the rest for all the other misc tasks.

The likely suspect for this excessive CPU utilization is simply this: the barber pole animation of the Installer! http://www.macosxhints.com/article.php?story=20030920075803942

[ Reply to This | # ]

Another way to improve optimization speed
Authored by: g4cube on Mar 24, '04 01:46:57AM

Thanks for the hint people i run a g4cube stock and the optomize process was agonising tried it with the iphoto update and it flew.



[ Reply to This | # ]