From owner-freebsd-stable Tue Nov 17 03:38:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27208 for freebsd-stable-outgoing; Tue, 17 Nov 1998 03:38:57 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ren.dtir.qld.gov.au (ns.dtir.qld.gov.au [203.108.138.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27199 for ; Tue, 17 Nov 1998 03:38:54 -0800 (PST) (envelope-from syssgm@dtir.qld.gov.au) Received: by ren.dtir.qld.gov.au; id VAA01261; Tue, 17 Nov 1998 21:37:19 +1000 (EST) Received: from ogre.dtir.qld.gov.au(167.123.8.3) by ren.dtir.qld.gov.au via smap (3.2) id xma001256; Tue, 17 Nov 98 21:36:50 +1000 Received: from atlas.dtir.qld.gov.au (atlas.dtir.qld.gov.au [167.123.8.9]) by ogre.dtir.qld.gov.au (8.8.8/8.8.7) with ESMTP id VAA03470; Tue, 17 Nov 1998 21:36:50 +1000 (EST) Received: from nymph.dtir.qld.gov.au (nymph.dtir.qld.gov.au [167.123.10.10]) by atlas.dtir.qld.gov.au (8.8.5/8.8.5) with ESMTP id VAA26636; Tue, 17 Nov 1998 21:36:49 +1000 (EST) Received: from nymph.dtir.qld.gov.au (localhost.dtir.qld.gov.au [127.0.0.1]) by nymph.dtir.qld.gov.au (8.8.8/8.8.7) with ESMTP id VAA04910; Tue, 17 Nov 1998 21:36:47 +1000 (EST) (envelope-from syssgm@nymph.dtir.qld.gov.au) Message-Id: <199811171136.VAA04910@nymph.dtir.qld.gov.au> To: Michael Robinson cc: freebsd-stable@FreeBSD.ORG, syssgm@dtir.qld.gov.au Subject: Re: writev() to tcp References: <199811170204.KAA26059@public.bta.net.cn> In-Reply-To: <199811170204.KAA26059@public.bta.net.cn> from Michael Robinson at "Tue, 17 Nov 1998 10:04:47 +0800" Date: Tue, 17 Nov 1998 21:36:47 +1000 From: Stephen McKay Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 17th November 1998, Michael Robinson wrote: >Marc Slemko writes: >>This doesn't really have anything to do with writev() in particular. There >>is a bug in the TCP code where a packet bigger than a single mbuf (MLEN == >>108 bytes) but not big enough for a mbuf cluster (MINCLSIZE == 204 bytes) >>ends up being put into two mbufs that end up being put on the wire in two >>parts. There should be some messages about it in the archives. There are >>various fixes, but none has been made yet. > >Thanks for the information. I checked the GNATS bug database and didn't >find any PR matching this bug. > >If someone sent a PR, would this get fixed? (The Squid FAQ has a one-line >patch to uipc_socket.c.) That patch went into -current on 1998/07/06 but was removed on 1998/07/18 because various and sundry things broke. See revisions 1.41 and 1.42 of sys/kern/uipc_socket.c. There was some inconclusive discussion of the problem at the time, probably on freebsd-current. My own personal experience of using this patch was also inconclusive. Some things got better, but some things became worse and I didn't manage to prove that the patch was to blame, or that it was innocent. Feel free to experiment! Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message