From owner-freebsd-current Fri Apr 24 14:27:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04732 for freebsd-current-outgoing; Fri, 24 Apr 1998 14:27:05 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04726 for ; Fri, 24 Apr 1998 14:26:59 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id RAA10941; Fri, 24 Apr 1998 17:26:48 -0400 (EDT) (envelope-from wollman) Date: Fri, 24 Apr 1998 17:26:48 -0400 (EDT) From: Garrett Wollman Message-Id: <199804242126.RAA10941@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: current@FreeBSD.ORG Subject: Re: Bandwidth throttling etc. In-Reply-To: <199804241932.VAA22011@labinfo.iet.unipi.it> References: <199804241932.VAA22011@labinfo.iet.unipi.it> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: >> What are the relative merits of increasing the size of mbufs vs. going >> right to clusters? > a cluster is 2 KB, an mbuf is 8-16 times smaller. > Moreover, a cluster also requires an associated mbuf, so you lose in > locality of references, etc. What you Really Want is for each interface to manage its own allocations. When you want to send a packet, you ask the interface for a buffer, and it gives you one of an appropriate size and shape that it knows how to transmit efficiently. I've been trying to move us in the direction where this is at least conceivable, but since I'm no longer working directly for researchers who would like to see such a thing, I have not had the time to work on continuing this work as I would have liked. A lot of the work is not actually difficult, just tedious; if there are people out there who are willing to work on parts of this cleanup, I'd be happy to describe in more detail what needs to be done. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message