Date: Thu, 26 Mar 2015 12:46:40 +0000 From: Arthur Chance <freebsd@qeng-ho.org> To: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Swap, SSDs and ZFS Message-ID: <5513FFB0.8000100@qeng-ho.org>
next in thread | raw e-mail | index | archive | help
Warren Block's page on using SSDs with FreeBSD (http://www.wonkity.com/~wblock/docs/html/ssd.html) suggests that as swap doesn't use TRIM it's better to use a swap file if your disk is an SSD. However, this is in the context of a UFS file system. What if you have a pure ZFS system? Searching for an answer I found mailing list threads that say that ZVOLs can hang when under memory pressure, i.e. at the exact point when you need swap, so aren't recommended. However using a swap file will potentially waste space if the file system has snapshots. What do other people do in these circumstances? -- Those who do not learn from computing history are doomed to GOTO 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5513FFB0.8000100>