Does gcc, icc, or Microsoft's C/C++ compiler support or know anything about NUMA?

前端 未结 3 1473
梦如初夏
梦如初夏 2021-02-03 10:59

If I have a multi-processor board that has cache-coherent non-uniform memory access ( NUMA ), i.e. separate \"northbridges\" with separate RAM for each processor, does any compi

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-03 11:30

    Linux kernel knows about NUMA and will try to give your process pages from memory local to the current CPU (source: U. Drepper, "What Every Programmer Should Know About Memory".)

提交回复
热议问题