Messages in this thread |  | | Date | Sun, 30 Sep 2001 11:16:13 -0700 (PDT) | From | Davide Libenzi <> | Subject | Re: [PATCH] tcp_v4_get_port() and ephemeral ports |
| |
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/
|  |