Re: Tuning the unified buffer cache
Re: Tuning the unified buffer cache
- Subject: Re: Tuning the unified buffer cache
- From: Quinn <email@hidden>
- Date: Tue, 4 Mar 2008 12:37:36 +0000
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:
This email sent to email@hidden