TIME+ COMMAND
------------------
73:39.09 gnome-shell
6:39.58 kswapd0
7:20.54 kcompactd0
46:26.92 Xorg
2579449 roadrov+
17:18.61 chrome
My laptop is very slow these days and almost every time I type "top" I can see these processes in it. All have extremely high TIME+, seems stuck.
Outputs from free -h
:
total used free shared buff/cache available
Mem: 7.3Gi 4.7Gi 352Mi 2.0Gi 2.3Gi 344Mi
Swap: 0B 0B 0B
A few days before I tried to increase my swap size to 8GB using instructions here, all steps seemed successful, untill the last step failed as it prompted swapon: /swapfile: skipping - it appears to have holes
. This is, I guess, the reason of 0 swap size.
How slow my OS is? -- I only have Chrome, Text Editor, Calendar open, and Chrome have 4 tabs, when I highlight and rightclick on something then click on search for xxx in Google
, there is a chance that my whole OS freezes, can't even move cursor. After a few seconds everything will be okay, no app would be force quitted by systemd-oomd
, which used to happen a lot to me before attempting modifying swap size.
kswapd0
suggests that you may be low on RAM and your system is swapping memory pages to disk, a common cause of sluggish desktop behavior. Please edit your question to include the complete output offree -h
– user535733 Aug 09 '22 at 03:29