siderolabs / omni-feedback

Omni feature requests, bug reports
https://www.siderolabs.com/platform/saas-for-kubernetes/
MIT License
2 stars 0 forks source link

[bug] Omni not reporting correct dedicate core count #3

Closed ryandellolio closed 1 year ago

ryandellolio commented 1 year ago

Is there an existing issue for this?

Current Behavior

After creating an EC2 instance using the provided installation media and documentation, my AWS EC2 instances connected easily and quickly, however Omni is reporting the incorrect number of CPU cores. After spinning up a few m6i.large instances with 2 dedicated cpus, the reported CPU count is 1. Also notable is that these are dedicated CPU cores, not shared cores or burstable instances. I have not tested on other instance types.

This is a minor issue but:

  1. could cause confusion as larger fleets are deployed on Omni.
  2. there may be future plans for further dashboarding for which this would cause problems

Expected Behavior

Report the correct number of cores / dedicated CPUs regardless of cloud platform

Steps To Reproduce

What browsers are you seeing the problem on?

Safari

Anything else?

EC2:

Screenshot 2023-03-02 at 4 06 12 PM Screenshot 2023-03-02 at 4 05 35 PM

Omni:

unnamed

smira commented 1 year ago

Number of vCPUs might not match the information showed, as vCPU is not a core, and there might be e.g. Hyper Threading.

Omni shows what the VM reports in the hardware information.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html