On Tue, 7 Jul 2009, Joerg Schilling wrote:

Based on the prior discussions of using mmap() with ZFS and the way
ZFS likes to work, my guess is that POSIX_FADV_NOREUSE does nothing at
all and POSIX_FADV_DONTNEED probably does not work either.  These are
pretty straightforward to implement with UFS since UFS benefits from
the existing working madvise() functionality.

I did run my tests on UFS...

To clarify, you are not likely to see benefits until the system becomes starved for memory resources, or there is contention from multiple processes for read cache. Solaris UFS is very well tuned so it is likely that a single process won't see much benefit.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to