site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Shawn Erickson writes:
On 3/13/07, Andrew Gallatin <gallatin@cs.duke.edu> wrote:
Andrew Gallatin writes:
I doesn't look like Darwin/MacOSX has an O_DIRECT option to disable caching on the file at open time. Does MacOSX/Darwin have a way to disabling caching on a per-mountpoint basis?
I got two, independant suggestions to try fcntl(fd, F_NOCACHE, 1). Execellent!
But before I go trying to re-compile these applications, I'm still wondering if there is any way to limit the ubc like in Tru64...
Limit in what way?
To using no more than a certain percentage of memory, like ubc-maxpercent does in Tru64. Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Gallatin