Laggy system after update 02.11.2022

Hello,
First post after give or take 1 year of using manjaro kde!

Today I updated a bunch of applications via the Add/Remove Software app. During the update process I started experiencing delays/lag in either small or larger actions, etc. mouse getting stuck for 1 sec, before actually moving, freezes while typing and suddenly jumping to whole sentences of what i was writting, slow processing in opening documents - switching windows/alt tabing etc.

I thought that this was happening because of the updating process but it continued even after the updating was complete and free of errors.

I should also mention that I’m running 6.0.6-1 Kernel on an ASUS laptop.

I would really like some guidance on how to resolve this issue.

Thank you all in advance!

Can you post some hardware info ? inxi -Fza on console.

1 Like

Thank you for your reply!
Here is some info,

System:
  Kernel: 6.0.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=ebe16e52-381c-4112-8fd9-dcf8b15135bf rw
    cryptdevice=UUID=13daf1e2-dad5-4de7-a9f2-53daa9a8a98b:luks-13daf1e2-dad5-4de7-a9f2-53daa9a8a98b
    root=/dev/mapper/luks-13daf1e2-dad5-4de7-a9f2-53daa9a8a98b apparmor=1
    security=apparmor
    resume=/dev/mapper/luks-45e8c34a-ce1f-4713-9355-3aa1d5a36076
    udev.log_priority=3
    bootsplash.bootfile=/bootsplash-themes/arch/bootsplash
  Desktop: KDE Plasma v: 5.26.2 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 1 dm:
    1: LightDM v: 1.32.0 note: stopped 2: SDDM Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: X550JX v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X550JX v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X550JX.210 date: 04/22/2019
Battery:
  ID-1: BAT0 charge: 7.6 Wh (20.8%) condition: 36.6/44.2 Wh (82.7%)
    volts: 15.0 min: 15.0 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: charging
