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

List:       opensuse
Subject:    Re: HP PS/2 style keyboard preventing suspend:
From:       -pj via openSUSE Users <users () lists ! opensuse ! org>
Date:       2024-02-17 5:58:11
Message-ID: a7e12b89-3c23-48ec-ad7c-2094e60ce955 () gmx ! com
[Download RAW message or body]



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 (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?
-
You have a recommendation for setting 'swappiness' on this machine?
-
-
Thinkcentre-M57p:/> df -Th
Filesystem              Type      Size  Used Avail Use% Mounted on
/dev/mapper/system-root btrfs     925G  128G  797G  14% /
devtmpfs                devtmpfs  4.0M  8.0K  4.0M   1% /dev
tmpfs                   tmpfs     3.8G     0  3.8G   0% /dev/shm
tmpfs                   tmpfs     1.6G  1.8M  1.6G   1% /run
tmpfs                   tmpfs     3.8G   24K  3.8G   1% /tmp
/dev/mapper/system-root btrfs     925G  128G  797G  14% /.snapshots
/dev/mapper/system-root btrfs     925G  128G  797G  14% /boot/grub2/i386-pc
/dev/mapper/system-root btrfs     925G  128G  797G  14%
/boot/grub2/x86_64-efi
/dev/mapper/system-root btrfs     925G  128G  797G  14% /home
/dev/mapper/system-root btrfs     925G  128G  797G  14% /opt
/dev/mapper/system-root btrfs     925G  128G  797G  14% /root
/dev/mapper/system-root btrfs     925G  128G  797G  14% /srv
/dev/mapper/system-root btrfs     925G  128G  797G  14% /usr/local
/dev/mapper/system-root btrfs     925G  128G  797G  14% /var
tmpfs                   tmpfs     770M   92K  770M   1% /run/user/1000
/dev/dm-3               vfat      2.0G  1.1G  910M  54%
/run/media/paul/WORLDWIDE1
-
-
-
> Thinkcentre-M57p:/> lsblk
> NAME                                        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
> fd0                                           2:0    1     4K  0 disk
> sda                                           8:0    0 931.5G  0 disk
> ├─sda1                                        8:1    0     8M  0 part
> └─sda2                                        8:2    0 931.5G  0 part
>   └─Lenovo_M57p-openSUSE_Tumbleweed         254:0    0 931.5G  0 crypt
>     ├─system-root                           254:1    0   925G  0 lvm   /var
>     │                                                                  /usr/local
>     │                                                                  /srv
>     │                                                                  /root
>     │                                                                  /opt
>     │                                                                  /home
>     │                                                                  /boot/grub2/x86_64-efi
>     │                                                                  /boot/grub2/i386-pc
>     │                                                                  /.snapshots
>     │                                                                  /
>     └─system-swap                           254:2    0   6.5G  0 lvm   [SWAP]
> sdc                                           8:32   1   1.9G  0 disk
> └─luks-fd28e551-c765-461e-aab0-a2c49bb786b9 254:3    0   1.9G  0 crypt /run/media/paul/WORLDWIDE1
> sr0                                          11:0    1  1024M  0 rom
> Thinkcentre-M57p:/>

-Regards
[prev in list] [next in list] [prev in thread] [next in thread] 

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