And to add to that, there is the latency of accessing file storage for 1 or more swap files, versus direct access (memory mapped?) into a swap partition.



From: Stephen Gallagher <sgallagh@redhat.com>
To: desktop@lists.fedoraproject.org
Sent: Wednesday, June 7, 2017 9:27 PM
Subject: Re: swap file instead of partition?

On 06/07/2017 09:21 PM, Michael Catanzaro wrote:

> On Wed, Jun 7, 2017 at 8:08 PM, Matthew Miller <mattdm@fedoraproject.org> wrote:
>> On Reddit, someone asked me if there are plans to switch to swap files
>> (as Ubuntu has) rather than making a partition by default. Do we have
>> any such plans? It seems like a small manageability benefit with not
>> much downside (other than, of course, the cost of changing things).
>
> I'm not aware of any such plans, but I was wondering the same thing... are there
> any disadvantages to making this switch? Seems like a good idea.

>

I'm not an expert on storage, so take my reply with a large pinch of salt, but
isn't one of the main reasons for using a swap partition to avoid file
fragmentation? Admittedly, modern SSD-based systems probably don't have much to
worry about here, but there are likely still a LOT of spinning-rust installs out
there that would have to worry about fragmentation.

_______________________________________________
desktop mailing list -- desktop@lists.fedoraproject.org
To unsubscribe send an email to desktop-leave@lists.fedoraproject.org