Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2004 10:35:40 -0500
From:      Mark Allman <mallman@icir.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: My planned work on networking stack 
Message-ID:  <20040302153540.A84E977A6FA@guns.icir.org>
In-Reply-To: <4044928C.AF49FD38@freebsd.org> 

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


> TCP buffer sizing involves mainly two areas.  One is good RTT
> measurements to be able to estimate the bw*delay product well and the
> other is information about memory (mbuf) usage in the networking
> system to do the right thing if memory gets low.

Why try to measure the bw*delay?  Why not use the trick from PSC's
autotuning paper whereby you just try to ensure that the socket buffer
size is always some multiple (2-4, I think) of the congestion window?
I.e., so the congestion window dictates the performance and the socket
buffer is not a factor.

Of course, you have to figure out what to do to all the connections
when there is not enough memory for such socket buffer sizes.

But, fundementally, that seems like a much better approach to me.

And, thanks for taking this all on!  It sounds wonderful!

allman


--
Mark Allman -- ICIR -- http://www.icir.org/mallman/




--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFARKnMWyrrWs4yIs4RAuq3AJ9Tu73LDANRPd/Lgz2lbBf0Umm11wCghIwK
4cj9M/HPJMuhPbHtAZw2t7I=
=avhH
-----END PGP SIGNATURE-----
--=-=-=--



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