Re: [PATCH] tcp_v4_get_port() and ephemeral ports

From: Davide Libenzi (davidel@xmailserver.org)
Date: Sun Sep 30 2001 - 13:16:13 EST


On Sun, 30 Sep 2001, Dan Kegel wrote:

> I'm doing ftp server benchmarking, doing lots of connect()'s.
> Since ports aren't supposed to be reused for 2MSL (theoretically 120 seconds),
> the absolute limit on connections per second is 64K/120 = 500.
> This actually could pose a problem for me. (Yeah, 2MSL is
> set to 30 seconds in linux, so the problem isn't as severe
> as the standard says, but it's still a problem.)

net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_fin_timeout=8

ONLY FOR TESTING !! :)

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:13 EST