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: Tuning the unified buffer cache



At 3:04 +0000 2/3/08, Joel Reymont wrote:
I understand that a 'no cache' option is available in the open call but I don't have access to the source code of the software I'm working with.

On 10.5 there are actually two no cache options, F_NOCACHE, which works on a file descriptor, and F_GLOBAL_NOCACHE, which works on the file system object itself (the vnode). You could write a separate tool that opened the file, set it globally non-cacheable (F_GLOBAL_NOCACHE) and held it open for the duration of the job.


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/filesystem-dev/email@hidden

This email sent to email@hidden
References: 
 >Tuning the unified buffer cache (From: Joel Reymont <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.