At 2:21 PM -0400 6/29/05, Joshua Coombs wrote:
You're still missing the point, Chris. OS X is not inefficient - it is just doing a lot.

OS X is inefficent, scarily so, just in areas most aren't used to trying to directly benchmark. The majority of the OS X code is actually fairly tight and clean, the bottleneck I'm refering to stems from the bodging of BSD ontop of Mach. The way Apple went about this results in a kernel that blocks FAR more than it needs to.

Now, Apple isn't the only one with this problem, the FreeBSD 5.x tree's primary goal is to get rid of the BGL (Big Giant Lock) present within the FreeBSD kernel, other OSs suffer from it to some degree or annother. The difference is the extra layer the Mach interface imposes, cutting Apple's threading down to one tenth the speed of other os's on the same hardware.

<snip>

Other Mach OSs with BSD or Linux or other api's bolted ontop (MKlinux) have shown similar performance problems. Apple is taking steps to correct it, Tiger breaks the BGL up into two big locks, but they need to get further before you really start to see OS X scream.


Hmmm. Just out of curiosity... Does this Big Giant Lock (or Two Big Locks as the case may be for 10.4) just affect GUI type applications, or does it affect stuff like Apache running as a daemon? Or does it depend upon how the particular application was written - ie, are some apps written at a level before the BGL/TBL takes effect?

--
Bill Christensen
<http://greenbuilder.com/contact/>

Green Building Professionals Directory: <http://directory.greenbuilder.com>
Sustainable Building Calendar: <http://www.greenbuilder.com/calendar/>
Green Real Estate: <http://www.greenbuilder.com/realestate/>
Straw Bale Registry: <http://sbregistry.greenbuilder.com/>
Books/videos/software: <http://bookstore.greenbuilder.com/>

--
G-List is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
-- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

     Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to