[SERVER-62183] Support for hostInfo.cpuFrequencyMHz on Graviton Created: 20/Dec/21 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alex Podelko (Inactive) | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | sa-remove-fv-backlog-22 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Service Arch
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
hostInfo doesn't show cpuFrequencyMHz (and some other processor-related information) on Graviton: "cpuFrequencyMHz" : "", |
| Comments |
| Comment by Kelsey Schubert [ 07/Jun/22 ] |
|
I don't think it's particularly urgent. cc bruce.lucas@mongodb.com |
| Comment by Alex Podelko (Inactive) [ 20/Dec/21 ] |
|
lauren.lewis We are not getting all information about server physical configuration and this info would be missed everywhere we provide it (diagnostic files/tools, etc.). |
| Comment by Lauren Lewis (Inactive) [ 20/Dec/21 ] |
|
alex.podelko can you provide more information around the impact of this issue? cc: shameek.ray |
| Comment by Alex Podelko (Inactive) [ 20/Dec/21 ] |
|
AWS response on reporting ARM frequency information: Unfortunately Arm64 Linux has made a choice not to share the cpu frequency in /proc/cpuinfo. We place it in dmi data (e.g. `sudo dmidecode`) and you can get it via perf (e.g. ` sudo perf stat -e cpu-clock,cycles ..`) as long as that core isn’t sleeping. |
| Comment by Alex Podelko (Inactive) [ 20/Dec/21 ] |
|
It looks like that info is not reported by Graviton processors the same was as it is reported by Intel processors - and output between commands is rather inconsistent: [ec2-user@ip-10-2-0-100 ~]$ cat /proc/cpuinfo [ec2-user@ip-10-2-0-100 ~]$ lscpu [ec2-user@ip-10-2-0-100 ~]$ sudo dmidecode --type processor dmidecode 3.0 |
| Comment by Alex Podelko (Inactive) [ 20/Dec/21 ] |
|
Copying from STAR-2344 (more details there): rs0:PRIMARY> db.hostInfo() , , |