| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Andrew --
There's still more improvement to be done...But Tiger now puts us in a better position to change some implementation details to make things faster.
Yes.
Well, if you look at thread_invoke() in sched_prim.c, it appears that it allows the scheduler to do a stack handoff between the newly selected runnable thread and the previous thread (so it doesn't have to do a stack allocation when it does the context switch). In essence, I believe it frees the system up to quasi-reclaim the wired memory used for that kernel stack (if that makes sense to you).
Yes. Populating the DART table twice was not good! Using kernel tracing is really helpful for finding these bubbles in the pipeline. We spent a lot of time analyzing kernel traces and instrumenting the entire storage stack to reduce this latency and others. The net results are quite noticeable (in Tiger, we do about twice as many IOPS as Panther using 4K I/Os). Our streaming performance increased slightly as well (preparation time for first I/O was reduced). Streaming performance isn't as highly dependent on the preparation time since UBC issues multiple async I/Os and overlaps the preparation time of the I/Os with I/Os already in flight to the disk (and since disks are slow, we always keep the pipeline flowing).
I would suggest filing a Radar bug about this performance. Any sort of benchmarks which indicate a real-world performance loss (and not just a micro-benchmark) would be good to use as a test bed for any possible fix. In some cases, the Opteron will have higher bandwidth simply due to its on-chip memory controller architecture and DDR2 SDRAM (guessing you have this on your system - maybe not).
Ha! -- 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>) | |
| >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Chris Sarcone <email@hidden>) | |
| >Re: IOFIES Filter wakeup (was: why no IOSimpleLockSleep()?) (From: Andrew Gallatin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.