cvs commit: src/sys/conf options src/sys/netinet ip_output.c
ambrisko at ambrisko.com
Thu Mar 27 16:24:28 PST 2003
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.
More information about the cvs-src