4 ms·
actually, do you know why they changed this? I thought that a partition was always superior to a file (aside of the usability issues).
by pilif 10y ago
actually, do you know why they changed this? I thought that a partition was always superior to a file (aside of the usability issues).
- dom0 10y ago> I thought that a partition was always superior to a file (aside of the usability issues). Pretty sure you've answered your own question there.
- jakobdabo 10y agoFile-based swap will always be a bit slower because of the additional file system layer and possible fragmentation of the file.
- rwmj 10y agoThe release notes don't say why, but I'm going to go for flexibility. Swap to a file is slightly slower than swap to a partition, but if you're in a situation where you're swapping, then you've lost the performance battle already.
- majewsky 10y agoI would also guess flexibility. It's certainly a nice property to be able to resize the swap without having to move partitions around or deal with LVM.