From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 13 14:57:59 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69D91106568B for ; Fri, 13 Nov 2009 14:57:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 247F58FC12 for ; Fri, 13 Nov 2009 14:57:59 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id CC1BA46B3B; Fri, 13 Nov 2009 09:57:58 -0500 (EST) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 0CCC58A01B; Fri, 13 Nov 2009 09:57:58 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Fri, 13 Nov 2009 09:34:55 -0500 User-Agent: KMail/1.9.7 References: <20091113020835.GE12442@visor.slugabed.org> In-Reply-To: <20091113020835.GE12442@visor.slugabed.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911130934.55996.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 13 Nov 2009 09:57:58 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Sean Hamilton Subject: Re: NUMA support; tweaking TCP for GPRS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 14:57:59 -0000 On Thursday 12 November 2009 9:08:35 pm Sean Hamilton wrote: > Greetings -hackers, > > I have two unrelated questions. > > First, what is the status of NUMA support in FreeBSD? Is > there a performance penalty on Nehalem-class systems, > compared with Linux, which advertises NUMA awareness? Google > seems to turn up very little on this subject. Yes, there is a penalty. I have some very simplistic NUMA support in a p4 branch (//depot/user/jhb/numa/...) that just makes threads allocate memory close to the current CPU when requesting a free page. It's not very general purpose, but it can be useful if you pin all your tasks to specific packages. I haven't tested it with non-pinned workloads to see what effect it has. -- John Baldwin