From owner-freebsd-arch@FreeBSD.ORG Thu Feb 19 04:38:01 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 849DAD0E for ; Thu, 19 Feb 2015 04:38:01 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7211E899 for ; Thu, 19 Feb 2015 04:38:00 +0000 (UTC) Received: from Alfreds-MacBook-Pro.local (64-60-248-106.static-ip.telepacific.net [64.60.248.106]) by elvis.mu.org (Postfix) with ESMTPSA id 1C011341F8B2 for ; Wed, 18 Feb 2015 20:38:00 -0800 (PST) Message-ID: <54E568E3.3000905@freebsd.org> Date: Wed, 18 Feb 2015 20:38:59 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-arch@freebsd.org Subject: Re: getting NUMA into the tree (userland most interesting for me) References: <20150219041012.GJ1953@funkthat.com> In-Reply-To: <20150219041012.GJ1953@funkthat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 04:38:01 -0000 On 2/18/15 8:10 PM, John-Mark Gurney 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. > > Thanks. > Going with Linux makes sense at a glance just because it means that the software can run on us without mods. -Alfred