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

From: Mike Silbersack <>
Date: Thu, 27 Mar 2003 21:10:05 -0600 (CST)
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
Received on Thu Mar 27 2003 - 19:13:34 UTC