Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 21:10:05 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf options src/sys/netinet ip_output.c
Message-ID:  <20030327210503.G601@odysseus.silby.com>
In-Reply-To: <20030327153352.A66323@xorpc.icir.org>
References:  <200303260452.h2Q4quap015364@www.ambrisko.com>    <20030326183351.GJ57674@elvis.mu.org> <20030327013224.P7674@odysseus.silby.com> <20030327153352.A66323@xorpc.icir.org>

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

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



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