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: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?)



Drew --

When using a filter interrupt with Tiger, I see a roughly 20% latency
reduction (10us -> 8us) and with Panther, I see a nearly 40% reduction
(17.1us -> 9.9us).  This is atop a hardware overhead of roughly 3.5us,
which is constant regardless of platform.

It is interesting to note that Tiger is *MUCH* faster at either
scheduling interrupt threads, or at scheduling threads in general than
Panther is.   Kudos to whomever was responsible for this improvement.

Yes it is quite a bit faster! Kernel engineers modified the scheduler bits to be much faster, added primitives to make IOWorkLoop threads faster (thread_block_parameter() instead of thread_get_cont_arg()/thread_set_cont_arg()) and also modified the IOSharedInterruptController code to have better performance (all of which directly impacted those latency measurements).

Our IOPS numbers increased quite a bit on FibreChannel disk arrays due to the above changes, the removal of the kernel funnels, and some other optimizations on the I/O path (including removing some DART setup cost, not allocating sense data descriptors on transports that provide auto-sense data, etc.).

-- Chris


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

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >why no IOSimpleLockSleep()? (From: Andrew Gallatin <email@hidden>)
 >IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Godfrey van der Linden <email@hidden>)
 >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Andrew Gallatin <email@hidden>)
 >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Godfrey van der Linden <email@hidden>)
 >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Andrew Gallatin <email@hidden>)
 >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Andrew Gallatin <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.