From owner-freebsd-net Mon Oct 26 09:46:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03181 for freebsd-net-outgoing; Mon, 26 Oct 1998 09:46:55 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA03168 for ; Mon, 26 Oct 1998 09:46:42 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA02570; Mon, 26 Oct 1998 16:40:56 +0100 From: Luigi Rizzo Message-Id: <199810261540.QAA02570@labinfo.iet.unipi.it> Subject: Re: questions of taste.. mbuf header change To: wollman@khavrinen.lcs.mit.edu (Garrett Wollman) Date: Mon, 26 Oct 1998 16:40:56 +0100 (MET) Cc: louie@TransSys.COM, freebsd-net@FreeBSD.ORG In-Reply-To: <199810261712.MAA19008@khavrinen.lcs.mit.edu> from "Garrett Wollman" at Oct 26, 98 12:12:36 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > - what, if anything, breaks if there are 8 or 10 bytes fewer space in > > the first mbuf? There was some discussion a while ago about increasing > > MSIZE from 128 to something larger, but this didn't seem to happen. > > Probably local-domain datagram sockets with long path names. Can't > think of anything else. I'm inclined to increase MSIZE to 256 in any > case... from my experience with the previous implementation of dummynet: mbufs are not zeroed on allocation, and that might force you to initialize them in a lot of places. Also i had problems with the user-space ppp, not sure if it was something hardwired in the code or just my fault. In the current implementation i have reverted to standard mbufs and the code is much cleaner and robust. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message