From owner-freebsd-questions@FreeBSD.ORG Mon Mar 20 14:33:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13AEA16A400; Mon, 20 Mar 2006 14:33:33 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8983443D46; Mon, 20 Mar 2006 14:33:32 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 324BC119D2E; Mon, 20 Mar 2006 15:33:24 +0100 (CET) Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 97751-06; Mon, 20 Mar 2006 15:33:23 +0100 (CET) Received: from oxy (dsl217-197-187-71.pool.tvnet.hu [217.197.187.71]) by green.field.hu (Postfix) with ESMTP id C4196119CC4; Mon, 20 Mar 2006 15:33:23 +0100 (CET) Message-ID: <002101c64c2b$443eaa20$0201a8c0@oxy> From: "OxY" To: , References: <20060320131020.GI20138@in.nextra.sk> Date: Mon, 20 Mar 2006 15:33:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Cc: freebsd-net@freebsd.org Subject: Re: Low network performance after upgrade from FreeBSD 4.8 to 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 14:33:33 -0000 ----- Original Message ----- From: "Bohuslav Plucinsky" To: Cc: 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"