questions about swap (partition and file)

tech-lists tech-lists at zyxst.net
Tue Feb 11 15:50:41 UTC 2020


Hi

Which is it better to have - swapfile partition or swapfile?

I have both, on a SSD. Thing is, I can write 10x faster to the file than I can
to the partition. With a 512b block size, it can write at 17MB/s to the
partition, and about 120-130MB/s to the swapfile, as reported by dd.

Historically, ISTR that it was recommended to have several swap partitions on
the fastest disks available, and that swapfile was slower than a partition
because of something like fat translation. Is this still the case nowadays?
Is there a better way of measuring swap speed than dd?

thanks,
-- 
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200211/5ef64052/attachment.sig>


More information about the freebsd-questions mailing list