-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU thread 100% #47
Comments
Same issue here.
|
Try installing #48 |
Hi, 84083 ? SNsl 0:00 /usr/bin/system76-scheduler daemon |
Check the latest change. You may also want to see why execsnoop-bpfcc is failing on this system. |
No more defunct subprocess, but indeed execsnoop-bpfcc fails to start. `● com.system76.Scheduler.service - Automatically configure CPU scheduler for responsiveness on AC May 24 13:27:59 fbriand.opale.net systemd[1]: Starting Automatically configure CPU scheduler for responsiveness on AC... ` execsnoop-bpfcc In file included from :2: |
Would you happen to be using a non-default kernel? |
Linux fbriand.opale.net 5.17.5-76051705-generic #202204271406 |
Sorry about necro-bumping, but with 2.0.0 I'm seeing periodic CPU spikes of the scheduler when run in execsnoop mode. According to (my reading of) strace, there is nothing "wrong", the daemon is just choking on the volume of new execs. This seems to happen when certain shell scripts run (there's a lot of short-lived process creation going on there, like math done with The spikes wear off by themselves, but while they happen the daemon is non-responsive enough that dbus calls from the desktop to it time out. And regardless of those spikes, the daemon in execsnoop mode just consumes illogical amounts of CPU, like 5 minutes an hour, according to Systemd. :( I've turned execsnoop off now, and things are much better. This is on an i5 lemp11 BTW, which is not exactly puny resource-wise. I wonder if it would be more efficient to use execsnoop as just a trigger for the much more efficient process list refresh -- like refresh as soon as there were N (configurable) or more new execsnoop notifications, in addition to doing that every "refresh-rate" seconds. (BTW "refresh-rate" should be "refresh-interval"...) |
@cmm A process list refresh should be more time-consuming, and execsnoop's output is required to identify when a process was I did some profiling with |
Changes have been pushed. Try out the |
indeed, CPU spikes are gone and overall CPU consumption looks sane, thanks! |
Hi,
Just updated the OS and restarted my Lemur Pro and the daemon uses 100% of one of the CPU threads.
I let it run 15 minutes then stopped the service.
Our company owns 5 identical machines, they all had the same issue with execsnoop-bpfcc
/usr/bin/system76-scheduler daemon
_ [execsnoop-bpfcc] < defunct >
System76 Lemur Pro/Lemur Pro, BIOS 2021-07-20_93c2809 07/20/2021
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
The text was updated successfully, but these errors were encountered: