ElectricRCAircraftGuy / bug_reports

Consumer bug reports you and I can report for any product or service we use. Add additional details & screenshots to an Issue here and link to it when submitting help requests through their website.
MIT License
1 stars 0 forks source link

Chrome Google Meet CPU usage is still too high (see plots and CPU usage during Google Meet with my camera ON vs OFF) #3

Open ElectricRCAircraftGuy opened 2 years ago

ElectricRCAircraftGuy commented 2 years ago

Summary

CPU usage is still too high, hovering around 85% with my camera ON during a Google Meet.

Details

THANK YOU for reducing CPU usage from 100% during Google Meet meetings to 80%! Tha'ts a very recent development, and a great improvement! However, that's still too high. Please lower it further.

Here is a CPU usage plot showing me in the Google Meet with my video camera ON vs OFF. Notice the HUGE change in CPU usage when my camera is ON:

Selection_306 (copy)

Selection_307 (copy)

I have 8 CPU hyperthreads.

Top processes (as logged by my cpu_logger.py script) with my camera ON while in a Google Meet

With my video camera ON, the overall CPU usage was 84.79%. This is still too high. I need to be able to run other things at the same time. Here is a snapshot of my top 10 processes at that time:

CPU usage: ==> Overall: 84.79% <==, Individual CPUs: 86.30%, 83.90%, 85.20%, 84.90%, 84.20%, 84.00%, 85.00%, 84.80%:

2022-03-22__10:54:52, INFO,        ==> Overall: 84.79% <==,        Individual CPUs: 86.30%, 83.90%, 85.20%, 84.90%, 84.20%, 84.00%, 85.00%, 84.80% 
     1/10) 69.40%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-po
licy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-be
fore-activation --renderer-client-id=16516 --launch-time-ticks=346992127670 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     2/10) 44.30%, cmd: /opt/google/chrome/chrome --type=gpu-process --enable-logging --v=1 --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --chan
ge-stack-guard-on-fork=enable --gpu-preferences=UAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --use-gl=angle --
use-angle=swiftshader-webgl --enable-logging --v=1 --shared-files --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     3/10)  8.40%, cmd: git-lfs filter-process
     4/10)  5.60%, cmd: /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
     5/10)  5.20%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-po
licy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-be
fore-activation --renderer-client-id=13832 --launch-time-ticks=305656378882 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     6/10)  5.00%, cmd: /opt/google/chrome/chrome --enable-logging --v=1 --enable-crashpad
     7/10)  3.80%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-po
licy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-be
fore-activation --renderer-client-id=16571 --launch-time-ticks=347646846605 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     8/10)  2.70%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-po
licy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-be
fore-activation --renderer-client-id=65 --launch-time-ticks=258098277411 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     9/10)  2.00%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --extension-process --display-ca
pture-permissions-policy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --
enable-main-frame-before-activation --renderer-client-id=16655 --launch-time-ticks=348594962070 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309
,131072
    10/10)  1.70%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-po
licy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-be
fore-activation --renderer-client-id=16268 --launch-time-ticks=343821553110 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072

With my camera OFF in a Google Meet:

...the overall CPU usage dropped to only 24.39%, which is much better!. Here is a snapshot of all processes > 15% usage on a single core at that time:

CPU usage: ==> Overall: 24.39% <==, Individual CPUs: 26.60%, 24.70%, 22.80%, 25.50%, 23.10%, 22.60%, 24.10%, 25.70%:

2022-03-22__10:55:13, INFO,        ==> Overall: 24.39% <==,        Individual CPUs: 26.60%, 24.70%, 22.80%, 25.50%, 23.10%, 22.60%, 24.10%, 25.70% 
     1/2) 69.40%, cmd: /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --display-capture-permissions-policy-allowed --origin-trial-disabled-features=ConditionalFocus --change-stack-guard-on-fork=enable --enable-logging --v=1 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=16516 --launch-time-ticks=346992127670 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
     2/2) 44.30%, cmd: /opt/google/chrome/chrome --type=gpu-process --enable-logging --v=1 --enable-crashpad --crashpad-handler-pid=4110 --enable-crash-reporter=268aff53-36a9-4582-a3c8-e90265a8e7eb, --change-stack-guard-on-fork=enable --gpu-preferences=UAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --use-gl=angle --use-angle=swiftshader-webgl --enable-logging --v=1 --shared-files --field-trial-handle=0,i,15427397749472110246,12853657884234341309,131072
2022-03-22__10:55:17, INFO,        ==> Overall: 27.80% <==,        Individual CPUs: 29.30%, 28.50%, 27.60%, 26.20%, 24.90%, 26.30%, 28.70%, 30.90% 
ElectricRCAircraftGuy commented 2 years ago

I just sent Google a link to this issue as part of my feedback to the Google Meet (feedback rating pops up after each meeting ends).

ElectricRCAircraftGuy commented 2 years ago

Here is the cpu_logger.py script I used to log the CPU percentages above. It runs continually and logs to a set of rotating log files.

ElectricRCAircraftGuy commented 2 years ago

Reported again today.

ElectricRCAircraftGuy commented 2 years ago

Potential fix/work-around/mitigation

It looks like the periodic and consistent CPU lockup is due to hardware acceleration being on in Chrome. There must be some bug associated with that in Linux or something. So, the temporary "fix" is to just disable it:

To disable "hardware acceleration" in Chrome:

See here: https://github.com/ElectricRCAircraftGuy/bug_reports/issues/1#issuecomment-1183505841

ElectricRCAircraftGuy commented 2 years ago

I just posted a Chromium bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=1349969

Frkncm commented 1 year ago

Hi, I was facing the same issue on Linux Ubuntu 22.04, and solved the problem by disabling chrome's automatic server reports doing the followings:

It manages to decrease CPU utilization dramatically, especially when watching a video. Cheers!

ElectricRCAircraftGuy commented 1 year ago

Thank you @Frkncm! I just changed that setting and will see if it helps!

How did you find my repo here, by the way, and this issue? And, how did you discover this solution? Do you have any references or did you figure it out on your own?

Frkncm commented 1 year ago

Hi @ElectricRCAircraftGuy.

I was just checking around to see if this is a known issue and came across this query you made. Then I decided to do a couple of tests on my setup, I found that the steps I mentioned managed to fix the issue, so want to also update this ticket. Hope it would also fix your problem as well.

ElectricRCAircraftGuy commented 1 year ago

@Frkncm , I've had that setting disabled for about 2 weeks now:

image

