Swap on zvol - recommendable?

Patrick M. Hausen hausen at punkt.de
Mon Feb 6 11:11:45 UTC 2012

Hi, all,

is it possible to make a definite statement about swap on zvols?

I found some older discussions about a resource starvation
scenario when ZFS arc would be the cause of the system
running out of memory, trying to swap, yet the ZFS would
not be accessible until some memory was freed - leading to
a deadlock.

Is this still the case with RELENG_8? The various Root on
ZFS guides mention both choices (decicated or gmirror
partition vs. zvol), yet don't say anything about the respective
merits or risks. I am aware of the fact that I cannot dump to
a raidz2 zvol ...

Thanks for any hints,
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de       http://www.punkt.de
Gf: Jürgen Egeling      AG Mannheim 108285

More information about the freebsd-stable mailing list