From owner-freebsd-net@FreeBSD.ORG Tue Feb 11 19:49:53 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5FA5278; Tue, 11 Feb 2014 19:49:53 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D81619AF; Tue, 11 Feb 2014 19:49:53 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id D29AFB9B9; Tue, 11 Feb 2014 14:49:51 -0500 (EST) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: Use of contiguous physical memory in cxgbe driver Date: Tue, 11 Feb 2014 13:48:51 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <21216.22944.314697.179039@hergotha.csail.mit.edu> <21216.36928.132606.318491@hergotha.csail.mit.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201402111348.52135.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 11 Feb 2014 14:49:51 -0500 (EST) Cc: Adrian Chadd , Garrett Wollman , Navdeep Parhar , "net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 19:49:53 -0000 On Thursday, January 23, 2014 2:32:51 am Adrian Chadd wrote: > It's about time we taught the physmem allocator to be more conducive > to physically contiguous allocations. > > A server with gigabytes of memory should be able to keep a couple tens > of megabytes of 64k sized allocation chunks around for exactly this. Alan Cox already taught the physmem allocator to do this for superpages. However, this change was part of the superpages changes, so you can't count experiences from machines older than about 7.2 when evaluating the effectiveness of the new allocator. -- John Baldwin