Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process priorities



On woensdag, september 18, 2002, at 04:06 , Scott Boone wrote:

I am interested in the answer to this very same question. I asked Apple-folk
at MWNYC, and they poo-poo'd me (the conference technique of sidestepping
your question by questioning how much YOU know). They basically tried to say
that Darwin was doing "more work" and that FreeBSD's top couldn't be
consuming so few cycles. Both are BS. This issue is of particular concern to
me because I use FreeBSD so frequently...and most of the processes on that
platform FEEL like they execute more quickly, dramatically more
quickly--doing so on hardware that shouldn't be (isn't) faster.

If you use "top -d" (or "top -ud"), Darwin's top won't consume that many cycles either (it's still slightly more than under the other OS'es though). It's the gathering of memory statistics that consumes so much time. On darwin-development, Apple engineers also always say this is because traversing the mach memory maps is a lot of work. Maybe the memory mapping under FreeBSD (and Linux) is in fact much simpler than under mach... Anyway, the source of all things involved is available, so nothing prevents you from finding out what the real cause is (except for time, probably :)


Jonas
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Process priorities (From: Scott Boone <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.