Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 13:58:19 -0400
From:      Bosko Milekic <bmilekic@unixdaemons.com>
To:        Jonathan Lemon <jlemon@flugsvamp.com>
Cc:        Luigi Rizzo <rizzo@icir.org>, Mike Silbersack <silby@silby.com>, Alfred Perlstein <bright@mu.org>, net@FreeBSD.ORG
Subject:   Re: the incredible shrinking socket
Message-ID:  <20020708135819.A9714@unixdaemons.com>
In-Reply-To: <20020708123757.T1020@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Mon, Jul 08, 2002 at 12:37:57PM -0500
References:  <20020708013907.J15265-100000@patrocles.silby.com> <20020708115539.D18260-100000@patrocles.silby.com> <20020708101636.A71846@iguana.icir.org> <20020708132214.A9544@unixdaemons.com> <20020708102937.A75756@iguana.icir.org> <20020708123757.T1020@prism.flugsvamp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, Jul 08, 2002 at 12:37:57PM -0500, Jonathan Lemon wrote:
> On Mon, Jul 08, 2002 at 10:29:37AM -0700, Luigi Rizzo wrote:
> > On Mon, Jul 08, 2002 at 01:22:14PM -0400, Bosko Milekic wrote:
> > ...
> > > > > Speaking of competition, someone should go look at this:
> > > > > 
> > > > > http://mail-index.netbsd.org/current-users/2002/07/03/0011.html
> > > > 
> > > > UDP sockets have the same problem... i posted patches for that
> > > > case around dec.2000 which i never ended up committing.
> > > 
> > >   I spent a half-hour trying to dig for that thread.  Do you recall what
> > >   the subject of it was?  When I saw this come up on DaemonNews, the
> > 
> > it was "[patch] fast sbappend*, please try..."
> > see
> > 
> > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=366972+0+archive/2001/freebsd-net/20010211.freebsd-net
> > 
> > jlemon had an amended patch for that.
> > I think we should revisit this keeping in mind the tcp case as well.
> 
> I still have the amended patch in my tree, I'll dig it out this week.

  Luigi also mentionned at the end of the discussion that it would be
  worthwhile to - besides for just keeping a pointer to the last mbuf in
  the sockbuf - keep a pointer to the last mbuf in the packet.  Maybe
  this pointer could be stashed in the m_pkthdr struct.

> -- 
> Jonathan

Regards,
-- 
Bosko Milekic
bmilekic@unixdaemons.com
bmilekic@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708135819.A9714>