Date: Mon, 20 Mar 2006 15:33:33 +0100 From: "OxY" <oxy@field.hu> To: <bohuslav.plucinsky@in.nextra.sk>, <freebsd-questions@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: Low network performance after upgrade from FreeBSD 4.8 to 6.0 Message-ID: <002101c64c2b$443eaa20$0201a8c0@oxy> References: <20060320131020.GI20138@in.nextra.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Bohuslav Plucinsky" <bohuslav.plucinsky@in.nextra.sk> To: <freebsd-questions@freebsd.org> Cc: <freebsd-net@freebsd.org> Sent: Monday, March 20, 2006 2:10 PM Subject: Low network performance after upgrade from FreeBSD 4.8 to 6.0 > Hello, > > I use the FreeBSD box as the firewall with NAT (ipfw + natd). > When I've upgraded the box from 4.8-20030810-STABLE to 6.0-RELEASE > I've noticed a performance degradation. > > I've only one workstation behind the firewall and throughput > of downloading an ISO image through the firewall with 6.0-RELEASE > booted, is only 24Mbps. (When I reboot the machine with > 4.8-20030810-STABLE > installation, the throughput is 80Mbps). The firewall_type was "open" > during the download: > > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 229 root 1 105 0 1428K 904K RUN 0:35 40.82% natd > > options HZ=100 > Can somebody advise me, if this is some configuration problem > or the requirement of FreeBSD 6.0 kernel has been increased and HW > of my firewall is not enough? HZ=100 is not a good idea.. i set it to 1000 before and i had no idle CPU try to set it to 2000 echo 'kern.hz="2000"' >> /boot/loader.conf > > > Thanks, > Bohus Plucinsky > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c64c2b$443eaa20$0201a8c0>