Etaler icon indicating copy to clipboard operation
Etaler copied to clipboard

NUMA aware CPUBackend

Open marty1885 opened this issue 5 years ago • 1 comments

Currently CPUBackend is not NUMA aware, so Etaler might run slower on a NUMA system (Multi-socket servers/ AMD 1st gen EPYC/ AMD ThreadRipper). Binding threads on NUMA nodes. allocating memory on NUMA local memory and running separate backends on NUMA nodes should allow Etaler to run fast on NUMA systems.

Yet since TBB is not NUMA aware. So we might need to drop TBB to support NUMA.

marty1885 avatar Jun 03 '19 03:06 marty1885

We might want to implement a thread pool w/ std::thread and pin threads to numa nodes using boost::numa. Seems to be the most portable solution.

marty1885 avatar Jun 06 '19 09:06 marty1885