From owner-freebsd-stable Mon May 21 12:26:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from VL-MS-MR001.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by hub.freebsd.org (Postfix) with ESMTP id BF28437B42C for ; Mon, 21 May 2001 12:26:31 -0700 (PDT) (envelope-from leclercn@videotron.ca) Received: from atom.quanta.ca ([24.201.45.238]) by VL-MS-MR001.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GDP9W105.3MI; Mon, 21 May 2001 15:24:01 -0400 Received: from videotron.ca ([192.168.56.40]) by atom.quanta.ca (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id f4LJO1Ul000774; Mon, 21 May 2001 15:24:01 -0400 (EDT) Message-ID: <3B096B51.1000309@videotron.ca> Date: Mon, 21 May 2001 15:24:01 -0400 From: Normand Leclerc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: "Thomas T. Veldhouse" Cc: freebsd-stable@freebsd.org Subject: Re: natd blues References: <3B0914BC.201@videotron.ca> <004601c0e1ff$b0ffd440$3028680a@tgt.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Thomas, All the tests were conducted from the nat machine... Normand Leclerc leclercn@videotron.ca Thomas T. Veldhouse wrote: > Did you set the receive window high on the client machine? If so, you might > try doing it on the NAT machine as will. > > Create /etc/sysctl.conf with the following in it: > > # begin /etc/sysctl.conf > net.inet.tcp.recvspace=64240 > net.inet.tcp.recvspace=32120 > # end /etc/sysctl.conf > > This is probably a rather large receive window and you might try lowering it > to 32120 if you have latency or packet loss problems on your cable network. > After you have created this file, run: > > # sh /etc/rc.sysctl > > These changes will persist after a reboot. See how it goes for you. > > Tom Veldhouse > veldy@veldy.net > > > > ----- Original Message ----- > From: "Normand Leclerc" > To: > Sent: Monday, May 21, 2001 8:14 AM > Subject: natd blues > > >> It looks like my natd is slowing down my cable internet transfers. >> When running, I can't get the speed I get when natd isn't around (tested >> downloading 20 megs with natd diverting packets from gateway and then >> tested with an extra ipfw pass all rule before divert). With divert, >> ETA is around 30 mins, without: 8 mins! And I tested it more than once. >> >> I didn't have this kind of slowdown on 3.4 ... Is there a kernel >> option that can slow down ipfw diverts like that? >> >> Normand Leclerc >> leclercn@videotron.ca >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-stable" in the body of the message >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message