* murthy kn <[EMAIL PROTECTED]> [011117 10:54] wrote: > Hello, > > 1. Is there any sysctl variable to control the number of > duplicate acks after which the sending TCP gets into a fast > retransmit mode?
No, but you can add one like so (i think): Index: tcp_input.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/tcp_input.c,v retrieving revision 1.141 diff -u -r1.141 tcp_input.c --- tcp_input.c 12 Sep 2001 08:37:54 -0000 1.141 +++ tcp_input.c 18 Nov 2001 00:09:51 -0000 @@ -101,6 +101,9 @@ MALLOC_DEFINE(M_TSEGQ, "tseg_qent", "TCP segment queue entry"); static int tcprexmtthresh = 3; +SYSCTL_INT(_net_inet_tcp, OID_AUTO, rexmtthresh, CTLFLAG_RW, + &tcprexmtthresh, 0, "Max duplicate acks before fast rexmit"); + tcp_cc tcp_ccgen; struct tcpstat tcpstat; > 2. If I have a switch that does not support any port aggregation, > and it is connected to a BSD machine with 2 ethernet NICs that have > identical MAC, will the switch forward *each* packet destined to the BSD > machine to both of the NICs. > > 3. Apart from using tcpdump, are there any other tools/ways to analyze the > dynamic behaviour of a BSD stack - like knowing when there have > been retransmits, the state of various buffers in the stack etc. netstat. -- -Alfred Perlstein [[EMAIL PROTECTED]] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message