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.
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader