On 26/11/2024 at 20:25, allan wrote:
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.8.0-amd64-netinst.iso
This is a stable image. Please download a recent daily or weekly build testing/sid image from <https://cdimage.debian.org/cdimage/>
My comment on some earlier posts:
I think the algorithm that allocates swap space might need a look.
The new swap size by testing/sid installer is the lower of approximately 5% of available disk size and 100% of RAM size. So it is still limited to 1GB on a 20GB disk, and 8GB on a 160GB disk.
https://docs.kernel.org/admin-guide/pm/sleep-states.html#hibernation image_size This file controls the size of hibernation images.
(...)
Reading from it returns the current image size limit, which is set to around 2/5 of the available RAM size by default.
IIRC, the hibernation image size cannot exceed half of the RAM size (it must be able to contain a copy of the other half and still fit into memory).
Note that the swap area does not contain only the hibernation image. It also contains swapped out data, which were swapped out as part of regular virtual memory operation or to reduce the size of the hibernation image.
There is no rule to calculate the swap size for hibernation, it depends on the use case (memory usage and how much swap is used before the system goes to hibernation).