From owner-freebsd-current Wed Nov 27 12: 0:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F89337B401; Wed, 27 Nov 2002 12:00:13 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id D633643E4A; Wed, 27 Nov 2002 12:00:12 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by rwcrmhc52.attbi.com (rwcrmhc52) with ESMTP id <2002112720001205200271rhe>; Wed, 27 Nov 2002 20:00:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA62775; Wed, 27 Nov 2002 11:56:35 -0800 (PST) Date: Wed, 27 Nov 2002 11:56:33 -0800 (PST) From: Julian Elischer To: Robert Watson Cc: Andrew Gallatin , Luigi Rizzo , current@freebsd.org Subject: Re: mbuf header bloat ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27 Nov 2002, Robert Watson wrote: > > I'd like to continue to explore options for reducing the number of memory > allocations to extend storage on mbufs. One idea I've been tossing around > is adopting Jeff Roberson's extension model used in struct proc and > related structures. I've been wondering about a couple of things.. 1/ soemtiems I wonder if ALL mbufs should not be external mbufs. In other words, if the mbuf were always just a header and data was always stored on an external buffer it might actually simplify some code. It would then become possible that some tag space be allocated along with the mbuf header.. if MAC was in the system, then every mbuf would be allocated with a MAC tag by default. Maybe as a single allocation. The UMA allocator's init() capability gives us a lot of latitude in doing things like that. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message