From owner-freebsd-current@FreeBSD.ORG Tue Aug 15 11:48:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716FC16A4DE for ; Tue, 15 Aug 2006 11:48:57 +0000 (UTC) (envelope-from sthalik@tehran.lain.pl) Received: from mail.in5.pl (rollercoaster.insane.pl [213.251.173.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D34743D46 for ; Tue, 15 Aug 2006 11:48:56 +0000 (GMT) (envelope-from sthalik@tehran.lain.pl) Received: from c182-250.icpnet.pl ([85.221.182.250] helo=tehran.local) by mail.in5.pl with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (envelope-from ) id 1GCxPi-00074f-Pw for freebsd-current@freebsd.org; Tue, 15 Aug 2006 13:48:55 +0200 Received: from sthalik by tehran.local with local (Exim 4.62) (envelope-from ) id 1GCxPh-0002ue-SS for freebsd-current@freebsd.org; Tue, 15 Aug 2006 13:48:53 +0200 Date: Tue, 15 Aug 2006 13:48:53 +0200 From: Stanislaw Halik To: freebsd-current@freebsd.org Message-ID: <20060815114853.GA10774@localhost.localdomain> Mail-Followup-To: freebsd-current@freebsd.org References: <200608151627.37828.root@solink.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608151627.37828.root@solink.ru> X-PGP-Key: http://tehran.lain.pl/public.key User-Agent: Mutt/1.5.12-2006-07-14 X-User: sthalik Subject: Re: throughput and interrupts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 11:48:57 -0000 On Tue, Aug 15, 2006, Bachilo Dmitry wrote: > I am completely stuck. I have a router, that rules three subnets. At first > there were Allied Telesyn's netcards with realtek chipsets. I am using > ipfw+natd and I had like 3,5 megabytes per second with 20 per cent of > interrupt load. [...] > I just don't know what to try, to gain at least 9 mb/s, because this is what I > get at home with the same cards, the same processor, with no polling and > throgh the same provider. Did you try using pf instead of ipfw+natd? natd is known to be inefficient, as the kernel copies packets to and from the userland. Not sure if this is the cause of your high interrupt load. What does `top -S' show as the cpu-generating irq? -- Some people say that a monkey would bang out the complete works of Shakespeare on a typewriter give an unlimited amount of time. In the meantime, what they would probably produce is a valid sendmail configuration file. -- Nicholas Petreley