[SERVER-50123] Record number of physical cores on all platforms Created: 05/Aug/20  Updated: 29/Oct/23  Resolved: 23/Oct/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.2, 4.2.11, 3.6.21, 4.0.22

Type: New Feature Priority: Major - P3
Reporter: Nic Cottrell Assignee: Gabriel Russell (Inactive)
Resolution: Fixed Votes: 0
Labels: diagnostics
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-67705 Add count of NUMA zones to FTDC metadata Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.8, v4.7, v4.4, v4.2, v4.0, v3.6
Sprint: Service Arch 2020-08-24, Service arch 2020-09-07, Service arch 2020-10-05, Service arch 2020-11-02
Participants:
Linked BF Score: 0

 Description   

The db.hostInfo() helper already records the number of logical cores for most customer systems and even limits to what's actually available inside a container with cgroups (see SERVER-40506) but doesn't capture physical cores except on MacOS.

In terms of auditing host capacities across larger MongoDB deployments, it would be useful to also capture physical core counts and expose this value via db.hostInfo()'s existing hostInfo.extra.physicalCores field .



 Comments   
Comment by Githook User [ 29/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 jstest for hostInfo.extra.physicalCores
Branch: v3.6
https://github.com/mongodb/mongo/commit/525bb949dae7a196dbebd767ff79e30b458585f7

Comment by Githook User [ 29/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 Record number of physical cores on all platforms
Branch: v3.6
https://github.com/mongodb/mongo/commit/61eb18dc3dfa78a3501e0ea27fc9168a254196e7

Comment by Githook User [ 26/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 jstest for hostInfo.extra.physicalCores
Branch: v4.0
https://github.com/mongodb/mongo/commit/f3e1c75924038769b29c2c4f548f6011d97b47da

Comment by Githook User [ 23/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 Record number of physical cores on all platforms
Branch: v4.0
https://github.com/mongodb/mongo/commit/a017afe7b73c13c111e63112c723edbf441e7eda

Comment by Githook User [ 23/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 Record number of physical cores on all platforms
Branch: v4.2
https://github.com/mongodb/mongo/commit/bba7669d98169dd8ee2ef23c7ea0f8fa19fe8f69

Comment by Githook User [ 23/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 jstest for hostInfo.extra.physicalCores
Branch: v4.4
https://github.com/mongodb/mongo/commit/fbdda8cb4937b24f5afe6b3982e6df3940453453

Comment by Githook User [ 23/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 Record number of physical cores on all platforms
Branch: v4.4
https://github.com/mongodb/mongo/commit/d2aa85049faf7b01370827357c039abf020c26d9

Comment by Githook User [ 21/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 support counting processors on s390x
Branch: master
https://github.com/mongodb/mongo/commit/0a1784fee182faddaaf0cb702666cba310c1ad36

Comment by Githook User [ 03/Oct/20 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-50123 Record number of physical cores on all platforms
Branch: master
https://github.com/mongodb/mongo/commit/1c3598b62c98a5e33292db4daf81994bef1e7824

Generated at Thu Feb 08 05:21:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.