Mailing Lists: Apple Mailing Lists

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

kernel threads invalidating caches



Dear Friends,

I am running very low latency real-time threads (for audio purposes) on 6 cpus and other admin threads on the other 2 cpus, including disk I/O threads.
When reading audio from disk, the real-time threads get stucked at random times. I believe that this interaction is because the disk read command launches a lower-half kernel thread that can run any of the 8 cpus, and the memory movement from disk to RAM invalidates their caches and breaks their real-time behavior.


Is there any solution? For example, prohibiting the kernel threads to run on particular cpus or bound them to a cpu?

Thank you,

Alejandro

--
Alejandro Palencia
Open Studio Networks
+34 667 440 770

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

This email sent to 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.