Skip to content

Incorrect detection number threads in multisocket motherboards on Windows #4766

@GermanAizek

Description

@GermanAizek

Running Git on multi-CPU motherboard. I have in one CPU 18 cores and 36 threads, but there are two of them installed.

Found it in graphical Git client:
gitextensions/gitextensions#11523

Same behavior is in regular git CLI usage.

297017305-a2c1b87e-5c97-4119-9079-2aa66ede3cc0-1

297017450-5832f0d3-7bde-430e-9758-2fc3863a7b32

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

** git version 2.42.0.windows.1
cpu: x86_64
built from commit: a2e49ec355ae22e74288fa74f50821f3cc1a1551
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon **
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

** Microsoft Windows [Version 10.0.19045.3086] **

Details

  • What commands did you run to trigger this issue?
** git clone <url> **

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions