Swap, SSDs and ZFS
Arthur Chance
freebsd at qeng-ho.org
Thu Mar 26 12:46:50 UTC 2015
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
More information about the freebsd-questions
mailing list