Re: swap file instead of partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jun 9, 2017 at 7:49 AM, Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, Jun 08, 2017 at 04:43:48PM -0600, Chris Murphy wrote:
>> I'm not sure what the up side is of swapfiles. If there were a daemon
>> that dynamically created them when needed, then there wouldn't be such
>> a waste of space for something that's not used much. And conversely if
>> used, then multiple swapfiles can be dynamically created (I think up
>> to 32 swap devices are possible), and then cleaned up once no longer
>> needed. But we don't have such a thing so it's a fixed size allocation
>> whether swap file or swap partition. I'm not seeing the advantage.
>
> The problem with having them created on demand is that the time you
> need swap is probably _not_ the time you want a daemon firing up to
> create it.

Well it'd either be an always running little daemon or whatever's
triggering it needs to be more forward thinking that at the last
minute. I have no idea how macOS's swap files mechanism works exactly
but it creates swap files on demand.

-- 
Chris Murphy
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux