Re: 10.6.2 issues with F_NOCACHE?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Feb 3, 2010, at 8:53 PM, Marc Van Olmen wrote:
Not sure important: my memory pointer that i pass into the read, is an offset in a section of a big memory blob allocated with malloc.
Have you considered memory-mapping the file instead? That way you won't be allocating VM backing store for the copy of the file in the heap.
* Any suggestion on how trace this issue better? Is there a way I can trace when a read data is being added to the disk cache for example?
I usually use the fs_usage tool for things like this. (You can probably get similar data from Instruments, but I'm an old fogey and I've never really been able to figure out how to get Instruments to tell me anything useful...) —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jens Alfke