Date: Tue, 11 Feb 2020 15:50:09 +0000 From: tech-lists <tech-lists@zyxst.net> To: freebsd-questions@freebsd.org Subject: questions about swap (partition and file) Message-ID: <20200211155009.GA9715@bastion.zyxst.net>
next in thread | raw e-mail | index | archive | help
--YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, --=20 J. --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl5CzUAACgkQs8o7QhFz NAXMJQ//d6+Q/NvgIBv8auQXNGMO0z3RP7eJAY3uLCPFKA7uU+NYM3bT3JgxEt/j MnDCpgK60zRG/BIqsyEVwmJUkfDK+wPmlT/rVfsteuP3cydl65re+nioL/QRAxtB rhIY560j3oRoczJH6y4+skcMkUImcJPvfBfCalhUscqZS3xAnNfL6q4E06Gox0It 4mF0EI9R2MT8E1nCtoHVLvC0OVc2KjJqOygqHSpuiU1skHXf0P4veQZKfbHoNbJC iALk/8f45VDZEhYNYWdutbdAi+dKq8JQ3lDvV2tNAQHRkEk9ariHqM3uiJ46qph7 xjgCoetVQvvGN/qi2Upx0qnB1QUASwNc1IP5SYSlj1Kq3y+BHU0myvdxn0LBD509 ECx7siSTmsvC6QuK3Hv+mLlDhf5YfFuMwapCi3jW/sBm+DWAWZeUxFxG+0MPitqA a7yCmcF7ub98Gl+DXfd68QnwsHeBui8pUZUA8IxfgBfBF4JeNUMQOQIWoyvHZQOR 2kHNkdFE0Xt0MWcLrbq2QZMuxpLca26SiJbP0LSav/4JINKM2kPFqHv+HYFw+TUg L/OAIZ2TpXsUoOaxRyDZT7dry1Ep22cUfDrehTFXv0h211KmHZ0om9vLIVRX1SeJ W/v92LOEP1qgMKzI0ShvtRGwYJik2IZrL6tBRe5VBH/mvuIEYTQ= =wv6n -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200211155009.GA9715>