I want to understand how Jami uses CPU resources and power usage.
On my linux laptop with KDE Wayland, running top in Konsole, Jami waiting in the background is the application that frequently requires most CPU, even if I have Kmail, Dolphin file manager and Vivaldi browser open with multiple tabs.
top - 11:27:05 up 2:53, 2 users, load average: 0,24, 0,15, 0,18
Tasks: 308 total, 1 running, 307 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,9 us, 0,6 sy, 0,0 ni, 98,5 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MiB Mem : 15649,0 total, 5469,2 free, 5560,3 used, 5785,9 buff/cache
MiB Swap: 23852,5 total, 23852,5 free, 0,0 used. 10088,7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1853 pierre 20 0 5663116 978,9m 177592 S 4,6 6,3 5:56.64 /usr/bin/jami
1671 pierre 20 0 4376828 409828 202016 S 2,3 2,6 3:44.38 /usr/bin/plasmashell --no-respawn
6629 pierre 20 0 1162964 189880 157648 S 2,3 1,2 0:39.77 /usr/bin/konsole
785 root -51 0 0 0 0 S 1,0 0,0 1:22.66 [irq/177-iwlwifi]
1508 pierre -2 0 2421516 299968 219340 S 1,0 1,9 5:11.57 /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth+
2617 pierre 20 0 33,1g 576848 294776 S 0,7 3,6 5:05.51 /opt/vivaldi/vivaldi-bin
2673 pierre 20 0 33,0g 285360 136272 S 0,3 1,8 8:03.50 /opt/vivaldi/vivaldi-bin --type=gpu-process
Similarly, on my Android phone, when I look at the power consumption, Jami app is the top. These screen captures were taken while I was cycling using Google Maps or Organic Maps with GPS most of the day, while Jami was sleeping in the background (no calls during these days).
Why is Jami such a power hog compared with other network applications?
–
Pierre


