Forum Discussion
pankaj_scanit
May 13, 2020Copper Contributor
very high CPU usage in Teams for linux
I have read many complaints regarding high CPU usage in Teams for linux but everytime the team member says "we can't replicate the same at our end". Today I am posting my screenshots for high CPU us...
RodeKater
Jun 18, 2020Copper Contributor
pankaj_scanit Got this on my machine too. Running strace on the offending process and found that it was checking whether my laptop was on AC power or not 1100+ times per second. Obviously, if I wasn't on AC power, I would have to be with this kind of code.
4665 14:51:55.971870 openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", O_RDONLY) = 70
4665 14:51:55.972121 openat(AT_FDCWD, "/sys/class/power_supply/AC/online", O_RDONLY) = 70
4665 14:51:55.972690 openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", O_RDONLY) = 70
4665 14:51:55.973029 openat(AT_FDCWD, "/sys/class/power_supply/AC/online", O_RDONLY) = 70
4665 14:51:55.973620 openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", O_RDONLY) = 70
4665 14:51:55.973966 openat(AT_FDCWD, "/sys/class/power_supply/AC/online", O_RDONLY) = 70
- AChristianJun 22, 2020Copper Contributor
Facing the same issue here on Thinkpad T49s and Debian linux.
Checking CPU usage with "top", it shows heavy load on
31962 root 20 0 0 0 0 I 77,8 0,0 0:16.36 kworker/0:2-kacpi_notifySounds like it's checking AC power on my machine as well. But I'm most of the time connected with power supply.
That way I'm not able to join a team meeting without power supply ...
br,
Alex