ZFS on ramdrive optimal settings

After failing to configure ZFS for file creation and deletion without subsequent disk IO (Ramdisk like ZFS behavior), I’m creating ZFS over ramdrive.

What to do with compression (but that part I could test by myself if nobody tested it before):

  • ZFS no compression + ZRAM
  • ZFS with compression + BRD
  • ZFS no compression + BRD

How better to configure ZFS? Disable/minimize ARC & ZIL? Something else?
I have another pool on HDD, so better to use pool settings and not system ones.

I have an option to use LVM thin on top of ramdrive instead of ZFS (both proxmox and docker directly support LVM thin pool as storage) and I guess it will be more efficient to use it instead of ZFS, but it is easier to manage ZFS and to use zfs send/receive for saving/restoring ramdrive to HDD.

So if ZFS could be configured for ramdrive, I would prefer that option.

Answer

Attribution
Source : Link , Question Author : ISanych , Answer Author : Community

Leave a Comment