Compressed RAM as only swap, malloc or swap?

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.
 
Back
Top