GHC issues
https://gitlab.haskell.org/ghc/ghc/-/issues
2019-07-07T18:14:33Z
https://gitlab.haskell.org/ghc/ghc/-/issues/15049
NUMA not detected on Win10 with AMD Ryzen Threadripper
2019-07-07T18:14:33Z
kanetw
NUMA not detected on Win10 with AMD Ryzen Threadripper
AMD's Threadripper can be configured to be a 1-socket 2-die NUMA system:
Coreinfo.exe:
```
Logical to Physical Processor Map:
**------------------------------ Physical Processor 0 (Hyperthreaded)
--**---------------------------- Phys...
AMD's Threadripper can be configured to be a 1-socket 2-die NUMA system:
Coreinfo.exe:
```
Logical to Physical Processor Map:
**------------------------------ Physical Processor 0 (Hyperthreaded)
--**---------------------------- Physical Processor 1 (Hyperthreaded)
----**-------------------------- Physical Processor 2 (Hyperthreaded)
------**------------------------ Physical Processor 3 (Hyperthreaded)
--------**---------------------- Physical Processor 4 (Hyperthreaded)
----------**-------------------- Physical Processor 5 (Hyperthreaded)
------------**------------------ Physical Processor 6 (Hyperthreaded)
--------------**---------------- Physical Processor 7 (Hyperthreaded)
----------------**-------------- Physical Processor 8 (Hyperthreaded)
------------------**------------ Physical Processor 9 (Hyperthreaded)
--------------------**---------- Physical Processor 10 (Hyperthreaded)
----------------------**-------- Physical Processor 11 (Hyperthreaded)
------------------------**------ Physical Processor 12 (Hyperthreaded)
--------------------------**---- Physical Processor 13 (Hyperthreaded)
----------------------------**-- Physical Processor 14 (Hyperthreaded)
------------------------------** Physical Processor 15 (Hyperthreaded)
Logical Processor to Socket Map:
******************************** Socket 0
Logical Processor to NUMA Node Map:
****************---------------- NUMA Node 0
----------------**************** NUMA Node 1
Approximate Cross-NUMA Node Access Cost (relative to fastest):
00 01
00: 1.0 1.4
01: 1.7 1.2
```
However, ghc-8.4.1 doesn't detect the NUMA topology when running with `--numa`
```
ghc.EXE: --numa: OS reports NUMA is not available
```
I haven't attempted dualbooting into Linux, yet, so I can't tell whether it's a Windows-only issue.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | -------------- |
| Version | 8.4.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Runtime System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"NUMA not detected on Win10 with AMD Ryzen Threadripper","status":"New","operating_system":"","component":"Runtime System","related":[],"milestone":"8.6.1","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.4.1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"AMD's Threadripper can be configured to be a 1-socket 2-die NUMA system:\r\n\r\nCoreinfo.exe:\r\n{{{\r\nLogical to Physical Processor Map:\r\n**------------------------------ Physical Processor 0 (Hyperthreaded)\r\n--**---------------------------- Physical Processor 1 (Hyperthreaded)\r\n----**-------------------------- Physical Processor 2 (Hyperthreaded)\r\n------**------------------------ Physical Processor 3 (Hyperthreaded)\r\n--------**---------------------- Physical Processor 4 (Hyperthreaded)\r\n----------**-------------------- Physical Processor 5 (Hyperthreaded)\r\n------------**------------------ Physical Processor 6 (Hyperthreaded)\r\n--------------**---------------- Physical Processor 7 (Hyperthreaded)\r\n----------------**-------------- Physical Processor 8 (Hyperthreaded)\r\n------------------**------------ Physical Processor 9 (Hyperthreaded)\r\n--------------------**---------- Physical Processor 10 (Hyperthreaded)\r\n----------------------**-------- Physical Processor 11 (Hyperthreaded)\r\n------------------------**------ Physical Processor 12 (Hyperthreaded)\r\n--------------------------**---- Physical Processor 13 (Hyperthreaded)\r\n----------------------------**-- Physical Processor 14 (Hyperthreaded)\r\n------------------------------** Physical Processor 15 (Hyperthreaded)\r\n\r\nLogical Processor to Socket Map:\r\n******************************** Socket 0\r\n\r\nLogical Processor to NUMA Node Map:\r\n****************---------------- NUMA Node 0\r\n----------------**************** NUMA Node 1\r\n\r\nApproximate Cross-NUMA Node Access Cost (relative to fastest):\r\n 00 01\r\n00: 1.0 1.4\r\n01: 1.7 1.2\r\n}}}\r\n\r\nHowever, ghc-8.4.1 doesn't detect the NUMA topology when running with `--numa`\r\n{{{\r\nghc.EXE: --numa: OS reports NUMA is not available\r\n}}}\r\n\r\nI haven't attempted dualbooting into Linux, yet, so I can't tell whether it's a Windows-only issue.","type_of_failure":"OtherFailure","blocking":[]} -->
8.6.1
kanetw
kanetw