[SERVER-31092] ProcessInfo::getNumAvailableCores() only returns up to 32 on Windows Created: 14/Sep/17 Updated: 30/Oct/23 Resolved: 18/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-10-02 |
| Participants: |
| Description |
|
We're only checking the first 32bits of the result of GetProcessAffinityMask. If we want to be able to detect more than 64 logical processors, we need to use a different API, GetLogicalProcessorInformationEx I believe. |
| Comments |
| Comment by Githook User [ 18/Sep/17 ] |
|
Author: {'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}Message: |