[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: HP PS/2 style keyboard preventing suspend:
From:       "Carlos E. R." <robin.listas () telefonica ! net>
Date:       2024-02-17 13:06:48
Message-ID: 627f8feb-5648-405c-9d26-48225cc14582 () telefonica ! net
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (text/plain)]

On 2024-02-17 06:58, -pj via openSUSE Users wrote:
> On 02-16-2024 11:21PM, Masaru Nomiya wrote:
>> Hello,
>>
>> In the Message;
>>
>>    Subject    : Re: HP PS/2 style keyboard preventing suspend:
>>    Message-ID : <c53b188d-4a02-41d6-b59f-52daf2f197bd@gmx.com>
>>    Date & Time: Fri, 16 Feb 2024 23:00:35 -0600
>>
>> [pj] == -pj via openSUSE Users <users@lists.opensuse.org> has written:
>>
>> [...]
>> MN> > Please show the results of the following;
>>
>> MN> >    1. $ inxi -Fxxz
>> MN> >    2. $ wdctl
>>
>> pj>  Ok,
>>
>> pj> Thinkcentre-M57p:/> inxi -Fxxz
>> [...]
>> pj>  Machine:
>> pj>    Type: Desktop System: LENOVO product: 9088A83 v: ThinkCentre M57p
>> pj>      serial: <superuser required> Chassis: type: 3 serial: <superuser
>> pj>  required>
>>
>> I thought yours would be lenovo.
>>
>> [..]
>> pj>  Swap:
>> pj>    ID-1: swap-1 type: partition size: 6.52 GiB used: 266.8 MiB (4.0%)
>> pj>      priority: -2 dev: /dev/dm-2 mapped: system-swap
>> [...]
>> pj>  Info:
>> pj>    Memory: total: 8 GiB note: est. available: 7.51 GiB used: 5.69 GiB
>> pj>  (75.8%)
>> [...]
>>
>> The swap size is too small.
>> As it is too small, it will lockup under stress.
>> If you want to use hibernate, the swap size should be at least 12GB
>> (8x1.5).
>> So, create a swap file.
> 
> So basically expand system-swap lvm for suspend to 12 GB

For hibernate, not for suspend.

If you don't hibernate, then swap is not needed (yet)


Notice that swap has no effect on your power-off problem.

> (this is why
> machine is jamming up sometimes lately)? Can I leave the *btrfs
> filesystem* in system-root expanded 100% (as is now) and shrink
> system-root lvm then expand system-swap lvm? Any benefits to make
> system-swap 20GB not only 12GB?
> -
> Also create a 12 GB swapfile in order to use hibernate otherwise
> hibernate will never work?

I prefer a swap partition, but if the disk is already partitioned, I 
understand a swapfile will do. But then the existing swap space will be 
superfluous.

> -
> You have a recommendation for setting 'swappiness' on this machine?

I never touch it.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 15.5 x86_64 at Telcontar)


["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic