From owner-freebsd-bugs Sat Feb 8 23:49:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA05139 for bugs-outgoing; Sat, 8 Feb 1997 23:49:33 -0800 (PST) Received: from widefw.csl.sony.co.jp (widefw.csl.sony.co.jp [133.138.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA05105; Sat, 8 Feb 1997 23:49:24 -0800 (PST) Received: from hotaka.csl.sony.co.jp (hotaka.csl.sony.co.jp [43.27.98.57]) by widefw.csl.sony.co.jp (8.8.3/3.5Wbeta) with ESMTP id HAA29002; Sun, 9 Feb 1997 07:49:11 GMT Received: from localhost (localhost [127.0.0.1]) by hotaka.csl.sony.co.jp (8.8.4/3.3W3) with ESMTP id QAA29283; Sun, 9 Feb 1997 16:48:55 +0859 (JST) Message-Id: <199702090749.QAA29283@hotaka.csl.sony.co.jp> To: Garrett Wollman cc: Eka Kelana , freebsd-hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, dg@root.com Subject: Re: Need quick answer In-reply-to: Your message of "Fri, 07 Feb 1997 07:29:24 EST." <9702071229.AA18092@halloran-eldar.lcs.mit.edu> Date: Sun, 09 Feb 1997 16:48:54 +0900 From: Kenjiro Cho Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < said: > I need a good explanation about this code in in_rmx.c: > ... > if (!rt->rt_rmx.rmx_sendpipe && !(rt->rt_rmx.rmx_locks & RTV_SPIPE)) rt-> rt_rmx.rmx_sendpipe = tcp_sendspace; > if (!rt->rt_rmx.rmx_recvpipe && !(rt->rt_rmx.rmx_locks & RTV_RPIPE)) rt-> rt_rmx.rmx_recvpipe = tcp_recvspace; > ... >>>>> On Fri, 7 Feb 1997 07:29:24 -0500, Garrett Wollman said: >> The reason why that is there is because otherwise tcp_close() won't >> save the ssthresh. If this is the only reason to set the pipe sizes, I would suggest to make modifications to - tcp_close to update ssthresh even when the pipe sizes are not specified. - in_addroute to leave the pipe sizes unspecified. Then, ssthresh can be updated in the same manner, but no side-effect. IMO, if the pipe size is ever set automatically, it should reflect the measured throughput * RTT. --kj --- Kenjiro Cho Sony Computer Science Laboratory Inc.