From owner-freebsd-net Tue Sep 1 20:30:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA24424 for freebsd-net-outgoing; Tue, 1 Sep 1998 20:30:55 -0700 (PDT) (envelope-from owner-freebsd-net@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 UAA24419 for ; Tue, 1 Sep 1998 20:30:53 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id XAA02805; Tue, 1 Sep 1998 23:29:42 -0400 (EDT) (envelope-from wollman) Date: Tue, 1 Sep 1998 23:29:42 -0400 (EDT) From: Garrett Wollman Message-Id: <199809020329.XAA02805@khavrinen.lcs.mit.edu> To: Stefan Bethke Cc: net@FreeBSD.ORG Subject: Re: Problems with MGET(m, M_WAIT, *) [was: Semantics of ...] In-Reply-To: References: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > As Garrett said, the current mbuf allocator is going to go away. Is > it? Yes -- but it will take some time. The eventual goal is for interfaces to manage their own memory allocation -- some interfaces may have unusual requirements for memory which is being used as a buffer. (Something like the current mbuf allocator will probably remain to service those interfaces which don't have any special requirements. Even for those interfaces, however, it would be more memory-efficient to only allocate 1536 bytes per buffer (assuming Ethernet) than a full 2K cluster -- the current scheme wastes 25% on Ethernet-sized packets.) > Will the semantics of the new mbuf allocator be the same (M_WAIT may > return 0)? I guess so, but the one(s) working on the new allocator might > want to confirm that. This seems likely, although we ought to be able to do a bit better than the fixed-size map we have now. -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-net" in the body of the message