[GHC] #12602: Add NUMA support to Windows

GHC ghc-devs at haskell.org
Sat Oct 1 22:20:10 UTC 2016


#12602: Add NUMA support to Windows
-----------------------------+----------------------------------------
        Reporter:  Phyx-     |                Owner:  Phyx-
            Type:  task      |               Status:  patch
        Priority:  normal    |            Milestone:  8.2.1
       Component:  Compiler  |              Version:  8.0.1
      Resolution:            |             Keywords:
Operating System:  Windows   |         Architecture:  Unknown/Multiple
 Type of failure:  Other     |            Test Case:
      Blocked By:            |             Blocking:
 Related Tickets:  #11054    |  Differential Rev(s):  Phab:D2534
       Wiki Page:            |
-----------------------------+----------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"c93813d96b1da53a2ebd9c9ac5af6cc3e3443c43/ghc"
 c93813d9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c93813d96b1da53a2ebd9c9ac5af6cc3e3443c43"
 Add NUMA support for Windows

 Summary:
 NOTE: I have been able to do simple testing on emulated NUMA nodes.
            Real hardware would be needed for a proper test.

 D2199 Added NUMA support for Linux, I have just filled in the missing
 pieces following
 the description of the Linux APIs.

 Test Plan:
 Use `bcdedit.exe /set groupsize 2` to modify the kernel again (Similar to
 D2533).

 This generates some NUMA nodes:

 ```
 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.1 1.1
 01: 1.0 1.0
 ```

 run ` ../test-numa.exe +RTS --numa -RTS`

 and check PerfMon for NUMA allocations.

 Reviewers: simonmar, erikd, bgamari, austin

 Reviewed By: simonmar

 Subscribers: thomie, #ghc_windows_task_force

 Differential Revision: https://phabricator.haskell.org/D2534

 GHC Trac Issues: #12602
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12602#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list