Date: Tue, 2 Jun 1998 10:41:32 -0700 (PDT) From: Oliver Menzel <omenzel@yahoo.com> To: FreeBSD NET <freebsd-net@FreeBSD.ORG> Subject: Decreasing MSL value Message-ID: <19980602174132.24827.rocketmail@send1c.yahoomail.com>
next in thread | raw e-mail | index | archive | help
Hello, Im considering decreasing the default MSL value so that my tcp connections exit faster from the TIME_WAIT state Would this be right way to do this? in /usr/src/sys/netinet --- tcp_timer.orig.h Tue Jun 2 13:30:40 1998 +++ tcp_timer.h Tue Jun 2 13:30:55 1998 @@ -87,7 +87,7 @@ /* * Time constants. */ -#define TCPTV_MSL ( 30*PR_SLOWHZ) /* max seg lifetime (hah!) */ +#define TCPTV_MSL ( 20*PR_SLOWHZ) /* max seg lifetime (hah!) */ #define TCPTV_SRTTBASE 0 /* base roundtrip time; if 0, no idea yet */ #define TCPTV_RTOBASE ( 3*PR_SLOWHZ) /* assumed RTO if no info */ Another words set the TCPTV_MSL to 20 seconds, thus lowering 2MSL for TIME_WAIT to 40s from 60s. TIA Oliver _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980602174132.24827.rocketmail>