Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2011 09:31:35 -0700
From:      mdf@FreeBSD.org
To:        satish kondapalli <nitw.satish@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: NUMA Support is there in FreeBSD.
Message-ID:  <CAMBSHm_Gh26HaLfzmmkfNoQaCaqajxwVtHKm8s32aS1AneA80A@mail.gmail.com>
In-Reply-To: <1317653757588-4865200.post@n5.nabble.com>
References:  <1317653757588-4865200.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 3, 2011 at 7:55 AM, satish kondapalli <nitw.satish@gmail.com> wrote:
> I am new to FreeBSD, I just want know whether FreeBSD supports NUMA.
> If FreeBSD supports NUMA what are the kernel API to allocate memory?
> is there any example driver or any driver which is using the NUMA API?
>
> please provide some inputs...

The kernel is NUMA-aware (at least for x86), and memory is allocated
round-robin amongst the memory domains.  There are not yet any KPIs
for allocating memory in a specific NUMA domain, nor for binding
specific threads / processes to get their memory local to a bound cpu
instead of round robin.

There have been several discussions but no one has taken the lead and
proposed some KPIs yet.  At $WORK the round-robin is sufficient to get
consistent performance numbers and we have not yet started any
experimentation with binding specific threads to either CPU or memory.

Cheers,
matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMBSHm_Gh26HaLfzmmkfNoQaCaqajxwVtHKm8s32aS1AneA80A>