CPU:
  Info: model: Intel Core i7-4720HQ bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2595 high: 2599 min/max: 800/3600 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2594 2: 2594 3: 2594
    4: 2594 5: 2594 6: 2597 7: 2599 8: 2594 bogomips: 41522
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-5.75 process: Intel 45nm built: 2010 ports:
    active: eDP-1 empty: HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416
    class-ID: 0300
  Device-2: NVIDIA GM107M [GeForce GTX 950M] vendor: ASUSTeK driver: nvidia
    v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:139a class-ID: 0302
  Device-3: Realtek USB Camera type: USB driver: uvcvideo bus-ID: 1-7:4
    chip-ID: 0bda:57b4 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.4
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: crocus
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x36ed built: 2013 res: 1920x1080
    hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.2.1 renderer: Mesa Intel HD Graphics 4600 (HSW
    GT2) direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c
    class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Sound API: ALSA v: k6.0.6-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter
    vendor: AzureWave driver: rtl8821ae v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8821 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8168 v: 8.050.03-NAPI modules: r8169 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: c000 bus-ID: 04:00.1 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0f1 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-5:3 chip-ID: 13d3:3414 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 238.47 GiB used: 118.7 GiB (49.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: ASP600S7-256GM-B
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2.9 scheme: GPT
Partition:
  ID-1: / raw-size: 154.82 GiB size: 151.33 GiB (97.75%)
    used: 109.89 GiB (72.6%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-13daf1e2-dad5-4de7-a9f2-53daa9a8a98b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 25.7 MiB (8.6%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 30 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 8.79 GiB (99.9%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-45e8c34a-ce1f-4713-9355-3aa1d5a36076
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2700
Info:
  Processes: 285 Uptime: 1h 32m wakeups: 2 Memory: 11.58 GiB
  used: 10.73 GiB (92.7%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1593 libs: 416 tools: pamac,yaourt pm: flatpak pkgs: 0 Shell: Zsh
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23

Edit:
Could it have something to do with the Swap Partition? I see it’s using 99.9% of what its capable.

You are using 92.7% of 12GB RAM and Swap is used nearly full.

What programs are you using ?

1 Like

I currently have open, brave browser (4 tabs), 3 settings windows, 1 konsole window and thunderbird. No downloading/streaming or such, as we speak. I’ve tried restarting but this happens directly when i login to the kde desktop.

I have no idea what is draining my system of memory.
Is there anything else I could post in order to aid you?

Use “top” command in terminal and press shift+m to sort processes by memory use.

1 Like

Thank you for your reply!

top - 20:25:23 up  1:52,  4 users,  load average: 2,46, 2,91, 3,23
Tasks: 299 total,   1 running, 298 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0,4 us,  4,9 sy,  0,3 ni, 77,5 id, 16,4 wa,  0,4 hi,  0,2 si,  0,0 st
MiB Mem :  11856,5 total,    250,3 free,  10855,6 used,    750,5 buff/cache
MiB Swap:   9009,2 total,      2,4 free,   9006,8 used.    398,2 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                              
   1717 ppapado+  39  19  269,3g   6,8g 144692 D  10,4  59,0  18:36.70 baloo_file_extr                                                                                                                                                      
   4309 ppapado+  20   0 4516452 128800    296 S   1,2   1,1   0:47.97 thunderbird                                                                                                                                                          
   4156 ppapado+  20   0 1130,0g 116544  13484 S   0,3   1,0   1:53.30 brave                                                                                                                                                                
   1187 ppapado+  20   0 4646696  93320     48 S   0,1   0,8   0:39.08 plasmashell                                                                                                                                                          
   6520 ppapado+  20   0 1159376  93296    992 S   0,0   0,8   0:02.08 kde-add-printer                                                                                                                                                      
   6396 ppapado+  20   0 1159172  90888      4 S   0,0   0,7   0:04.15 kde-add-printer                                                                                                                                                      
   6198 ppapado+  20   0 1159528  65564      0 S   0,0   0,5   0:01.96 kde-add-printer                                                                                                                                                      
   1779 ppapado+  20   0   32,6g  57488   8172 S   0,4   0,5   1:20.45 brave                                                                                                                                                                
   5831 ppapado+  20   0 1159024  55124      0 S   0,0   0,5   0:03.12 kde-add-printer                                                                                                                                                      
   4825 ppapado+  20   0 1130,0g  43740   4976 S   0,1   0,4   0:38.17 brave                                                                                                                                                                
    848 root      20   0 7181216  38648  21096 S   0,9   0,3   1:20.35 Xorg                                                                                                                                                                 
   4809 ppapado+  20   0 1129,9g  35568  23152 S   0,1   0,3   0:02.63 brave                                                                                                                                                                
   5019 ppapado+  20   0 1131,0g  32744     44 S   0,0   0,3   0:08.32 brave                                                                                                                                                                
   6174 ppapado+  20   0 1549984  29972   2812 S   0,0   0,2   0:01.91 systemsettings                                                                                                                                                       
   1818 ppapado+  20   0   32,4g  26160  19652 S   0,2   0,2   0:13.27 brave                                                                                                                                                                
   1569 ppapado+  20   0 5262744  23324      0 S   0,3   0,2   0:24.51 dropbox                                                                                                                                                              
   1813 ppapado+  20   0   32,8g  22572   1136 S   0,1   0,2   1:32.70 brave                                                                                                                                                                
   3496 root      20   0  598416  18196      0 S   0,0   0,1   0:13.63 onedrive                                                                                                                                                             
   3507 ppapado+  20   0 1034948  17584  10704 S   0,5   0,1   0:05.67 konsole                                                                                                                                                              
   4089 ppapado+  20   0 1129,9g  14396   2200 S   0,0   0,1   0:04.53 brave                                                                                                                                                                
   5480 ppapado+  20   0 1129,9g  11780    392 S   0,0   0,1   0:01.37 brave                                                                                                                                                                
   2364 ppapado+  20   0 1129,9g  10880   1696 S   0,0   0,1   0:03.10 brave                                                                                                                                                                
   1153 ppapado+  20   0 1799564  10428   1164 S   0,7   0,1   1:14.31 kwin_x11                                                                                                                                                             
   3385 ppapado+  20   0 1129,9g   9560   1856 S   0,0   0,1   0:02.16 brave                                                                                                                                                                
   2812 ppapado+  20   0  852316   8408     12 S   0,0   0,1   0:03.94 python                                                                                                                                                               
   1935 ppapado+  20   0 1129,9g   4808     28 S   0,0   0,0   0:01.16 brave                                                                                                                                                                
   3473 root      20   0 1092004   3816      0 S   0,1   0,0   0:07.58 python3                                                                                                                                                              
    695 root      20   0  332240   3756      0 S   0,0   0,0   0:07.41 NetworkManager                                                                                                                                                       
   5962 ppapado+  20   0 1129,9g   3404      4 S   0,0   0,0   0:00.03 brave                                                                                                                                                                
   1379 ppapado+  20   0  619388   3276      0 S   0,0   0,0   0:00.76 matray                                                                                                                                                               
   2717 ppapado+  20   0 1121828   3196      8 S   0,0   0,0   0:15.30 pamac-manager                                                                                                                                                        
   2832 ppapado+  20   0  809404   3072      0 S   0,0   0,0   0:01.05 python                                                                                                                                                               
   1152 ppapado+  20   0 1523272   2920      0 S   0,0   0,0   0:04.66 kded5                                                                                                                                                                
   2568 ppapado+  20   0 1129,9g   2864      0 S   0,0   0,0   0:01.95 brave                                                                                                                                                                
   1505 ppapado+   9 -11 2079196   2620     80 S   0,0   0,0   0:00.32 pulseaudio                                                                                                                                                           
   1948 ppapado+  20   0  788492   2448      0 S   0,0   0,0   0:01.47 plasma-browser-                                                                                                                                                      
   3520 ppapado+  20   0   12524   2328    324 S   0,0   0,0   0:00.91 zsh                                                                                                                                                                  
   1114 ppapado+  39  19  256,3g   2288      0 S   0,0   0,0   0:01.95 baloo_file                                                                                                                                                           
   2634 ppapado+  20   0 1035600   1952      0 S   0,0   0,0   0:03.60 konsole                                                                                                                                                              
    664 dbus      20   0   10844   1928      0 S   0,0   0,0   0:02.19 dbus-daemon                                                                                                                                                          
   1898 ppapado+  20   0 1129,9g   1928      4 S   0,0   0,0   0:00.82 brave                                                                                                                                                                
   6669 ppapado+  20   0   10952   1916    756 R   0,0   0,0   0:00.17 top                                                                                                                                                                  
   2833 ppapado+  20   0   56288   1860    276 S   0,0   0,0   0:00.52 python                                                                                                                                                               
   4525 ppapado+  20   0 2458552   1688    200 S   0,0   0,0   0:00.36 WebExtensions                                                                                                                                                        
      1 root      20   0  168144   1684      0 S   0,0   0,0   0:01.50 systemd                                                                                                                                                              
   1377 ppapado+  20   0  610576   1476      0 S   0,0   0,0   0:01.31 kdeconnectd                                                                                                                                                          
   1092 ppapado+  20   0    9584   1432      0 S   0,0   0,0   0:00.69 dbus-daemon

Edit:
I don’t recognize the first process “baloo_file_extr”.

Baloo reindexing files. Wait until ends reindexation (see with “balooctl status”) or change Baloo behaviour:

1 Like

Thank you for the clarification!
Could it be because I altered the indexing settings (Added the Index hidden files and folders option) the other day? And I observed this anomaly today, because I haven’t really used my laptop for a couple of days.

Current Index status is “idle” and at 83% complete.

If I leave it as is, will it continue indexing files and folders till 100% is met or do I need to take further actions?

You can use the resume parameter:

May be due the change you made, but it’s the second slow baloo issue I see today.

1 Like

Thank you for your reply!

I tried running the

balooctl disable

I get this respond, “Disabling and stopping the File Indexer”
but then, when I run again

top

the process is still there, still consuming every resource…

To disable the Baloo file indexer:

$ balooctl suspend
$ balooctl disable

The indexer will be disabled on next login.

https://wiki.archlinux.org/title/Baloo#Disabling_the_indexer

But I think it’s better workaround disabling only the index of file contents, as told in this topic:

1 Like

Thank you,
this

balooctl stop

gave back a kind of -help look alike message.

I managed to kill the process via

top

and then I used the “k” command to kill the process.

The process the disappeared!
I went on to check in the “System Settings” → Search → File Search
and the “Enable File Search” was deactivated.

I continued by re enabling the “Enable File Search”, but this time keeping the “Index Hidden FIles and Folders” option unchecked.

The process started again but this time, with normal usage, as below

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                              
   7795 ppapado+  39  19  256,3g 235980 208736 S  12,0   1,9   0:25.10 baloo_file_extr                                                                                                                                                      
   7682 ppapado+  20   0  257,6g 200152 141160 S   2,3   1,6   0:09.97 systemsettings                                                                                                                                                       
   4156 ppapado+  20   0 1130,0g 196168  81580 S   7,0   1,6   3:50.75 brave                                                                                                                                                                
   1187 ppapado+  20   0 4656380 162520  52864 S   0,0   1,3   0:53.69 plasmashell                                                                                                                                                          
   1779 ppapado+  20   0   32,6g 154636  77024 S   1,0   1,3   2:11.05 brave                                                                                                                                                                
   7725 ppapado+  20   0 1022324 140180 112756 S   2,7   1,2   0:06.62 konsole                                                                                                                                                              
   6802 ppapado+  20   0 1130,0g  90832  41324 S   0,0   0,7   0:09.09 brave                                                                                                                                                                
   7229 ppapado+  20   0 1130,0g  89616  35360 S   0,0   0,7   0:05.95 brave                                                                                                                                                                
   6744 ppapado+  20   0 1130,0g  82872   6628 S   0,0   0,7   0:27.40 brave                                                                                                                                                                
   1813 ppapado+  20   0   32,8g  72620  41412 S  12,0   0,6   2:36.64 brave                                                                                                                                                                
   5019 ppapado+  20   0 1131,0g  62104  28448 S   0,0   0,5   0:13.21 brave                                                                                                                                                                
    848 root      20   0 7197452  54900  35080 S   6,6   0,5   2:00.98 Xorg                                                                                                                                                                 
   7789 ppapado+  39  19  256,3g  53956  49832 S   1,7   0,4   0:05.14 baloo_file                                                                                                                                                           
   1569 ppapado+  20   0 5262744  51776   9664 S   0,3   0,4   0:39.91 dropbox

I can also see that the indexing process is moving forward in good pace (%-wise speaking) in the system settings!

So I am leaving everything as is! Thank you all for your tremendous and immediate help!

1 Like

Sorry, it’s “balooctl suspend”. I noticed after writing the message so I deleted it to rewrite. And I think what you did it’s the best solution. :+1:

1 Like

Then check top again after baloo stop.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.