https://bugs.kde.org/show_bug.cgi?id=474979

Neal Gompa <ngomp...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ngomp...@gmail.com

--- Comment #1 from Neal Gompa <ngomp...@gmail.com> ---
Let me go a step further here: we could just dynamically create a swap file
whenever hibernation is enabled.

On Btrfs, all that's required to do is the following:

$ truncate -s 0 swapfile
$ chattr +C swapfile
$ fallocate -l 32G swapfile # set this to just slightly larger than how much
RAM is on the system
$ chmod 0600 swapfile
$ mkswap swapfile
$ swapon swapfile

Ideally, this swap file exists in a Btrfs subvolume that has "chattr +C" set on
it, because we can use that subvolume to create more swap files as needed for
performance.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to