-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Cannot read number of sockets correctly, number of sockets set to 0 (ARM64) #2743
Comments
This is really interesting. For some reason on RPI4 there is no |
Thanks @iwankgb for the potential fix. Happy to help out with testing it, just let me know! |
There is a bit more that must be done: online file is being read while looking for numa nodes and sockets too. |
have you fixed ? How? |
@longyang10208 there is a link to pending pull request above. |
@iwankgb I built a image with you branch I still had the same issue. Here is the Dockerfile i used
|
@limpep, could you provide cadvisor logs or output, please? |
@iwankgb here the output logs
and here is the pull build log |
Why have you decided to build for arm32 architecture? The fix will work for arm64 only. Instead of building using arm32 architecture you can try to cross build. |
@iwankgb To be honest I am fairly new to the whole docker world. Not sure how to build for arm64 |
same, also willing to test , using zcube/cadvisor also rpi 4 |
I did a quick check in the Lines 64 to 75 in 19ba5a8
However, my
Line 69 in 19ba5a8
@iwankgb I'm guessing the main change in your PR is to "bypass" this cpu online check for Raspberry Pi? Lines 250 to 255 in 19ba5a8
It would be great to understand as well why the Raspberry Pi doesn't have a My .2, hope it helps understand where the issue is for people reading this issue. |
@fastlorenzo same issue here bot sure what the repercussion of this issue is though. |
CPU hotplug is disabled on RPi in general: raspberrypi/linux#843. You can take a look at #2744 where I work on the fix. |
Can I ask why there won't be a fix for 32bit kernels which is what official Raspbians are? |
Sorry, found the answer - you don't have hardware to test the fix. I am willing to test it for you, or even provide you access to hardware if you wish. |
@Letme upload a snapshot of |
RaspberryPi4:
RaspberryPi3B:
|
Hello, "W0429 19:41:04.325885 4743 sysinfo.go:203] Nodes topology is not available, providing CPU topology" |
@jc42jc this is expected behaviour. There is no NUMA on RPi. |
I know ARM is not officially supported (notice I'm not using the official image either), so no expectations here at all for an actual fix.
Running Ubuntu 20.04 LTS on a Raspberry Pi 4B 8 GB in case that helps.
$ uname -a Linux 5.4.0-1022-raspi #25-Ubuntu SMP PREEMPT Thu Oct 15 13:31:49 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered: