Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 16:24:16 -0800 (PST)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Sam Leffler <sam@errno.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf options src/sys/netinet ip_output.c
Message-ID:  <200303280024.h2S0OGsl054428@www.ambrisko.com>
In-Reply-To: <03d001c2f4b2$ecf461b0$52557f42@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sam Leffler writes:
| As I've said already, in the drivers you want to use the minimum-cost
| technique to get the packet on the wire.  I think your original
| single-cluster version is close to what I would do, but so long as this
| stuff only happens as an exception to the normal processing path I really
| don't care.  Just keep stats so we can see how much it's happening.

An example of this happening is doing a cvs pserver update.  I was seeing
around a max of 10 frags being sent down to the driver on the server side
of the connection.  I saw a bunch of 8 frags.  I watched it by putting
a printf in the frag. handling part of the driver to count them.  This
seems to happen if you have an app. the does a bunch of small writes
to a socket.  Doing a dd if=/dev/null ibs=1 | rsh <machine> "> /dev/null"
showed it as well if I recall right.

Doug A.



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