image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old March 14th, 2008, 07:14 PM
Qion's Avatar
Uber Nothing
 
Join Date: Mar 2005
Location: In a democrazy.
Posts: 2,404
Thanks: 50
Thanked 1 Time in 1 Post
Qion will become famous soon enough
Why isn't Leopard utilizing all cores?

While decompressing a file, I noticed that my system was only using 100% of one of the cores instead of 100% of all four cores. Why wouldn't it use all four and get the job done that much quicker?

__________________
• 2.66GHz Mac Pro Quad Xeon
• 2.2GHz Santa Rosa MacBook Pro
• 2.0GHz iMac Core Duo
• 8GB iPhone
Reply With Quote
  #2  
Old March 14th, 2008, 09:30 PM
lurk's Avatar
Mitδ?
 
Join Date: Mar 2002
Location: Land o' skeeterz
Posts: 2,076
Thanks: 0
Thanked 0 Times in 0 Posts
lurk is on a distinguished road
Because the program, bunzip2 in this case, is not multithreaded. If the program only has a single thread it cannot be automatically parallelized and run on separate cores.

Now if you have lots of things to decompress you could start 4 instances to use all four cores.
__________________
Wenn ist das Nunstruck git und Slotermeyer? Ja!...
Beiherhund das Oder die Flipperwaldt gersput!
Reply With Quote
  #3  
Old March 14th, 2008, 09:38 PM
Qion's Avatar
Uber Nothing
 
Join Date: Mar 2005
Location: In a democrazy.
Posts: 2,404
Thanks: 50
Thanked 1 Time in 1 Post
Qion will become famous soon enough
Thank you for the explanation lurk, it seems so obvious now.
__________________
• 2.66GHz Mac Pro Quad Xeon
• 2.2GHz Santa Rosa MacBook Pro
• 2.0GHz iMac Core Duo
• 8GB iPhone
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:09 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.