[zfs-discuss] Partitioning ARC

Richard Elling
2011-01-30T22:29:41Z

On Jan 30, 2011, at 12:21 PM, stuart anderson wrote:

> Is it possible to partition the global setting for the maximum ARC size
> with finer grained controls? Ideally, I would like to do this on a per
> zvol basis but a setting per zpool would be interesting as well?

While perhaps not perfect, see the primarycache and secondarycache
properties of the zvol or file system.

> The use case is to prioritize which zvol devices should be fully cached
> in DRAM on a server that cannot fit them all in memory.

It is not clear to me that this will make sense in a world of snapshots and
dedup.
Could you explain your requirements in more detail?
 -- richard