Hi Paul,

On 18.04.2013 22:41, Paul B. Henson wrote:
I'm just about ready to deploy the home storage server I've been working
on for a while, and am trying to decide what do about swap. The box has
12 3TB drives configured as two 6 disk raidz2 vdevs and will have about
300G of L2ARC. Right now it has 32G of memory. I ended up deciding to
have a separate virtualization server so this one is pretty much only
going to do file service via CIFS/NFS.

you need a 32G swap device on any drive you like just to satisfy swap allocation requirements coming from applications. It's very unlikely that your system will be responsive if paging or swapping will start regardless of type of swap device (SSD or HDD), thus there is no need to have a swap size larger than a RAM and no need to place swap on a faster drives. It's also very unlikely that any single I/O will be issued to a swap device if you don't tune your applications to consume more RAM that is available, thus again there is no need to place swap on expensive SSDs.

WBR,
Andrew


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to