From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 11:47:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A14316A4A9 for ; Fri, 23 Jun 2006 11:47:02 +0000 (UTC) (envelope-from jason.thomson@mintel.com) Received: from rocky.mintel.co.uk (rocky2.mintel.com [217.206.187.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E7A043D55 for ; Fri, 23 Jun 2006 11:46:59 +0000 (GMT) (envelope-from jason.thomson@mintel.com) Received: from [10.0.62.5] ([10.0.62.5]) by rocky.mintel.co.uk (8.13.4/8.13.4) with ESMTP id k5NBkvnd080757; Fri, 23 Jun 2006 12:46:57 +0100 (BST) (envelope-from jason.thomson@mintel.com) Message-ID: <449BD4B1.8060202@mintel.com> Date: Fri, 23 Jun 2006 12:46:57 +0100 From: Jason Thomson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en, en-us MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: multipart/mixed; boundary="------------000106020702000607000200" X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) Subject: FreeBSD 6-STABLE. Route specific send & receive buffer sizes not working? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 11:47:02 -0000 This is a multi-part message in MIME format. --------------000106020702000607000200 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit or am I missing something? See attached file below. route add -sendpipe -recvpipe works on FreeBSD 4.x, but not on 6-STABLE (or on 5.4 either - although that's not shown). I'm trying to set the parameters for specific routes so that I can properly account for the bw delay product. (I don't want to do it for every connection using the global sysctls because these servers can have many concurrent connections). Am I doing something wrong? Or is this a bug? If it's a bug, I'll file a PR. --------------000106020702000607000200 Content-Type: text/plain; name="routesendrecvpipe.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="routesendrecvpipe.txt" starbug# uname -a FreeBSD starbug 6.1-STABLE FreeBSD 6.1-STABLE #5: Mon May 29 14:19:48 BST 2006 @starbug:/usr/obj/usr/src/sys/STARBUG i386 starbug# route get rhino route to: rhino destination: default mask: default gateway: dellboy interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 starbug# route add rhino dellboy -recvpipe 196608 -sendpipe 196608 -rtt 100 add host rhino: gateway dellboy starbug# route get rhino route to: rhino destination: rhino gateway: dellboy interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 starbug> $ scp zeros rhino:/tmp zeros 100% 10MB 330.3KB/s 00:31 boycie# uname -a FreeBSD boycie 4.11-STABLE FreeBSD 4.11-STABLE #2: Fri Jul 15 09:46:13 BST 2005 @boycie:/usr/obj/usr/src/sys/BOYCIE i386 boycie# route get rhino route to: rhino destination: default mask: default gateway: dellboy interface: sis0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 boycie# route add rhino dellboy -recvpipe 196608 -sendpipe 196608 -rtt 100 add host rhino: gateway dellboy boycie# route get rhino route to: rhino destination: rhino gateway: dellboy interface: sis0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 196608 196608 0 0 0 0 1500 0 boycie>scp zeros rhino:/tmp zeros 100% |*****************************| 10240 KB 00:16 boycie#route delete rhino delete host rhino boycie>scp zeros rhino:/tmp zeros 100% |*****************************| 10240 KB 00:31 --------------000106020702000607000200--