NUMA, cpuset and malloc

Robert Waksmundzki waksmundzki at gmail.com
Sat Apr 20 22:43:29 UTC 2013


On NUMA systems allocated memory is striped across local and non-local banks in order to have consistent performance in case the task is rescheduled to a different CPU socket.
When a process is pinned to a single CPU socket with cpuset having the memory allocator prefer local banks would probably improve performance. Default system behavior would stay the same and the optimization would only be triggered on big multi socket systems when administrator used cpuset (command mostly used for performance optimization anyway).

Is this something currently implemented in FreeBSD? Is this even a good idea?


More information about the freebsd-hackers mailing list