Open laclouis5 opened 5 months ago
Fix is up here https://github.com/context-labs/mactop/pull/25 will be merged in for v0.1.9, if you can run the PR locally to confirm it resolves the issue for you, thanks.
I cloned and switched to the development
branch and then compiled the program following the instructions but the issue is stil present when launching the program with sudo ./mactop
. I uninstalled mactop from brew to be sure to launch the right program. The issue seems to spike less often though.
Okay, interesting, can you please post some of your output from powermetrics
here, this would also help to assist to see if powermetrics is reporting correctly or if my side of the code. Thank you for debugging 😃
Here is some powermetrics logs during approximately 10 seconds with a sample rate of 1 second. mactop overflowed during that period of time. Thank you for the quick answer and support!
A weird thing I noticed is that sometimes powermetrics
prints this warning/error in between some samples (on stderr
apparently): Second underflow occurred.
.
I second this issue, I encountered the same problem (freshly downloaded from brew) I have a M1 PRO chip and 32G RAM
I have a M1 Pro with 16 GB ram and encountered the same issue. I dont know why but it seems like this issue doenst happen when mactop is run in tmux session. FYI, I installed mactop with homebrew.
Same problem here! M1 Pro (base model 2E 6P)
This isn't fixed, M2 Pro here with v0.1.9 including the #25 patch
I'm running mactop v0.1.8 on a M1 Pro MacBook Pro and the P-Core Usage bar randomly spikes and overflows to the right of the terminal and the displayed percentage is absurdly hight (above 2000 %) and does not match with any real workload spike on the system (the system is at rest). During those spikes other tools such as top, Activity Monitor or Mx Power Gadget all show a flat and low P-Core usage and frequency.