K wrote:> I have a xVm b75 server and use zfs for storage (zfs root mirror and a
> raid-z2 datapool.)
>
> I see everywhere that it is recommended to have a lot of memory on a
> zfs file server... but I also need to relinquish a lot of my memory to
> be used by the domUs.
>
> What would a good value for dom0_mem on a box with 4 gig of ram?
I have found setting dom0_mem to 2G (with zfs in dom0)
works pretty well as long as you don''t balloon down.
If you want to set dom0_mem to 1G, you should limit
the amount of memory zfs uses. e.g. set the following
in /etc/system.
set zfs:zfs_arc_max = 0x10000000
MRJ