3 ms·
No they are abstractions around shared memory. Actors are a good example of where having an understanding of NUMA can have serious performance implications. I
by kasey_junk 13y ago
No they are abstractions around shared memory. Actors are a good example of where having an understanding of NUMA can have serious performance implications.
If you architect your actor system so that all of your actors are on the same socket, all message passing (assuming messages are small enough) can happen in socket local cache. This will be much faster than having to cross socket memory or even worse going to main memory.
Conversely, if you aren't paying attention to memory locality you could see unexpected performance degradation as you add actors, because even though your system is more parallel there is more overhead in memory access.