If I plan to use a compressed memery disk as the only swap on my machine, no zvol or freebsd-swap partition, how should I create it? mdconfig -a -t malloc -o reserve -o compress -s 2g -u 0
or mdconfig -a -t swap -o compress -s 2g -u 0
?
The question is, does it makes sense to compress swap, since swap should be as fast as possible, so it does not slows down your machine more than needed, and compression reduces access speed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.