Difference between revisions of "NUMA"

From Chessprogramming wiki
Jump to: navigation, search
(5 intermediate revisions by the same user not shown)
Line 56: Line 56:
 
* [https://groups.google.com/d/msg/fishcooking/7hHC075ZnnM/IaITCiLaBwAJ NUMA test compilation] by Joachim Müller, [[Computer Chess Forums|FishCooking]], November 05, 2016 » [[Stockfish]]
 
* [https://groups.google.com/d/msg/fishcooking/7hHC075ZnnM/IaITCiLaBwAJ NUMA test compilation] by Joachim Müller, [[Computer Chess Forums|FishCooking]], November 05, 2016 » [[Stockfish]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=63581 What Linux compatible Numa aware engines are available?] by [[Dann Corbit]], [[CCC]], March 29, 2017 » [[Linux]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=63581 What Linux compatible Numa aware engines are available?] by [[Dann Corbit]], [[CCC]], March 29, 2017 » [[Linux]]
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68293 Ethereal 10.88 NUMA] by [[Norman Schmidt]], [[CCC]], August 24, 2018 » [[Ethereal]]
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=71027 Some NUMA data for Stockfish-dev and Cfish-dev] by [[Louis Zulli]], [[CCC]], June 17, 2019 » [[Stockfish]], [[CFish]]
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=72689 NUMA] by lucasart, [[CCC]], December 30, 2019
  
 
=External Links=
 
=External Links=
Line 61: Line 64:
 
* [http://lse.sourceforge.net/numa/faq/ NUMA Frequently Asked Questions]
 
* [http://lse.sourceforge.net/numa/faq/ NUMA Frequently Asked Questions]
 
* [http://wiki.osdev.org/Multiprocessing Multiprocessing - OSDev Wiki]
 
* [http://wiki.osdev.org/Multiprocessing Multiprocessing - OSDev Wiki]
* [http://netlib.org/utk/papers/advanced-computers/ccnuma.html ccNUMA machines] in [[Aad J. van der Steen]], [http://www.netlib.org/utk/people/JackDongarra/ Jack J. Dongarra] ('''2004'''). ''[http://netlib.org/utk/papers/advanced-computers/overview.html Overview of Recent Supercomputers]''.  
+
* [http://netlib.org/utk/papers/advanced-computers/ccnuma.html ccNUMA machines] in [[Aad J. van der Steen]], [[Mathematician#JDongarra|Jack Dongarra]] ('''2004'''). ''[http://netlib.org/utk/papers/advanced-computers/overview.html Overview of Recent Supercomputers]''.  
 
==[[Linux]]==
 
==[[Linux]]==
 
* [http://man7.org/linux/man-pages/man7/numa.7.html numa(7) - Linux manual page]
 
* [http://man7.org/linux/man-pages/man7/numa.7.html numa(7) - Linux manual page]
Line 72: Line 75:
 
* [http://software.intel.com/en-us/articles/optimizing-applications-for-numa Optimizing Applications for NUMA | Intel® Developer Zone]
 
* [http://software.intel.com/en-us/articles/optimizing-applications-for-numa Optimizing Applications for NUMA | Intel® Developer Zone]
 
* [https://doc.xdevs.com/doc/AMD/_Performance/Performance%20Guidelines%20for%20AMD%20Athlon%2064%20and%20AMD%20Opteron%20ccNUMA%20Multiprocessor%20Systems.%20rev.3.00%5D.%5B2006-06%5D.pdf Performance Guidelines for AMD Athlon™ 64 and AMD Opteron™ ccNUMA Multiprocessor Systems] (pdf)
 
* [https://doc.xdevs.com/doc/AMD/_Performance/Performance%20Guidelines%20for%20AMD%20Athlon%2064%20and%20AMD%20Opteron%20ccNUMA%20Multiprocessor%20Systems.%20rev.3.00%5D.%5B2006-06%5D.pdf Performance Guidelines for AMD Athlon™ 64 and AMD Opteron™ ccNUMA Multiprocessor Systems] (pdf)
 +
==Misc==
 +
* [[:Category:The Who|The Who]] - [https://en.wikipedia.org/wiki/Magic_Bus_(song) Magic Bus], [https://en.wikipedia.org/wiki/Live_at_Leeds Live at Leeds] (1970), [https://en.wikipedia.org/wiki/YouTube YouTube] Video
 +
: {{#evu:https://www.youtube.com/watch?v=TmfQQC1bsf4|alignment=left|valignment=top}}
  
 
=References=  
 
=References=  
Line 77: Line 83:
  
 
'''[[Memory|Up one Level]]'''
 
'''[[Memory|Up one Level]]'''
 +
[[Category:The Who]]

Revision as of 23:15, 27 March 2020

Home * Hardware * Memory * NUMA

Possible NUMA system [1]

NUMA, (Non-uniform memory access)
a multiprocessing memory design where the main memory is partitioned between processors. Opposed to SMP, where all processors compete for access to the centralized shared memory bus, making it difficult to scale well bejoind 8 to 12 CPUs [2], NUMA splits the main memory into so called nodes with separate memory busses for subsets of processors, and high speed interconnection between nodes, either directly in so called 1-hop distance, or indirectly in 2-hop distance. Despite the high speed interconnection, NUMA memory access time varies considerably between faster local memory and remote memory of other nodes. Maintaining cache coherence of processor caches adds significant overhead to NUMA Systems, addressed by ccNUMA which is mostly used synonymous for current NUMA implementations [3].

x86

AMD implemented NUMA with its Opteron processor in 2003, using HyperTransport. Intel announced NUMA compatibility for their x86 servers in late 2007 with Nehalem CPUs using QuickPath Interconnect [4].

Considerations

Scheduling of threads across nodes and cores of a system is a complicated topic due to access of independent or shared data. There are several considerations in ccNUMA aware operating systems and software, such as keeping data local by virtue of first touch [5] [6]. NUMA and processor affinity APIs help application programmers to bind threads or processes to NUMA nodes or to allocate memory from a certain node.

See also

Selected Publications

1998 ...

2000 ...

Memory part 1
Memory part 2: CPU caches
Memory part 3: Virtual Memory
Memory part 5: What programmers can do

2010 ...

Forum Posts

2000 ...

2010 ...

2015 ...

Re: thread affinity by Robert Hyatt, CCC, July 03, 2015

External Links

Linux

Windows

x86

Misc

References

Up one Level