From owner-freebsd-stable Mon May 21 7:12: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 8B87937B422 for ; Mon, 21 May 2001 07:11:58 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (fuggle.veldy.net [64.1.117.28]) by veldy.net (Postfix) with SMTP id 4CB60BA56; Mon, 21 May 2001 09:11:55 -0500 (CDT) Message-ID: <004601c0e1ff$b0ffd440$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Normand Leclerc" , References: <3B0914BC.201@videotron.ca> Subject: Re: natd blues Date: Mon, 21 May 2001 09:09:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 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