Skip to content
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 Usage pretty high on M1 Mac #240

Open
Universumgames opened this issue Jan 12, 2022 · 11 comments
Open

CPU Usage pretty high on M1 Mac #240

Universumgames opened this issue Jan 12, 2022 · 11 comments

Comments

@Universumgames
Copy link

Universumgames commented Jan 12, 2022

It's not really a bug, but more an annoyance. The CPU usage of eul on my M1 Pro is pretty high with idling around 100% in the Activity Monitor (probably taking one full efficiency core?).

Screenshots
Screenshot 2022-01-12 at 12 53 02

Context

  • eul version: v1.6.2
  • macOS version: 12.2
  • Device model: MacBook M1 Pro 16" 512 GB 16 GB

Debug Output
Nothing interesting going on here, but if you wish so...

Terminal output of running eul for around 5 seconds and opening menu

`
⚙️ loaded data from user defaults preference {
"temperatureUnit" : "celius",
"cpuMenuDisplay" : "usagePercentage",
"fontDesign" : "default",
"appearance" : "auto",
"showCPUTopActivities" : true,
"showRAMTopActivities" : true,
"checkStatusItemVisibility" : true,
"showIcon" : true,
"textDisplay" : "compact",
"networkRefreshRate" : 3,
"upgradeMethod" : "autoUpdate",
"language" : "en",
"smcRefreshRate" : 5,
"showNetworkTopActivities" : true
}
SMC init error unknown(kIOReturn: -536870206, SMCResult: 0)
🔋 battery info 80 100 0 0 false false good acPower
🔋 battery info 80 100 0 0 false false good acPower
⚙️ loaded data from user defaults EulComponent {
"activeComponents" : [
"CPU",
"Memory",
"Network",
"Disk"
],
"availableComponents" : [
"GPU",
"Battery"
],
"showComponents" : false
}
⚙️ loaded data from user defaults EulMenuComponent {
"availableComponents" : [

],
"activeComponents" : [
"CPU",
"GPU",
"Memory",
"Network",
"Battery",
"Bluetooth",
"Disk"
],
"showComponents" : true
}
shell with ["system_profiler SPDisplaysDataType -xml"]
⚙️ loaded data from user defaults componentConfig {
"converted" : true,
"configs" : [
{
"diskSelection" : "",
"showIcon" : true,
"showGraph" : false,
"networkPortSelection" : "",
"component" : "CPU"
},
{
"showIcon" : true,
"component" : "Battery",
"diskSelection" : "",
"showGraph" : false,
"networkPortSelection" : ""
},
{
"showIcon" : true,
"component" : "Network",
"diskSelection" : "",
"showGraph" : false,
"networkPortSelection" : ""
},
{
"showIcon" : true,
"component" : "Disk",
"diskSelection" : "",
"showGraph" : false,
"networkPortSelection" : ""
},
{
"showIcon" : true,
"component" : "GPU",
"diskSelection" : "",
"showGraph" : false,
"networkPortSelection" : ""
},
{
"showIcon" : true,
"component" : "Memory",
"diskSelection" : "",
"showGraph" : false,
"networkPortSelection" : ""
}
]
}
🔋 battery info 80 100 0 0 false false good acPower
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
🔵🦷 state update 5
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
🔋 battery info 80 100 0 0 false false good acPower
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
🔋 battery info 80 100 0 0 false false good acPower
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
🔵🦷 connected devices []
shell pipe with ["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
shell pipe with ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
good to launch
good to launch
data received for ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
CPU top is updating
data received for ["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
shell with ["ps -p 47432 -o comm="]
shell with ["ps -p 47556 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 92015 -o comm="]
shell with ["ps -p 47621 -o comm="]
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
✅ status item is visible
🔋 battery info 80 100 0 0 false false good acPower
shell with ["networksetup -listnetworkserviceorder"]
network top is updating
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
data received for ["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
data received for ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
shell with ["ps -p 49336 -o comm="]
shell with ["ps -p 47432 -o comm="]
shell with ["ps -p 4276 -o comm="]
shell with ["ps -p 47556 -o comm="]
shell with ["ps -p 0 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 94081 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 381 -o comm="]
CPU top is updating
shell with ["ps -p 92015 -o comm="]
shell with ["ps -p 47621 -o comm="]
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
shell with ["networksetup -listnetworkserviceorder"]
network top is updating
shell with ["ps -p 353 -o comm="]
shell with ["ps -p 449 -o comm="]
shell with ["ifconfig"]
shell with ["ps -p 47314 -o comm="]
shell with ["ps -p 47427 -o comm="]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["ps -p 47429 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 47560 -o comm="]
🔋 battery info 80 100 0 0 false false good acPower
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
shell with ["networksetup -listnetworkserviceorder"]
network top is updating
shell with ["ps -p 47331 -o comm="]
shell with ["ifconfig"]
shell with ["ps -p 47427 -o comm="]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["ps -p 47429 -o comm="]
shell with ["ps -p 47560 -o comm="]
data received for ["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
data received for ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
shell with ["ps -p 49336 -o comm="]
shell with ["ps -p 47432 -o comm="]
shell with ["ps -p 4276 -o comm="]
shell with ["ps -p 94081 -o comm="]
shell with ["ps -p 47556 -o comm="]
shell with ["ps -p 0 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 381 -o comm="]
CPU top is updating
shell with ["ps -p 92015 -o comm="]
shell with ["ps -p 47621 -o comm="]
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
network top is updating
shell with ["ps -p 353 -o comm="]
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ps -p 47314 -o comm="]
shell with ["ps -p 47427 -o comm="]
shell with ["ifconfig"]
shell with ["ps -p 47429 -o comm="]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 47560 -o comm="]
🔋 battery info 80 100 0 0 false false good acPower
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
network top is updating
shell with ["ps -p 449 -o comm="]
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ps -p 47427 -o comm="]
shell with ["ps -p 47429 -o comm="]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 47560 -o comm="]
data received for ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
data received for ["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
shell with ["ps -p 49336 -o comm="] shell with ["ps -p 47432 -o comm="]

shell with ["ps -p 4276 -o comm="]
shell with ["ps -p 47556 -o comm="]
shell with ["ps -p 94081 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 0 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 92015 -o comm="]
CPU top is updating
shell with ["ps -p 47621 -o comm="]
shell with ["nettop -L 1 -P -x -J bytes_in,bytes_out"]
network top is updating
shell with ["ps -p 353 -o comm="]
shell with ["ps -p 449 -o comm="]
shell with ["networksetup -listnetworkserviceorder"]
shell with ["ps -p 47314 -o comm="]
shell with ["ps -p 47331 -o comm="]
shell with ["ifconfig"]
shell with ["ps -p 47427 -o comm="]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
shell with ["ps -p 47429 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 47560 -o comm="]
🔋 battery info 80 100 0 0 false false good acPower
data received fordata received for ["top -l 0 -u -n 5 -stats pid,cpu,command -s 5"]
["top -l 0 -n 6 -stats pid,command,rsize -s 5 -orsize"]
shell with ["ps -p 49336 -o comm="]
shell with ["ps -p 47432 -o comm="]
shell with ["ps -p 47556 -o comm="]
shell with ["ps -p 4276 -o comm="]
shell with ["ps -p 47544 -o comm="]
shell with ["ps -p 94081 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 92015 -o comm="]
shell with ["ps -p 0 -o comm="]
shell with ["ps -p 381 -o comm="]
shell with ["ps -p 47621 -o comm="]
CPU top is updating
[shell with ["networksetup -listnetworkserviceorder"]
shell with ["ifconfig"]
network services order [eul.Info.NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6"), eul.Info.NetworkPort(port: Optional("Wi-Fi"), device: "en0"), eul.Info.NetworkPort(port: Optional("Thunderbolt Bridge"), device: "bridge0")]
network active interfaces ["en0", "awdl0", "llw0", "en6"]
network current active interfaces NetworkPort(port: Optional("USB 10/100/1000 LAN"), device: "en6")
shell with ["netstat -bI en6"]
`

