Date: Tue, 02 Jan 2001 10:04:40 +1100 From: Kal Torak <kaltorak@quake.com.au> Cc: stable@FreeBSD.ORG Subject: Re: slow NAT ? Message-ID: <3A510D08.B3A3042@quake.com.au> References: <4.2.2.20001231124602.01d21878@marble.sentex.net> <4.2.2.20010101084935.01e47880@marble.sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Tancsa wrote: > > At 12:25 PM 1/1/2001 +0200, Roman Shterenzon wrote: > >On Sun, 31 Dec 2000, Mike Tancsa wrote: > > > > > > > > I upgraded my home firewall today to sources as of last night and noticed > > > that traffic via NAT is rather slow. For example, an ftp from a machine > > > being nat'd I guess about 300Kbps. From the FreeBSD box, I get about 1Mb > > > on my DSL connection. If I use squid or a proper proxy, its not an > > > issue. This is both with the built in NAT on PPP and NATD by itself. Any > > > ideas as to how to track this down ? > > > 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Dec 30 09:37:21 EST 2000 > > > Its only a CPU: Pentium/P55C (167.05-MHz 586-class CPU) with 96M of RAM. > > > >Was it that slow before the upgrade? > >As a workaround you can use ipnat which performs NAT in kernel-space > >rather than in user-space (as libalias does). > > It was somewhat slower, but not this bad. However, I dont have any > benchmarks from before to measure the difference. I will try IPNAT to see > if that helps at all. It seems strange to me that it would be going noticeably slower... I mean sure its going to slow it down a little, but so is every other sharing type program... I use NATd on a P166 with 34mb ram and NetGear 10/100 cards, If anything its no different speeds from any other method, I have a max downstream of 400kbs which I achieve to most places most of the time... Basically NATd dosent seem to effect the speed much at all... I am using 4.0 but if anything NATd should be better in 4.2 so it seems strange, maybe there is a problem some place else? Good Luck! Kal. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A510D08.B3A3042>
