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

Display issues on M3 Max #66

Open
MALTF opened this issue Nov 24, 2023 · 21 comments
Open

Display issues on M3 Max #66

MALTF opened this issue Nov 24, 2023 · 21 comments

Comments

@MALTF
Copy link

MALTF commented Nov 24, 2023

The CPU usage is incorrect (E-CPU, P-CPU Always display 100%) and memory bandwidth is not displayed, ANE Usage has always been 0, May I know when the M3 Max can be adapted?

M3 Max powermetrics

https://github.com/tlkh/asitop

The homepage display looks like this
asitop_readme.png…

@liyiyuian
Copy link

Hi! I also have the same issue.

Screenshot 2023-11-29 at 5 59 36 AM

@DucretJe
Copy link

The thing is that it doesn't really detect the chip's data, it's hardcoded (here) and as you can see there are no M2 pro/max/ultra nor M3/pro/max
And I have no idea where to find those value to help...

@stncttr908
Copy link

stncttr908 commented Nov 29, 2023

The thing is that it doesn't really detect the chip's data, it's hardcoded (here) and as you can see there are no M2 pro/max/ultra nor M3/pro/max And I have no idea where to find those value to help...

Taking a quick glance it seems to be a rounded value of the bandwidth in GB/sec, so it should be fairly easy to add.

https://en.wikipedia.org/wiki/Apple_M1#Variants
https://en.wikipedia.org/wiki/Apple_M2#Variants
https://en.wikipedia.org/wiki/Apple_M3#Variants

As for the TDP, it looks like it could just be the published or independently measured TDP in watts.

@MALTF
Copy link
Author

MALTF commented Nov 30, 2023

@liyiyuian How long can you use your Mac with a pure battery on a regular basis?

@liyiyuian
Copy link

Hey there! So, I’ve had this device for just a couple of days now. I’ve been running multiple Jupyter kernels and processing hundreds of gigabytes of data on it, which means I can use it for like 3-5 hours straight. However, if I process data remotely, I get around 10 hours.

@MALTF
Copy link
Author

MALTF commented Nov 30, 2023

@liyiyuian I use Android studio, Google Browser and some chat software every day, and use about 8-9 hours from the lowest to the eighth gear.

@MALTF
Copy link
Author

MALTF commented Nov 30, 2023

@liyiyuian Using Bandwidth to test memory throughput did not reach the official advertised 400GB/s memory bandwidth.
Graphs generated by bandwidth
Apple Mac15,9 Apple M3 Max aarch64 macOS 14 1 1

@pechaut78
Copy link

Also the ANE usage is incorrect, when it uses it like for 4%, let's say, it will stay at 4%

@unizhu
Copy link

unizhu commented Dec 8, 2023

Same issue here. M3 Max 40GPU

@iamaziz
Copy link

iamaziz commented Dec 22, 2023

+1 same issue on M3 Max

@samarthm314
Copy link

same issue on M3 Max as well

@sungwonida
Copy link

Same issue here. M3 Max 30GPU.

@gavi
Copy link

gavi commented Dec 29, 2023

wanted to chime in - same issue M3 Max 40 CPU

@gavi
Copy link

gavi commented Dec 29, 2023

Seems like line 88 in parsers.py the idle ratio for cluster is showing as 0. This causes this line

cpu_metric_dict[name+"_active"] = int((1 - cluster["idle_ratio"])*100)

to show 100 for the cluster. This might be a bug in the underlying powermetrics command in Mac.

The individual cores idle ratio seems ok. I think the simple patch would be to just average the individual cores. I will see if I can do a PR

@gavi
Copy link

gavi commented Dec 29, 2023

Just created #68

@MALTF
Copy link
Author

MALTF commented Jan 12, 2024

@gavi #68
This displays more accurately on the M3 Max 40GPU version ->Power Usage Monitor for Apple Silicon .

@davedfx
Copy link

davedfx commented Jan 26, 2024

@gavi #68 This displays more accurately on the M3 Max 40GPU version ->Power Usage Monitor for Apple Silicon .

So you recommend PUMAS instead of Asitop?

@MALTF
Copy link
Author

MALTF commented Jan 26, 2024

So you recommend PUMAS instead of Asitop?

This is for your reference only!!!

@adamkdean
Copy link

adamkdean commented Feb 24, 2024

Same issue on M3 Max 40GPU

XRG is a good stand-in in the meantime

@iamaziz
Copy link

iamaziz commented Feb 25, 2024

this PR #68 solved this issue on my end

@firesh
Copy link

firesh commented Mar 28, 2024

pip install git+https://github.com/gavi/asitop.git

It works fine for my M3 Max

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