On Wed, Oct 12, 2005 at 04:08:20PM +0800, Matt Johnston wrote:
> Hi all
>
> I've been working with some disk-limited programs, and in
> order to test the effects of code changes, it'd be useful to
> be able to flush the OS's blockdevice/filesystem read caches
> for a particular file on disk.
>
> Has anyone come across a way to invalidate Darwin's cache of
> file contents, without having to generate lots of paging to
> push the data out of the cache (or rebooting)?
CHUD 4.2.3 has a new program "purge" that does just what I
was looking for. Many thanks to the CHUD people :)
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden
This email sent to email@hidden