3 ms·
That's what I was going to post. Use NUMA - each core gets it's own memory. Doesn't linux support NUMA? It seems to me that each thread already has it's own me
by ars 18y ago
That's what I was going to post. Use NUMA - each core gets it's own memory. Doesn't linux support NUMA?
It seems to me that each thread already has it's own memory space, just make sure the memory space for the thread is on the same CPU the thread runs on.
It isn't really necessary for each core to be able to access all memory (or at least it'll be way slower to access memory outside it's area).