@Universumgames
Copy link
Author

Update to cpu usage after apparently 6 hours (CPU time) or rather 3 hours realtime...

Screenshot 2022-01-12 at 15 24 31

@Universumgames
Copy link
Author

quitting and reopening the application decreases the CPU usage down to <5% when the menu is open and disappears from the first "page" ~20 entries when the menu is closed ( <1% CPU usage)

@MusaAqeel
Copy link

It is not optimized for any Apple Silicon devices. We have been waiting since @gao-sun has gotten a new Pro machine but he has not done so yet, but we are all hoping for an M1 version soon!

@gao-sun
Copy link
Owner

gao-sun commented Jan 14, 2022

I'm working on it. Will publish a new version once complete.

@MusaAqeel
Copy link

I'm working on it. Will publish a new version once complete.

Excited!

@alexander-potemkin
Copy link

Thank you! I just discovered the app, amazed, but then found it eat like 1-2 cores of my M1, so had to shut it down for now.
Hope it will be an easy transition!

And by the way, is there any way I can buy you a cup of coffee or support you in some other way?

@xeron
Copy link

xeron commented Feb 22, 2022

I don't think it's an M1 issue. I saw this happening on Intel Mac as well. Restart of EUL usually fixed it for a while.

@alexander-potemkin
Copy link

To support this thesis, on M1 it doesn’t start eating the processor immediately after the start.

@gao-sun
Copy link
Owner

gao-sun commented Mar 4, 2022

please see #243

@alexander-potemkin
Copy link

Thanks for letting know!

@sowhyim
Copy link

sowhyim commented Feb 8, 2024

I got the same issue, but it seems not only the M1.
got sample here, hope this can been fixed
1707376016298
Sample of eul.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants