Subject: Re: Socket buffer accounting and TCP
To: Ted Lemon <>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: tech-kern
Date: 09/02/1998 18:32:57
>> Perhaps the threshold should be based on the number of mbufs in the
>> chain.. i.e., compress if you have more than 3-4 mbufs in the socket
>> buffer.
>Or compress when there's room in the mbuf - this won't happen if
>you're receiving big packets.

I considered that for about 30 seconds ... and then realized it
assumes a correlation between mbuf size and MSS/MTU, which is not
necessarily correct, especially in the presence of different transport
layers and different networking protocols.