OM Lx 4 installer: swap file vs swap partition

Just wondering, why not setting swap file instead of swap partition?

1 Like

Sorry, didn’t understand …

1 Like

There are several discussions around this: it’s the same performance and easier to resize.

Swap is very useful for hibernation, but swap partition is hard to resize (if you add RAM for instance) especially if not using LVM.

OM Lx 4 creates a partition during install. Other like *buntu 18.04 creates a swapfile.

https://www.reddit.com/r/archlinux/comments/7vtqdt/swap_file_or_partition_regularly/

https://forums.linuxmint.com/viewtopic.php?t=271029

Not yet possible in calamares but being working on.

However that should be user option. Swap partition , swap file , zram etc is a user decision
based on his setup.

As example on my Workstation with 128G RAM I won’t need any while on my low end Laptop
I probably go with max swap partition and on my 32G RAM server probably a swap file will be fine.

1 Like

@raphael

if you want to see how swap in UI working in calamares , poke me on irc.
( cannot post links in here to non-OM iso’s :smiley: )

1 Like

Thanks!