NUMA, cpuset and malloc

David Xu davidxu at freebsd.org
Mon Apr 22 02:22:34 UTC 2013


On 2013/04/21 06:43, Robert Waksmundzki wrote:
> 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?

Do you mean linux like numactl ? AFAIK, there is no such feature in the
FreeBSD.

Regards,
David Xu



More information about the freebsd-hackers mailing list