Subject: Re: Appropriate byte counting, revisited.
To: None <tech-net@NetBSD.org>
From: Kentaro A. Kurahone <kurahone@sigusr1.org>
List: tech-net
Date: 06/11/2006 07:20:50
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> > With that said, it may be
> > beneficial to provide the option for using L=3D2*SMSS and have a sysctl
> > for that.

New and improved version of the patch available at the same location[0].
It fixes most of the nits in the earlier version, and adds a sysctl that
will set L=3D2*SMSS (on by default).

One other difference to the previous incarnation of the patch is that
the ack prediction code will only grow snd_cwnd if it's < snd_wnd.  I'm
not sure if this is entirely correct, but it does preserve the existing
behavior.

Unless anyone has any objections I'm going to commit this.

--=20
Kentaro A. Kurahone
SIGUSR1 Research and Development

[0]:
http://www.sigusr1.org/~kurahone/misc-hacks/tcp-abc-netbsd-3.99.20.diff.gz

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQIVAwUBRIvEUGfp+SLSG+tuAQIHAw/7BG4TcCIqbo0lbMDZyk2bR1jO68rJyn94
EabYAbjOn0GzE5UWLO2H21Nb81eKTjRVDpWIX8hbc41Ao6D4EFPnTR5rde38off8
RmczCAPci6QUrUV4Jtck8Udu7AxW130QoskScL9KjpaMzYBX0bMiOBMa0E5dpExV
+iC8PCQmJEziL16vQFCu0TMwlA8A8cldtP7oCvhr+1w99tgukvRw0UrM3xSakfDv
XWxMXY4x2rXxKXP4pUetVJEppVEoAMcqt9a8kou97m3wVcqDPKG5W+MXxtzJHeWV
Qw7Le4EVfTaTwPVnLBzbnB5uRQ75gZbxjuE7uBOoxk4TanXKZr2nDvgCxR2qykjV
oTFEY1ZhL6o+2pCkUdl02W6j6gZtyWFv3iMhzCNotGkam8ABeZHoaEb201dEnLJI
fDJevZrJ0nOD4bK1+byCelOOv6E20QMHKaqS4bWkyIXgx1XLaDIu9IJ9fOHemsm5
0CxQ/zaCrPEfj1DX4RwpXY1I8RSrmUkWq0MgM77gYQuGJT5q7BWfyLhshHxxmVc3
kQb/viAqM4Orl7hjxwfiXCLhZAZXDM14m+wtOdw5gAwbOnPUYn8E3iXE/ac1v0z9
9gymHbApVWC6v3vyQGxcOWweq+28jJa8ww+kyiopS9zh/wcfyqHwcWS7WaCfo8yd
z/CPbfVWvFY=
=mjTF
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--