From owner-freebsd-questions@FreeBSD.ORG Mon Mar 20 14:37:56 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 5D3AE16A420; Mon, 20 Mar 2006 14:37:56 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.in.markiza.sk [62.168.76.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D756243D4C; Mon, 20 Mar 2006 14:37:55 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id DAA04B92E; Mon, 20 Mar 2006 15:37:53 +0100 (CET) Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24750-01; Mon, 20 Mar 2006 15:37:53 +0100 (CET) Received: from [192.168.0.30] (pleiades.aeternal.net [192.168.0.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id 38BF4B92D; Mon, 20 Mar 2006 15:37:53 +0100 (CET) Message-ID: <441EBDC6.9070905@aeternal.net> Date: Mon, 20 Mar 2006 15:35:50 +0100 From: Martin Hudec User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: bohuslav.plucinsky@in.nextra.sk References: <20060320131020.GI20138@in.nextra.sk> In-Reply-To: <20060320131020.GI20138@in.nextra.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at aeternal.net Cc: freebsd-net@freebsd.org, freebsd-questions@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 Reply-To: corwin@aeternal.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 14:37:56 -0000 Hello, Bohuslav Plucinsky wrote: > 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. > CPU states: 8.8% user, 0.0% nice, 59.6% system, 31.6% interrupt, 0.0% idle > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 229 root 1 105 0 1428K 904K RUN 0:35 40.82% natd > When I change the IP addresses on inside interface from private to public > and disable NAT, the throughput is again 80Mbps. Is it possible to switch to pf (available on 6.x) and to set HZ to 1000? Also you could try to switch on polling on those 3coms? Cheers, Martin