From owner-freebsd-net Thu Oct 28 1:59:22 1999 Delivered-To: freebsd-net@freebsd.org Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110]) by hub.freebsd.org (Postfix) with ESMTP id F14E414E19 for ; Thu, 28 Oct 1999 01:59:11 -0700 (PDT) (envelope-from jacopo.pecci@erv.ericsson.se) Received: from puh.eritel.se (puh.erv.ericsson.se [194.22.140.20]) by penguin.wise.edt.ericsson.se (8.9.3/8.9.3/WIREfire-1.5) with ESMTP id KAA00642 for ; Thu, 28 Oct 1999 10:59:09 +0200 (MET DST) Received: from esegsnt003.erv.ericsson.se (esegsnt003 [194.22.140.6]) by puh.eritel.se (8.8.8+Sun/8.8.8) with ESMTP id KAA24478 for ; Thu, 28 Oct 1999 10:58:38 +0200 (MET DST) Received: by esegsnt003.erv.ericsson.se with Internet Mail Service (5.5.2650.21) id ; Thu, 28 Oct 1999 10:58:38 +0200 Message-ID: <2DADC88F8F19D31193340090277A3661017920F7@esegsnt003.erv.ericsson.se> From: Jacopo Pecci To: "'FREEBSD'" Subject: TCP threshold Date: Thu, 28 Oct 1999 10:58:27 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am experiment some problem with the variable "ssthresh" (the threshold that marks the change from Slow start to Congestion avoidance).in TCP, FreeBSD. I have just discovered that every time I start a new socket the value of this variable depends on the final value in the previous socket. It means that if socket 1 has some drop of packets, the next socket I will establish, will have a much lover value of the threshold. WHY? each socket is completely independent from the previous, why it should inherit such information?. I have repeated 7 times one experiment that encountered 1 drop each time and at the end the starting value of this variable was 26K, pretty small compare with the very first value 1G! I would like to do several measurements and compare the results but I can not do that if I always change my scenario. Is there any way to avoid that? (the only way I know is to reboot the machine every time) Could I change TCP code or that might be dangerous? Thanks, Jacopo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message