From owner-cvs-src@FreeBSD.ORG Sun Nov 13 00:42:13 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F10ED16A423; Sun, 13 Nov 2005 00:42:12 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB4543D46; Sun, 13 Nov 2005 00:42:10 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.4/8.13.4) with ESMTP id jAD0g9ne026402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Nov 2005 19:42:09 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id jAD0g4dW049243; Sat, 12 Nov 2005 19:42:04 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17270.35804.60493.660921@grasshopper.cs.duke.edu> Date: Sat, 12 Nov 2005 19:42:04 -0500 (EST) To: Andre Oppermann In-Reply-To: <4374C54D.4D6C87B7@freebsd.org> References: <200511021620.jA2GKab1085906@repoman.freebsd.org> <20051109184401.A39931@grasshopper.cs.duke.edu> <4374C54D.4D6C87B7@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_mbuf.c uipc_mbuf.c src/sys/sys mbuf.h param.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 00:42:13 -0000 Andre Oppermann writes: > Andrew Gallatin wrote: > > > > Andre Oppermann [andre@FreeBSD.org] wrote: > > > andre 2005-11-02 16:20:36 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/kern kern_mbuf.c uipc_mbuf.c > > > sys/sys mbuf.h param.h > > > Log: > > > Mandatory mbuf cluster reference counting and groundwork for UMA > > > based jumbo 9k and jumbo 16k cluster support. > > > > Cool. Are the jumbo clusters physically contiguous? > > Yes. Jumbo allocation API is coming soon. Wow! That sounds great. You'll be able to replace the ad-hoc per-driver private jumbo pools that exist in several drivers. But has UMA gotten good at allocating contiguous memory, or will jumbo allocations be really expensive? Can/will these large buffers be used for sosend()? Have you thought about also adding page-sized clusters? It would save drivers which are able to chain several buffers together several allocations per jumbo frame. And it might be better suited for use in sosend(), since I would imagine that page-sized clusters would be cheap for UMA to allocate, and they would save one allocation per page for large sends. Drew