• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tuning the unified buffer cache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Tuning the unified buffer cache (From: Joel Reymont <email@hidden>)

  • Prev by Date: Tuning the unified buffer cache
  • Next by Date: Re: Strange behavior iterating the directory tree of a volume
  • Previous by thread: Tuning the unified buffer cache
  • Next by thread: Re: Strange behavior iterating the directory tree of a volume
  • Index(es):
    • Date
    • Thread