On 05/07/10 15:05, Kris Kasner wrote:
Is ZFS swap cached in the ARC? I can't account for data in the ZFS filesystems
to use as much ARC as is in use without the swap files being cached.. seems a
bit redundant?
There's nothing to explicitly disable caching just for swap; from zfs's
point of view, the swap zvol is just like any other zvol.
But, you can turn this off (assuming sufficiently recent zfs). try:
zfs set primarycache=metadata rpool/swap
(or whatever your swap zvol is named).
(you probably want metadata rather than "none" so that things like
indirect blocks for the swap device get cached).
- Bill
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss