very high CPU usage in Teams for linux

New Contributor

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 usage.

1. CPU usage without teams running.

2. CPU usage with teams running.

 

No other apps were running in background.

 

OS : Kubuntu 20.04 LTS

RAM: 16GB

CPU : Intel core i5-8250U

First of all this time as well I am expecting something like "We can't replicate the high usage scenario on our end".

And secondly, there is no roadmap for Teams Linux, so no bugs gets fixed, no new features coming, even the basic feature of Teams which are present in windows version isn't present in Linux version and there is no timeline as to when we'll get those features.

9 Replies

@pankaj_scanit what action are you executing on Teams? Is that idle state of the client or are you on a call?

@Ricardo Havranek Garcia 
It's on idle with just Teams for Linux running in background and no other apps running.

I can always reproduce high cpu usage after any video call. I believe this has been discussed before in other discussions. So basically my workflow is exit and restart teams after every meeting.

 

Teams for Linux seems to have been released and abandoned.

True
Thre is no roadMap for Teams Linux

@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

 

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_notify

 

Sounds 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

 

Exactly, if I forget to restart teams after a call, it burns CPU like crazy.

Just scale that up to the number of users, estimate the amount of wasted energy, think about climate change and start sweating even more. Irresponsible code!
Totally happening in Fedora 34. Teams must be restarted all the time. It has been in "preview" for two years almost.

Microsoft treats any of their software as a weapon in the war against linux.
The fun thing is that every time I have problems with Teams, there's someone who is trying to reach me and I make sure to let them know the situation: we should not trust MS as a vendor as we need Linux for stuff.
I am seeing similar high cpu with Teams on Ubuntu 21.04 ... I have Teams running not doing anything then suddenly it goes to 100% cpu forever ... I have had to bounce Teams when this happens every week or so for months without any fix in sight ... I wished Microsoft would better support its tooling