cvs commit: src/sys/conf options src/sys/netinet ip_output.c

Mike Silbersack silby at silby.com
Thu Mar 27 19:13:37 PST 2003


On Thu, 27 Mar 2003, Luigi Rizzo wrote:

> so individual writes of 513+ bytes will result in wasting up to 75%
> of the socket buffer space. At the very least, i would drop the
> 'm->m_len <= MCLBYTES / 4' check to reduce the waste.
>
> 	cheers
> 	luigi

Ooooh, that gives me a good idea.  While we're walking the queues in
tcp_drain trying to free mbufs, it might be a good idea to run m_defrag.

/me scribbles on TODO list.

(Of course, if you have 0 mbufs + clusters free, that would totally blow
up in your face, so it'll have to be more subtle.)

Mike "Silby" Silbersack


More information about the cvs-src mailing list