Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31092

ProcessInfo::getNumAvailableCores() only returns up to 32 on Windows

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.6.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-10-02

    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.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: