On 02-17-2024 12:36AM, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: HP PS/2 style keyboard preventing suspend: Message-ID : <a7e12b89-3c23-48ec-ad7c-2094e60ce955@gmx.com> Date & Time: Fri, 16 Feb 2024 23:58:11 -0600
[pj] == -pj via openSUSE Users <users@lists.opensuse.org> has written:
[...] MN> > So, create a swap file.
pj> So basically expand system-swap lvm for suspend to 12 GB (this is why pj> machine is jamming up sometimes lately)? Can I leave the *btrfs pj> filesystem* in system-root expanded 100% (as is now) and shrink pj> system-root lvm then expand system-swap lvm?
No, just make a swap file, like this;
https://linuxize.com/post/create-a-linux-swap-file/#:~:text=How%20to%20add%2...
pj> Any benefits to make system-swap 20GB not only 12GB?
You could set to 20GB, but 12GB should be enough.
pj> Also create a 12 GB swapfile in order to use hibernate otherwise pj> hibernate will never work?
No, you can hibernate with a small swap space, but it causes sudden reboots, system lockups and hang up.
pj> You have a recommendation for setting 'swappiness' on this machine? [...]
You can create a swap file, but there is no need to change the partition. This is the easiest way for you.
Isn't it time for bed?
Thank you for your assistance and thoughts with this (I see this article). I believe this is the same article I reviewed some time ago for swappiness. I do now am tired and will try to sleep very soon. What I have done before reading your message was reviewing some threads here: https://forums.opensuse.org/t/questions-about-resizing-swap-partition-and-sw... I will hopefully work on this more with your help soon. -Best Regards