[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap size in debain 12




On 12/08/2023 15:32, Erwan David wrote:
Le 12/08/2023 à 16:24, David Wright a écrit :
On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote:
Installing a new debian 12 I see that the installer setups a 1G swap
on a 24G RAM laptop.

Is the hibernation out of swap now ? (I chose to have a biigger swap,
but I find it strange)
The arguments are rehearsed in:

   https://wiki.debian.org/Swap

Cheers,
David.


Not completely : I think I will open a bug (wishlist) against the installer : it is complicated to change swap size when you must reduce root partition size to do this. So at least a question "will you use suspend/hibernate" at install time would be useful (I did not find in the installer how to change the sizes so I had to delete bot then recreate them, and it would have been complicated on a machine already installed)
If it's useful, you *can* Hibernate to a swap file. https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition It looks a little flaky, though, because you need to tell the kernel how many bytes into a device to find the file (which, if you defrag your filesystems often could be a problem, but generally speaking files don't move around on disk much).

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: