On Tue, Nov 26, 2024 at 12:22 PM Holger Wansing <[email protected]> wrote: > > Hi,
> That rule of thumb is new to me. > I know the rule, that swap should be as big as RAM. > And this was used, to define the new logic for calculation of partitions. Reference - https://docs.kernel.org/admin-guide/pm/sleep-states.html#hibernation Gonna quote the relevant part here but you're welcome to check for yourself :) image_size This file controls the size of hibernation images. It can be written a string representing a non-negative integer that will be used as a best-effort upper limit of the image size, in bytes. The hibernation core will do its best to ensure that the image size will not exceed that number, but if that turns out to be impossible to achieve, a hibernation image will still be created and its size will be as small as possible. In particular, writing ‘0’ to this file causes the size of hibernation images to be minimum. Reading from it returns the current image size limit, which is set to around 2/5 of the available RAM size by default.