and unfortunately it did not fix my issue. :(

The CPU still locks up periodically to 100% usage for up to 1 to 2 minutes at a time without warning when in Google Meet video chats with video on :frowning_face: :

image

ElectricRCAircraftGuy commented 1 year ago

Summary of things I have tried which do not work to fix the issue:

  1. Disabling "hardware acceleration"
  2. Disabling setting to "Help improve Chrome's features and performance"
jason-gigastar commented 1 year ago

It's possible this is related to backgrounds. I noticed that when I kill some of these offensive processes (there are way too many) that my background blur stops working.

deepakpunjabi commented 1 year ago

IMO this is something that has changed on the server side(eg. AI video enhancements hogging up CPU). I might try Meet with Firefox for a few days and report back.

ElectricRCAircraftGuy commented 1 year ago

It's possible this is related to backgrounds. I noticed that when I kill some of these offensive processes (there are way too many) that my background blur stops working.

This is true. Using the background blur or special smart background settings takes a ton of (GPU; and CPU?) resources, resulting in my machine really slowing down. I have disabled my special backgrounds, therefore, a long time ago. By disabling "hardware acceleration" it actually prohibits usage of the smart backgrounds, so this is not my issue either.

ElectricRCAircraftGuy commented 1 year ago

@deepakpunjabi , let me know if that helps. Are you seeing my CPU issue too?--where it periodically locks up your CPU at 100% for 1 to 2 minutes, rendering your machine useless during that time?

ElectricRCAircraftGuy commented 1 year ago

Possibly related: maybe it's Eclipse's indexer or garbage collector periodically taking too much CPU, running in the background, and causing problems, starving my Chrome browser and Google Meet of resources?

  1. Stack Overflow: Eclipse uses 100 % CPU randomly
  2. Stack Overflow: High CPU usage in Eclipse when idle
    1. My very long and detailed answer
ElectricRCAircraftGuy commented 1 year ago

Update 7 Dec. 2022: Nope! It's not Eclipse that is the problem, as far as I can tell.

It might be a general Chrome bug though, not just a Google Meet bug, but I can't tell fully, as Google Meet is the most consistent thing I use which triggers the bug.

I think I may eventually switch from the Chrome browser to Firefox entirely and permanently if I can't get this resolved. Chrome also has problems on Amazon's website, which is also super annoying. The website locks up and glitches a lot when used with Chrome in Linux, especially with my mouse scroll wheel fix in-use as described here--see the bug section talking about Amazon at the bottom.

jason-gigastar commented 1 year ago

After my previous problem, chrome would not startup properly. The process would appear in the task list but I could not see the window on the Ubuntu desktop. I solved this by killall chrome, back-up and rm -rf ~/.config/google-chrome/, then launch chrome and go through the first-time config steps.

With the new config, the backgrounds were not available in google meet (this was probably true in my initial install too). It suggested I enable hardware acceleration but I did that and no effect, bounced process and still no effect. The solution (hack?) was to go to chrome://flags and enable Override software rendering list. This is labeled as an experimental feature so maybe the high cpu is a bleeding edge consequence. I have not seen the high cpu problem in days so maybe it's something that happens after awhile (memory leak?) and I recall that chrome was using much more memory (maybe 3x) when the last problem was seen but maybe I just had more tabs open.

ElectricRCAircraftGuy commented 1 year ago

I think the problem may actually be due to Slack (the chat program popular with software developers and tech companies).

Even with Google Meet closed right now, I'm noticing my CPU usage slam up to 100% for about 1 minute every 4 minutes or so. Slack appears to be running something in the background and it may be its underlying Java Virtual Machine (JVM) spawning threads? I'm not 100% sure if Slack is the culprit, but closing Slack just now seems to have stopped the issue! It was occurring regularly every 4 or so minutes for 16 or so minutes until I closed Slack, and it's now been 12 or so minutes with zero re-occurrences of my CPU slamming back up to 100%!

I wonder if I can pass it some options like I do in Eclipse to tell Slack to use fewer threads so it can never use so many CPU resources.

ElectricRCAircraftGuy commented 1 year ago

cat ~/.config/Slack/logs/default/electron_debug.log shows a lot of this:

[15719:1207/151421.330627:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

Here is more of the end of the log:

[9506:1130/154711.394920:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
[21894:1130/154715.522504:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[21894:1130/154715.607020:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[21894:1130/154715.607606:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[21894:1130/154719.042946:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[21894:1130/154719.125513:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[21894:1130/154719.125987:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[22059:1130/180531.573594:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=10
[22059:1130/181733.888973:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=20
[22059:1130/183138.786053:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=30
[22059:1130/183909.572347:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=40
[22059:1130/183927.826250:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=50
[22059:1130/203117.049504:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=60
[22059:1130/204442.519722:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=70
[22059:1130/204955.477136:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=80
[22059:1130/205634.621807:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=90
[22059:1130/210135.358998:WARNING:sync_reader.cc(298)] SyncReader::Read timed out, audio glitch count=100
[22059:1130/210135.359156:WARNING:sync_reader.cc(301)] (log cap reached, suppressing further logs)
[5438:1201/121027.985268:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[5438:1201/121028.208139:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/121028.209017:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/121036.625875:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/121036.789651:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/121036.791082:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/204327.065393:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/204327.226151:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1201/204327.226573:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5793:1202/105255.667629:WARNING:spdy_session.cc(3502)] Received HEADERS for invalid stream 1
[5793:1202/110942.965953:WARNING:spdy_session.cc(3502)] Received HEADERS for invalid stream 701
[11604:1202/220705.568402:WARNING:crashpad_client_linux.cc(417)] prctl: Invalid argument (22)
[7016:1203/105412.335087:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[7016:1203/105412.613532:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7016:1203/105412.615254:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7016:1203/105426.701679:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7016:1203/105426.967352:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7016:1203/105426.968674:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1205/233641.062314:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[5438:1205/233641.335882:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1205/233641.337092:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1205/233648.509548:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1205/233648.658437:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[5438:1205/233648.659630:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[15719:1207/151416.993257:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[15719:1207/151417.113430:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[15719:1207/151417.114014:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[15719:1207/151421.056659:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[15719:1207/151421.328358:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[15719:1207/151421.330627:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
ElectricRCAircraftGuy commented 1 year ago

Alright, killing and restarting Slack seems to have fixed the problem of the CPU usage shooting up really high periodically (for now). I'll continue to monitor. I've also updated my CPU logger so I can get better insight, and I'll report back on whatever else I find out.

To kill and restart Slack easily:

# kill slack
pkill slack

# then re-open it manually via your GUI shortcut

# OR, to start slack from the command-line so you can also see all messages print out live, run this
slack

I'll have to see how my Google Meet video chats act in the future, to see if that changed anything.

Note: it could be that Slack is getting stuck somewhere whenever I change internet interfaces from Ethernet to Wifi, or whenever my internet or wifi temporarily goes out, or whenever I connect or disconnect to/from my VPN. I don't really know. Totally guessing/hypothesizing here...

ElectricRCAircraftGuy commented 1 year ago

It may not be Chrome nor Slack nor Eclipse. My logger doesn't seem to capture what is actually taking all of the CPU. In the case where 93.12% of all 8 of my CPUs are being used, ps reports that Chrome supposedly only uses 102.2% of 1 cpu. And in the case where only 22.39% of all 8 of my CPUs are being used, ps reports Chrome uses 94.8% of 1 cpu. So...there's no real difference. In the former case where my computer is locked up with \~800% individual CPU usage (all 8 cores at \~100%), Chrome uses \~1/8 of the total CPUs, and in the case where my computer is running smoothly at 22.39% x 800% = 179% of 800% total usage, Chrome also uses \~1/8 of the total CPUs.

So, what is using the other 700% of my CPUs???

  93.12% total usage of 8 CPUs case 22.39% total usage of 8 CPUs case
     
  Chrome usage % of 1 CPU Chrome usage % of 1 CPU
  35.2 28.5
  19.5 18.6
  16.5 16.5
  15.8 15.8
  10.6 10.7
  4.6 4.7
1-cpu total: 102.2% 94.8%

The 2 data snippets from my cpu logger, used to produce the table above:

2022-12-07__16:31:29, INFO,        ===> Overall: 93.12% <===          Individual CPUs:    93.10%, 93.70%, 91.80%, 89.50%, 89.90%, 92.20%, 95.30%, 99.50%
      1/10)    35.20%    cmd: /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=805 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=147237792531 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
      2/10)    19.50%    cmd: /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=760 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=146635986491 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
      3/10)    16.50%    cmd: /opt/google/chrome/chrome
      4/10)    16.40%    cmd: /usr/lib/slack/slack --type=renderer --enable-crashpad --crashpad-handler-pid=29876 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --standard-schemes=app,slack-webapp-dev --enable-sandbox --secure-schemes=app,slack-webapp-dev --bypasscsp-schemes=slack-webapp-dev --cors-schemes=slack-webapp-dev --fetch-schemes=slack-webapp-dev --service-worker-schemes=slack-webapp-dev --streaming-schemes --app-path=/usr/lib/slack/resources/app.asar --enable-sandbox --enable-blink-features=ExperimentalJSProfiler --disable-blink-features --first-renderer-process --autoplay-policy=no-user-gesture-required --enable-logging --force-color-profile=srgb --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=145978558808 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,6049425927370344431,11966485195551484102,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand --window-type=main
      5/10)    15.80%    cmd: /opt/google/chrome/chrome --type=gpu-process --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
      6/10)    10.60%    cmd: /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=725 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=146169712480 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
      7/10)     8.50%    cmd: /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
      8/10)     5.90%    cmd: /home/gabriel.staples/Downloads/Install_Files--p/Firefox/firefox/firefox
      9/10)     4.60%    cmd: /opt/google/chrome/chrome --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
     10/10)     4.50%    cmd: /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -data file:/home/gabriel.staples/GS--w/dev--w/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -showsplash /home/gabriel.staples/.p2/pool/plugins/org.eclipse.epp.package.common_4.25.0.20220908-1200/splash.bmp -launcher /home/gabriel.staples/eclipse/cpp-2022-09/eclipse/eclipse -name Eclipse --launcher.library /home/gabriel.staples/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so -startup /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 5e6801b -product org.eclipse.epp.package.cpp.product -vm /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java -vmargs --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

2022-12-07__16:32:07, INFO,         ===> Overall: 22.39% <===       Individual CPUs:    23.40%, 27.10%, 18.50%, 18.10%, 21.50%, 15.20%, 26.30%, 29.00%
     1/10)  28.50%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=805 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=147237792531 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
     2/10)  18.70%  cmd:    /usr/lib/slack/slack --type=renderer --enable-crashpad --crashpad-handler-pid=29876 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --standard-schemes=app,slack-webapp-dev --enable-sandbox --secure-schemes=app,slack-webapp-dev --bypasscsp-schemes=slack-webapp-dev --cors-schemes=slack-webapp-dev --fetch-schemes=slack-webapp-dev --service-worker-schemes=slack-webapp-dev --streaming-schemes --app-path=/usr/lib/slack/resources/app.asar --enable-sandbox --enable-blink-features=ExperimentalJSProfiler --disable-blink-features --first-renderer-process --autoplay-policy=no-user-gesture-required --enable-logging --force-color-profile=srgb --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=145978558808 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,6049425927370344431,11966485195551484102,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand --window-type=main
     3/10)  18.60%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=760 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=146635986491 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
     4/10)  16.50%  cmd:    /opt/google/chrome/chrome
     5/10)  15.80%  cmd:    /opt/google/chrome/chrome --type=gpu-process --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
     6/10)  10.70%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=725 --time-ticks-at-unix-epoch=-1670308509599296 --launch-time-ticks=146169712480 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
     7/10)   8.60%  cmd:    /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
     8/10)   5.90%  cmd:    /home/gabriel.staples/Downloads/Install_Files--p/Firefox/firefox/firefox
     9/10)   4.70%  cmd:    /opt/google/chrome/chrome --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=21751 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,847855666783364524,7188907749862163397,131072
    10/10)   4.50%  cmd:    /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -data file:/home/gabriel.staples/GS--w/dev--w/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -showsplash /home/gabriel.staples/.p2/pool/plugins/org.eclipse.epp.package.common_4.25.0.20220908-1200/splash.bmp -launcher /home/gabriel.staples/eclipse/cpp-2022-09/eclipse/eclipse -name Eclipse --launcher.library /home/gabriel.staples/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so -startup /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 5e6801b -product org.eclipse.epp.package.cpp.product -vm /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java -vmargs --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Maybe I need to start logging the output of top instead, to see which process is sucking up all of my resources...

:frowning_face:

ElectricRCAircraftGuy commented 1 year ago

Updated CPU % usage logger

Done! I am logging the output of top now too. Here is my latest cpu logger: cpu_logger.py. Let's see if this reveals any additional useful information when my system locks up.

I start it with:

sudo chrt -rr 1 /home/gabriel/GS/dev/eRCaGuy_dotfiles/useful_scripts/cpu_logger.py

sudo chrt -rr 1 is necessary to start the process with a high-priority soft real-time scheduler in Linux. See my answer here for details.

I view its output live with:

less -N --follow-name +F ~/cpu_log.log

It logs to a rotating log file at ~/cpu_log.log.

ElectricRCAircraftGuy commented 1 year ago

Possible fix (this may be it!): decrease swappiness from the default of 60 down to 0

With my updated logger logging top output, I can now see that my top processes in-use during my locked-up periods include kswapd0, chrome, slack, and java (Eclipse). It _appears_ that my lockup is due tokswapd0` doing disk swap. Decreasing my swappiness from the default of 60 to 0 seems to have significantly helped my problem!

Notice in my previous screenshots that my lockups began appearing around 80% RAM usage. Decreasing swappiness to 0 defers the lockups to \~90% RAM usage, and makes them less severe. See my anecdote here: what is the different between settings swappiness to 0 to swapoff:

I have found that setting swappiness to 0 significantly improves the performance of my system which has 32 GB RAM, a 64 GB swap file on a high-speed m.2 SSD, and which is continually running out of RAM.

With swappiness set to the default of 60, I'd regularly get 1 to 2 minute lockup periods while kswapd0 is running (as shown by top) to try to swap memory for some memory hog application like Chrome, Slack, Eclipse, or Google Meet (within Chrome). I'd start to get these lockups at 80% full RAM. The computer would be completely unusable during this time--unable even for me to type into a terminal or click on a menu.

Setting swappiness to 0 significantly helped!. I started not getting really high CPU usage until 90% RAM full, swap space would still get used plenty--but more efficiently, and when my RAM did get almost full my computer would become very sluggish, but still barely usable rather than completely unusable!

See some of my symptoms here, which I originally thought were due to a bug in Google Meet, but now think were due to memory swap making my computer slow: https://github.com/ElectricRCAircraftGuy/bug_reports/issues/3#issue-1177137900

See also

  1. Ask Ubuntu: kswapd0 is taking a lot of cpu

See especially my answers here now:

  1. How do I configure swappiness?
  2. My answer--I needed this swappiness info. for it: Problem: Eclipse and the Eclipse indexer take up all my resources / CPU%
  3. Ask Ubuntu: How to log CPU load?
ElectricRCAircraftGuy commented 1 year ago

Perhaps the problem is Slack?

Here are my commit notes for my commit which added the below CPU % usage log file: https://github.com/ElectricRCAircraftGuy/bug_reports/commit/e45952cf816dcce5420e029dfc1d96e7d48e0217?diff=split

This file contains my cpu logs as logged by cpu_logger.py.

My computer was mostly idle, then cpu usage ramped up to 100% suddenly, and locked up. I couldn't click nor type nor open a terminal properly. It lasted 2 minutes or so of total lockup followed by about 10 minutes of 35% usage or so, before dropping back down to the nominal 15% cpu usage sitting idle. I was typing in Slack at the time the incident happened. There was no Google Meet running. I had Chrome open, but wasn't actively doing anything in Chrome at the time. Eclipse was also open in the background, but also just sitting idle.

I suspect Slack may be the problem. Still undetermined.

Log file from cpu_logger.py:
https://raw.githubusercontent.com/ElectricRCAircraftGuy/bug_reports/main/cpu_logs/cpu_log_20221214-1358hrs.log

That log file came from ~/cpu_log.log. It logs psutil and top output about every 4 seconds.

Notes to self:

at time 14:09 it ended; started about 12 minutes or so before that

line 107017 - start

line 107790 - high cpu

line 118916 - end

Sample log iteration before the high CPU lockout incident:

Total CPU usage is 17.04%:

2022-12-14__13:58:46, INFO, ======================== START of loop count 17871 =============================

Output from `psutil`:
===> Overall CPU usage: 17.04% <===     Individual CPUs:    15.80%, 20.10%, 13.20%, 13.30%, 12.30%, 22.50%, 16.20%, 22.90%

Output from `ps`:
     1/10)  18.80%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2481 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=76002488134 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     2/10)  16.80%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2478 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=75973227773 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     3/10)  11.70%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2399 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=74502432467 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     4/10)   6.80%  cmd:    /opt/google/chrome/chrome --type=gpu-process --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     5/10)   6.20%  cmd:    /opt/google/chrome/chrome
     6/10)   5.10%  cmd:    /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
     7/10)   5.10%  cmd:    /usr/lib/slack/slack --type=renderer --enable-crashpad --crashpad-handler-pid=5655 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --standard-schemes=app,slack-webapp-dev --enable-sandbox --secure-schemes=app,slack-webapp-dev --bypasscsp-schemes=slack-webapp-dev --cors-schemes=slack-webapp-dev --fetch-schemes=slack-webapp-dev --service-worker-schemes=slack-webapp-dev --streaming-schemes --app-path=/usr/lib/slack/resources/app.asar --enable-sandbox --enable-blink-features=ExperimentalJSProfiler --disable-blink-features --first-renderer-process --autoplay-policy=no-user-gesture-required --enable-logging --force-color-profile=srgb --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=449573025 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15188871732628019811,2326279310007851125,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand --window-type=main
     8/10)   4.90%  cmd:    /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -data file:/home/gabriel.staples/GS--w/dev--w/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -showsplash /home/gabriel.staples/.p2/pool/plugins/org.eclipse.epp.package.common_4.25.0.20220908-1200/splash.bmp -launcher /home/gabriel.staples/eclipse/cpp-2022-09/eclipse/eclipse -name Eclipse --launcher.library /home/gabriel.staples/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so -startup /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 18800f -product org.eclipse.epp.package.cpp.product -vm /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java -vmargs --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
     9/10)   3.30%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=1624 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=59490201340 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
    10/10)   2.50%  cmd:    /home/gabriel.staples/opt/foxitsoftware/foxitreader/FoxitReader /home/gabriel.staples/GS--w/dev--w/MCTM/MCTM Feature Flags_GS_edit.pdf

Output from `top`:

top - 13:58:51 up 21:11,  1 user,  load average: 2.80, 3.62, 2.98
Tasks: 536 total,   2 running, 445 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.5 us,  1.4 sy,  0.0 ni, 92.7 id,  0.3 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 32653848 total,  1070612 free, 17666196 used, 13917040 buff/cache
KiB Swap: 67108860 total, 67044348 free,    64512 used. 10391560 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
13881 gabriel+  20   0  1.104t 241764 112384 S  31.6  0.7  24:07.43 chrome
 5470 gabriel+  20   0 33.054g 504688 370800 S  21.1  1.5  86:40.79 chrome
18953 root      -2   0   54120   5660   4352 R  21.1  0.0   0:00.06 top
 5798 gabriel+  20   0 32.645g 126104  70392 S  15.8  0.4  20:56.57 slack
 3777 gabriel+  20   0 1618700 586388 538928 S  10.5  1.8  64:54.67 Xorg
 3912 gabriel+  20   0 4584512 425984 240756 R  10.5  1.3  24:09.24 gnome-shell
 2614 gabriel+  20   0 18.408g 4.559g  68332 S   5.3 14.6  11:02.18 java
 3303 root      20   0 1801576  40388  13484 S   5.3  0.1   0:35.48 dockerd
 3942 gabriel+   9 -11 2645452  19084  14752 S   5.3  0.1   5:59.33 pulseaudio
 4503 gabriel+  20   0 1242800  66008  31536 S   5.3  0.2   0:30.30 nemo-deskt+
 6078 gabriel+  20   0  1.103t 381408 107720 S   5.3  1.2  65:02.33 slack
 8360 gabriel+  20   0 33.006g  83180  71120 S   5.3  0.3   3:21.72 chrome
 8402 gabriel+  20   0  1.107t 613564 120028 S   5.3  1.9  18:51.95 chrome
11999 gabriel+  20   0  1.105t 230908 137208 S   5.3  0.7   3:29.40 chrome
    1 root      20   0  226544   9984   6384 S   0.0  0.0   0:46.59 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.11 kthreadd
    6 root       0 -20       0      0      0 I   0.0  0.0   0:01.55 kworker/0:+
    7 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_+
    8 root      20   0       0      0      0 S   0.0  0.0   0:02.64 ksoftirqd/0
    9 root      20   0       0      0      0 I   0.0  0.0   1:48.64 rcu_sched
   10 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.08 migration/0
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/0
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
   14 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1
   15 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/1
   16 root      rt   0       0      0      0 S   0.0  0.0   0:00.13 migration/1
   17 root      20   0       0      0      0 S   0.0  0.0   0:02.68 ksoftirqd/1
   19 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/1:+
   20 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/2
   21 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/2
   22 root      rt   0       0      0      0 S   0.0  0.0   0:00.08 migration/2
   23 root      20   0       0      0      0 S   0.0  0.0   0:01.27 ksoftirqd/2
   25 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/2:+
   26 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/3
   27 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/3
   28 root      rt   0       0      0      0 S   0.0  0.0   0:00.08 migration/3
   29 root      20   0       0      0      0 S   0.0  0.0   0:01.52 ksoftirqd/3
   31 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/3:+
   32 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/4
   33 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/4
   34 root      rt   0       0      0      0 S   0.0  0.0   0:00.10 migration/4
   35 root      20   0       0      0      0 S   0.0  0.0   0:01.89 ksoftirqd/4

During

The below log iteration was captured probably at one of the two circled peaks here. I tried to use the screenshot tool on my computer to capture this image, but couldn't, as my computer wouldn't respond for a couple minutes, so I used my phone to capture this instead:

aaa

Total CPU usage is 97.11%: Notice that slack is at the top of the top output:

2022-12-14__13:59:35, INFO, ======================== START of loop count 17882 =============================

Output from `psutil`:
===> Overall CPU usage: 97.11% <===     Individual CPUs:    98.70%, 95.90%, 97.20%, 96.70%, 95.70%, 97.50%, 99.00%, 96.20%

Output from `ps`:
     1/10)  66.50%  cmd:    chef-client worker: ppid=1577;start=13:59:34;
     2/10)  18.30%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2481 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=76002488134 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     3/10)  14.60%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2478 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=75973227773 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     4/10)  12.10%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2399 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=74502432467 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     5/10)   6.80%  cmd:    /opt/google/chrome/chrome --type=gpu-process --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     6/10)   6.20%  cmd:    /opt/google/chrome/chrome
     7/10)   5.10%  cmd:    /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
     8/10)   5.10%  cmd:    /usr/lib/slack/slack --type=renderer --enable-crashpad --crashpad-handler-pid=5655 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --standard-schemes=app,slack-webapp-dev --enable-sandbox --secure-schemes=app,slack-webapp-dev --bypasscsp-schemes=slack-webapp-dev --cors-schemes=slack-webapp-dev --fetch-schemes=slack-webapp-dev --service-worker-schemes=slack-webapp-dev --streaming-schemes --app-path=/usr/lib/slack/resources/app.asar --enable-sandbox --enable-blink-features=ExperimentalJSProfiler --disable-blink-features --first-renderer-process --autoplay-policy=no-user-gesture-required --enable-logging --force-color-profile=srgb --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=449573025 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,15188871732628019811,2326279310007851125,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand --window-type=main
     9/10)   4.90%  cmd:    /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -data file:/home/gabriel.staples/GS--w/dev--w/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -showsplash /home/gabriel.staples/.p2/pool/plugins/org.eclipse.epp.package.common_4.25.0.20220908-1200/splash.bmp -launcher /home/gabriel.staples/eclipse/cpp-2022-09/eclipse/eclipse -name Eclipse --launcher.library /home/gabriel.staples/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so -startup /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 18800f -product org.eclipse.epp.package.cpp.product -vm /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java -vmargs --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
    10/10)   3.30%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=1624 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=59490201340 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072

Output from `top`:

top - 13:59:41 up 21:12,  1 user,  load average: 5.66, 4.10, 3.17
Tasks: 540 total,   9 running, 439 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.5 us,  1.4 sy,  0.0 ni, 92.7 id,  0.3 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 32653848 total,   913136 free, 17764140 used, 13976572 buff/cache
KiB Swap: 67108860 total, 67044348 free,    64512 used. 10240540 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 6078 gabriel+  20   0  1.103t 390280 107724 R  80.8  1.2  65:23.42 slack
 3912 gabriel+  20   0 4584168 425840 240644 R  60.3  1.3  24:18.33 gnome-shell
19190 root      20   0   40588   6716   4544 R  54.8  0.0   0:00.40 ruby
11999 gabriel+  20   0  1.105t 227700 137208 S  47.9  0.7   3:43.49 chrome
19185 root      -2   0   54120   5776   4468 R  47.9  0.0   0:00.79 top
 5470 gabriel+  20   0 33.069g 509452 375120 S  32.9  1.6  86:53.10 chrome
 5798 gabriel+  20   0 32.653g 125996  70472 S  30.1  0.4  21:05.81 slack
 3942 gabriel+   9 -11 2383308  18936  14604 S  26.0  0.1   6:05.61 pulseaudio
 5351 gabriel+  20   0 33.118g 770844 288088 R  26.0  2.4  79:13.44 chrome
 5471 gabriel+  20   0 32.552g 148916  93216 S  11.0  0.5  29:33.04 chrome
13881 gabriel+  20   0  1.104t 238584 112168 R   9.6  0.7  24:16.51 chrome
 6012 gabriel+  20   0  1.104t 148492  99620 R   8.2  0.5  16:52.24 chrome
13978 gabriel+  20   0    9952   2472   2176 R   8.2  0.0   3:09.80 less
 8360 gabriel+  20   0 33.006g  83180  71120 S   6.8  0.3   3:23.71 chrome
14334 root      20   0       0      0      0 I   6.8  0.0   0:00.43 kworker/5:2
18213 gabriel+  20   0  1.104t 306256 117104 S   6.8  0.9   1:00.65 chrome
19117 root      20   0  156956  46448   3616 S   6.8  0.1   0:02.73 chef-client
 2614 gabriel+  20   0 18.408g 4.559g  68332 S   5.5 14.6  11:03.60 java
 3777 gabriel+  20   0 1618244 586276 538816 S   5.5  1.8  65:00.35 Xorg
 5821 gabriel+  20   0 32.457g  71660  59244 S   2.7  0.2   0:50.31 slack
 8147 gabriel+  20   0 2952088 230292  94040 S   2.7  0.7   1:10.54 FoxitReader
 8402 gabriel+  20   0  1.109t 623104 120028 S   2.7  1.9  18:54.10 chrome
19187 root      20   0    4636    856    788 S   2.7  0.0   0:00.02 sh
    9 root      20   0       0      0      0 I   1.4  0.0   1:48.83 rcu_sched
  484 root      20   0       0      0      0 S   1.4  0.0   0:37.42 dmcrypt_wr+
  543 root      20   0       0      0      0 S   1.4  0.0   0:34.74 jbd2/dm-1-8
 3307 root      20   0  191740  24772   8760 S   1.4  0.1   2:32.17 nessusd
 5005 root      20   0  566108  21056  17392 S   1.4  0.1   0:06.91 fwupd
 6065 gabriel+  20   0  1.104t 140648 108456 S   1.4  0.4   0:33.71 chrome
12398 root       0 -20       0      0      0 I   1.4  0.0   0:02.13 kworker/u1+
13019 gabriel+  20   0  1.104t 104032  84224 S   1.4  0.3   0:12.37 chrome
13957 gabriel+  20   0  1.108t 318852 133084 S   1.4  1.0   1:28.52 chrome
    1 root      20   0  226544   9984   6384 S   0.0  0.0   0:46.79 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.11 kthreadd
    6 root       0 -20       0      0      0 I   0.0  0.0   0:01.55 kworker/0:+
    7 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_+
    8 root      20   0       0      0      0 S   0.0  0.0   0:02.65 ksoftirqd/0
   10 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.09 migration/0
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/0
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
   14 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1
   15 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/1

After

Total CPU usage is 13.85%:

2022-12-14__14:11:41, INFO, ======================== START of loop count 18040 =============================

Output from `psutil`:
===> Overall CPU usage: 13.85% <===     Individual CPUs:    13.70%, 15.10%, 17.30%, 12.30%, 12.50%, 14.60%, 12.60%, 12.70%

Output from `ps`:
     1/10)  31.90%  cmd:    /usr/lib/slack/slack --type=renderer --enable-crashpad --crashpad-handler-pid=20420 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --standard-schemes=app,slack-webapp-dev --enable-sandbox --secure-schemes=app,slack-webapp-dev --bypasscsp-schemes=slack-webapp-dev --cors-schemes=slack-webapp-dev --fetch-schemes=slack-webapp-dev --service-worker-schemes=slack-webapp-dev --streaming-schemes --app-path=/usr/lib/slack/resources/app.asar --enable-sandbox --enable-blink-features=ExperimentalJSProfiler --disable-blink-features --first-renderer-process --autoplay-policy=no-user-gesture-required --enable-logging --force-color-profile=srgb --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1670975246587853 --launch-time-ticks=76783337581 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,13835068197817525677,12052380151410821269,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand --window-type=main
     2/10)  17.50%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2399 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=74502432467 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     3/10)  15.60%  cmd:    /usr/lib/slack/slack --type=gpu-process --enable-logging --enable-crashpad --crashpad-handler-pid=20420 --enable-crash-reporter=40c71e9e-53bd-4a78-94b8-acadb60c4c20,no_channel --user-data-dir=/home/gabriel.staples/.config/Slack --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --enable-logging --log-file=/home/gabriel.staples/.config/Slack/logs/default/electron_debug.log --shared-files --field-trial-handle=0,i,13835068197817525677,12052380151410821269,131072 --disable-features=AllowAggressiveThrottlingWithWebSocket,CalculateNativeWinOcclusion,HardwareMediaKeyHandling,IntensiveWakeUpThrottling,LogJsConsoleMessages,RequestInitiatorSiteLockEnfocement,SpareRendererForSitePerProcess,WebRtcHideLocalIpsWithMdns,WinRetrieveSuggestionsOnlyOnDemand
     4/10)   7.00%  cmd:    /opt/google/chrome/chrome --type=gpu-process --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     5/10)   6.90%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2481 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=76002488134 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
     6/10)   6.30%  cmd:    /opt/google/chrome/chrome
     7/10)   5.80%  cmd:    /usr/bin/perl /usr/bin/shutter
     8/10)   5.20%  cmd:    /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/46153590/gdm/Xauthority -background none -noreset -keeptty -verbose 3
     9/10)   5.10%  cmd:    /opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=5367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=2478 --time-ticks-at-unix-epoch=-1670975246587854 --launch-time-ticks=75973227773 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,5668476697635628173,7053646072506783028,131072
    10/10)   4.80%  cmd:    /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -data file:/home/gabriel.staples/GS--w/dev--w/eclipse-workspace/ -os linux -ws gtk -arch x86_64 -showsplash /home/gabriel.staples/.p2/pool/plugins/org.eclipse.epp.package.common_4.25.0.20220908-1200/splash.bmp -launcher /home/gabriel.staples/eclipse/cpp-2022-09/eclipse/eclipse -name Eclipse --launcher.library /home/gabriel.staples/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so -startup /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 18800f -product org.eclipse.epp.package.cpp.product -vm /home/gabriel.staples/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_19.0.1.v20221102-1007/jre/bin/java -vmargs --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms1024m -Xmx12288m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=4 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Djava.security.manager=allow -jar /home/gabriel.staples/eclipse/cpp-2022-09/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Output from `top`:

top - 14:11:45 up 21:24,  1 user,  load average: 1.01, 3.43, 3.97
Tasks: 534 total,   1 running, 444 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.8 us,  1.4 sy,  0.0 ni, 92.4 id,  0.3 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 32653848 total,   697500 free, 17701344 used, 14255004 buff/cache
KiB Swap: 67108860 total, 67050748 free,    58112 used. 10384636 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 5470 gabriel+  20   0 33.058g 505604 371208 S  33.3  1.5  89:35.64 chrome
 3777 gabriel+  20   0 1624648 593204 545744 S  22.2  1.8  67:36.36 Xorg
13881 gabriel+  20   0  1.104t 241832 112320 S  22.2  0.7  26:38.69 chrome
21251 root      -2   0   54120   5736   4428 R  16.7  0.0   0:00.03 top
 5351 gabriel+  20   0 33.110g 771960 288816 S  11.1  2.4  81:40.66 chrome
20435 gabriel+  20   0 32.633g 111320  70616 S  11.1  0.3   0:43.19 slack
    1 root      20   0  226544   9984   6384 S   5.6  0.0   0:49.13 systemd
 2614 gabriel+  20   0 18.408g 4.559g  68332 S   5.6 14.6  11:27.20 java
 3942 gabriel+   9 -11 2121164  18904  14572 S   5.6  0.1   7:12.94 pulseaudio
 4499 gabriel+  20   0  678248  50200  36400 S   5.6  0.2  16:12.18 gnome-syst+
 6012 gabriel+  20   0  1.104t 149508  99620 S   5.6  0.5  17:26.39 chrome
 6288 gabriel+  20   0  1.104t 169164 105472 S   5.6  0.5   1:18.49 chrome
 8402 gabriel+  20   0  1.109t 372096 120024 S   5.6  1.1  19:33.17 chrome
 8608 gabriel+  20   0  1.104t 159132 102896 S   5.6  0.5   0:09.40 chrome
11999 gabriel+  20   0  1.105t 232484 137088 S   5.6  0.7   7:28.22 chrome
12728 gabriel+  20   0  1.104t 194732 109292 S   5.6  0.6   0:07.28 chrome
13019 gabriel+  20   0  1.104t 106148  84224 S   5.6  0.3   0:26.65 chrome
14440 gabriel+  20   0  1.106t 736264 129324 S   5.6  2.3   3:44.92 chrome
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.11 kthreadd
    6 root       0 -20       0      0      0 I   0.0  0.0   0:01.58 kworker/0:+
    7 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_+
    8 root      20   0       0      0      0 S   0.0  0.0   0:02.77 ksoftirqd/0
    9 root      20   0       0      0      0 I   0.0  0.0   1:51.59 rcu_sched
   10 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.33 migration/0
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.21 watchdog/0
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
   14 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1
   15 root      rt   0       0      0      0 S   0.0  0.0   0:00.21 watchdog/1
   16 root      rt   0       0      0      0 S   0.0  0.0   0:00.45 migration/1
   17 root      20   0       0      0      0 S   0.0  0.0   0:03.08 ksoftirqd/1
   19 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/1:+
   20 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/2
   21 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/2
   22 root      rt   0       0      0      0 S   0.0  0.0   0:00.08 migration/2
   23 root      20   0       0      0      0 S   0.0  0.0   0:01.32 ksoftirqd/2
   25 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/2:+
   26 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/3
   27 root      rt   0       0      0      0 S   0.0  0.0   0:00.20 watchdog/3
   28 root      rt   0       0      0      0 S   0.0  0.0   0:00.09 migration/3
   29 root      20   0       0      0      0 S   0.0  0.0   0:01.56 ksoftirqd/3
   31 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/3:+
   32 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/4

Final notes

I closed Slack a bit before my CPU went quiet in the data above. Is closing Slack what caused my CPU usage to drop back down to the \~15% idle usage? If so, Slack is the culprit!

I just had Slack closed during the last 45 minutes, with no incident, while typing this whole thing up into Chrome and parsing my log file to upload it above.

These indicators seem to confirm the real issue here may be Slack, but it's still hard to tell.

During all of the above, my swappiness was set to 0, per my instructions here, to minimize swapping, which is slow: How do I configure swappiness?. I verified it just now like this:

$ sysctl vm.swappiness 
vm.swappiness = 0
jason-gigastar commented 1 year ago

@ElectricRCAircraftGuy You've mentioned many data points consistent with performance problems associated with swap usage. It's unclear if your initial issue was swap related. Swap problems do not seem chrome specific as swap basically affects all processes. I'd recommend disabling swap (things will fail when you hit your limit instead of swapping) or using less memory. Swap can cause havoc so easiest to just avoid it when debugging problems. If you get past your swap issues, maybe you'll see issues more relevant to chrome.

ElectricRCAircraftGuy commented 1 year ago

@jason-gigastar , yeah I don't know what to think anymore. I have been running the last several days with swappiness set to 0, and the issue just popped up again today. This time I produced full logs during the event. See my post just above, and the link to my swappiness answer at the bottom of the post just above.

Killing Slack during the event may have helped, but the effect wasn't as instantaneous as I would have thought it would be if Slack was the culprit.

I've got a new computer coming, and will set it up in the coming weeks and upgrade its RAM from 32 GiB to 64 GiB. Hopefully then I'll never see any of these issues again and can forget about this.

Meanwhile though, I'm just documenting what I can to hopefully help solve the issue for myself if it pops up again, and for others if not.

It's really discouraging getting blocked every day from developing because my computer freezes while typing a Slack message or having a video meeting. It has interrupted many meetings and a lot of work over the last 3 years.

jason-gigastar commented 1 year ago

The easiest thing might be to reboot, then swapoff, then see how it goes. If you try to do it with an overloaded system it may hang or choke.

swappiness 0 tells the system to only swap when RAM is 100% used. It's not the same as disabling swap sudo swapoff -a. Both have their pros/cons (I'd do the latter) but the root cause is too much RAM usage. The best thing you can do is use less RAM (less chrome tabs, less apps, rank your processes by memory usage), add more RAM (your new machine).

ElectricRCAircraftGuy commented 1 year ago

@jason-gigastar , I'll try restarting and disabling swap with sudo swapoff -a.

Do you work for Google, Chrome, someone else, in an official capacity? Or, are you just an interested passer-by on this thread?

I also wonder if it's hardware acceleration related, but I've disabled hardware acceleration before in Chrome (see here) and that didn't fix it.

jason-gigastar commented 1 year ago

Nope, just passing through, this is me: https://gigastar.io

ElectricRCAircraftGuy commented 1 year ago

Ok, I just disabled swap. We'll see if that works. sudo swapoff -a is not persistent across reboots. So, instead, I undid my instructions here by editing /etc/fstab and commenting out this line at the bottom, then rebooting:

# this line is now commented out in /etc/fstab
# /swapfile swap swap defaults 0 0

System Monitor shows my swap now off:

image

ElectricRCAircraftGuy commented 1 year ago

This is absolutely infuriating. Disabling swap did not fix it. The computer is locking up for 1 to 2 minutes every few minutes, and has been doing this for the past hour.

Slack, Eclipse, and Chrome have all been running in the background, but relatively idle (meaning: I'm not actively using them really).

I thought it might have been Chrome, so with Slack and Eclipse still open I ran pkill chrome to kill it. I ran the command at the time of the first yellow bar on the left here. Looking at the RAM usage, however, you can see chrome wasn't really killed until the yellow bar on the right. But even then, the CPU usage didn't instantly die, but rather seemed to follow the typical ramp-down pattern, indicating Chrome maybe wasn't the issue.

Selection_600

I later restarted Chome and have been seeing the behavior continuing. Here are some more screenshots:

Selection_601

Selection_602

Selection_603

I then killed slack with pkill -SIGINT slack and the behavior seemed to have improved dramatically, but is still happening. Here are some screenshots of the behavior with Slack NOT running. Notice that the CPU usage peaks are lower and last less time:

image

image

image

ElectricRCAircraftGuy commented 1 year ago

This is killing me. :( I'm so exasperated and frustrated.


But the good news is:

My new laptop came in. I'm going to set it up.

My old laptop (the one being used for all testing thus far in these 2 related issue threads) was a:

My new laptop is a:

ElectricRCAircraftGuy commented 1 year ago

Perhaps the problem is a certain website or tab?

(Or, maybe it's when my computer gets really hot and has been working hard for a long time??)

Yesterday, my RAM usage was only 50%, so I didn't think I had too many tabs open. I closed most of the tabs, however. My RAM usage is back up to 57% right now. But, I've had no freezing the last 1 hour today! The only real difference is that I closed those 89 tabs (many of which were sleeping) and opened up 43 new ones in the last hour during researching. In other words, I may have closed a problematic tab! Note: restarting perhaps doesn't fix this because after each restart I restore all of my tabs to re-open the same ones again which were open before the restart.

So, I wonder if the problem is one of my tabs! Maybe a particular site I had open (I don't know which one) is the culprit, somehow periodically running really-high-CPU and intensive processing tasks at periodic intervals every few minutes.

I saved a list of all of my open tabs by exporting them using the Chrome Session Buddy plugin, so I can go back and review the list later, to perhaps try them one at a time. I had 89 tabs open, but most of them were sleeping via the The Marvellous Suspender program.

Here is my CPU usage at this very second, and over the last 5 minutes (300 seconds):

image

Like I said, the computer has been acting really good the last hour or so. I do also currently have both Slack and Eclipse open, as well as Chrome--again, with 43 tabs right now, none of which are sleeping.

ElectricRCAircraftGuy commented 1 year ago

I think the problem may be my motherboard. I think I just need a new motherboard/computer.

Nope! It's not a certain tab I had open. It just happened again on the old computer. Grrrr. :( The computer froze again briefly while I was watching a YouTube "how-to" tutorial video I needed to watch to learn something about the new computer. The computer became unresponsive at this time, and the video froze. Note that you can see where I'm watching the video by looking at the network usage in the plot. And, you see the network usage drop to zero as the CPU % rose and my computer froze, stopping the video.

image

ElectricRCAircraftGuy commented 1 year ago

New laptop NVIDIA graphics card issues

I had some pretty serious NVIDIA graphics card issues on my new laptop. So, here's my answer on how to install the latest NVIDIA graphics card drivers: How to install the proper NVIDIA graphics driver to hopefully prevent freezes

liquidat commented 1 year ago

Few ideas:

LouDnl commented 1 year ago

Same issues here except on Windows 11. It seems to have gotten worse within the last 2 months or so. I tried as much as any tips I could find, but nothing seems to work. The only thing I could find to work is disabling my videocamera and then it's managable only that's not a solution.

ElectricRCAircraftGuy commented 1 year ago

@LouDnl , I finally got a new computer and that solved my problem. I think it was a bad motherboard in the end, but I can't be sure. That is my only computer that ever had that problem. It was running Ubuntu 18.04. My new computers run Ubuntu 20.04 and 22.04, and neither of them have the issues.

jgato commented 1 year ago

@ElectricRCAircraftGuy I have similar problems with my laptop. Would it be that... your cpu reaches to some temperature that makes to cut the CPU frequencies? This happened to me. It get hot (not very much), so the CPU will only work on 400mhz (of the top of 4000mhz). This makes the laptop unsable. It was a throttling problem, solved here: https://github.com/erpalma/throttled Do you have thermald dameon running that could be failing. Throttled will substitute that daemon.

ElectricRCAircraftGuy commented 1 year ago

@jgato , I no longer have that laptop so I can't do any further testing or verification, but I think that is probably it! The behavior was indicative of thermal throttling, indeed, as it happened periodically at relatively fixed time intervals whenever my computer was under moderate load, which included using Google Meet with my video turned on. I've hearted your comment and will bookmark it for further reference if I ever come across this situation again.

ElectricRCAircraftGuy commented 1 year ago

I think I might avoid using Lenovo laptops for Linux in the future, and instead stick with Dell. I've had good success with my Dell laptops running Linux over the last 5 years.

deepakpunjabi commented 1 year ago

@jgato Any similar tools available for intel Macs? I found the issue to be mostly due to laptop heating issues.

jgato commented 1 year ago

@jgato Any similar tools available for intel Macs? I found the issue to be mostly due to laptop heating issues.

Do you mean Linux running on Mac? Not sure if this throttled can work there. But I never used a Mac, sorry

deepakpunjabi commented 1 year ago

@jgato no, I meant macos

ElectricRCAircraftGuy commented 1 year ago

Side note: I got Linux Ubuntu 20.04 running on an old Macbook 2008. In case your MacOS ever expires and no longer gets security updates, you can wipe the whole thing and get Linux running. It was a pain but worked fine in the end.

<rant>

As far as MacOS goes, I hate it. Macs are so complicated and everything feels non-intuitive and hard to do.

</rant>

danielmotaleite commented 1 year ago

@ElectricRCAircraftGuy I have similar problems with my laptop. Would it be that... your cpu reaches to some temperature that makes to cut the CPU frequencies? This happened to me. It get hot (not very much), so the CPU will only work on 400mhz (of the top of 4000mhz). This makes the laptop unsable. It was a throttling problem, solved here: https://github.com/erpalma/throttled Do you have thermald dameon running that could be failing. Throttled will substitute that daemon.

This! I disabled thermald and magic, the laptop is usable again! if you have ubuntu or this daemon installed, try to stop it (systemctl stop thermald). If it works, totally disable it via systemctl disable thermald and then systemctl mask thermald.service to avoid dpkg from enable it again

deepakpunjabi commented 1 year ago

The responsive on the laptop seems to increase a lot when Meet is used with Safari instead of Chrome/Edge. Seems like there is some issue with how video processing is handled in chromium for mac.

dempo93 commented 1 year ago

I solved by

Cpu usage is back to 40% down from 90%+

ElectricRCAircraftGuy commented 1 year ago

@dempo93 , nice find! I'll watch for that next time I use Google Meet on Linux and have an issue.

These days I use Microsoft Teams as a PWA app in the Edge browser on Linux.

ElectricRCAircraftGuy commented 1 year ago

See also my bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=1349969#c1