Best use of an SSD for ZFS

,

Hi,

I have my home media server, which is made of 6x2TB mechanical disks in a raidz2 arrangement; I now have this 240GB SSD that I would like to add to the server for the following uses:

  • ZFS L2ARC: how much? I’ve read suggestions ranging from 5x the server’s ram to 10x, with 16GB of ram this would mean 80GB to 160GB. Does it hurt to allocate more than that?
  • swap: I want to be able to hybernate; with 16GB of ram I think I would go for 32GB because, why not?
  • ZIL? How much space?
  • Other?

How much space should I allocate to the different uses?

Bye
Andrea