getting NUMA into the tree (userland most interesting for me)

K. Macy kmacy at freebsd.org
Thu Feb 19 21:32:14 UTC 2015


On Wed, Feb 18, 2015 at 8:10 PM, John-Mark Gurney <jmg at funkthat.com> wrote:
> I would like to help drive getting NUMA into the tree.  Specificly,
> getting userland allocations to be done from a specified domain.
>
> I've looked at the projects/numa tree, but it appears that not much was
> done to get userland mappings to be NUMA aware.
>
> How are we going to do this?  Do people have code to do this?
>
> I've looked at how Linux does this, at least from a programming
> interface.  They use mmap to create the mapping, and then use the call
> mbind to tell the kernel where to handle the allocations.  Is this
> what people are thinking?
>
> I've checked the wiki status, and the userland section is quite
> empty.
>


I personally don't think the infrastructure is far enough along that
this is near to be an interesting value proposition. However, that
said, I do believe that maintaining linux compatibility is important.
Thus I would be for adding it to the linux compatibility layer and
export it on the FreeBSD API side purely as an SPI until consensus is
reached.

-K


More information about the freebsd-arch mailing list