From owner-freebsd-current@FreeBSD.ORG Tue Aug 15 09:27:43 2006 Return-Path: X-Original-To: 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 DFC2E16A4E0 for ; Tue, 15 Aug 2006 09:27:43 +0000 (UTC) (envelope-from root@solink.ru) Received: from mail.academ.org (mail.academ.org [81.1.226.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C97843D45 for ; Tue, 15 Aug 2006 09:27:41 +0000 (GMT) (envelope-from root@solink.ru) Received: from mail.academ.org (localhost [127.0.0.1]) by mail.academ.org (Postfix) with ESMTP id 2EA1B66287 for ; Tue, 15 Aug 2006 16:27:39 +0700 (NOVST) Received: from bocha.solink.office (unknown [85.118.228.14]) by mail.academ.org (Postfix) with ESMTP id 1148166191 for ; Tue, 15 Aug 2006 16:27:38 +0700 (NOVST) From: Bachilo Dmitry Organization: Solink Ltd To: current@freebsd.org Date: Tue, 15 Aug 2006 16:27:37 +0700 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200608151627.37828.root@solink.ru> Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-AV-Checked: ClamAV Cc: Subject: 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 09:27:44 -0000 Hello. I am completely stuck. I have a router, that rules three subnets. At first= =20 there were Allied Telesyn's netcards with realtek chipsets. I am using=20 ipfw+natd and I had like 3,5 megabytes per second with 20 per cent of=20 interrupt load. I had "discarded oversized frame" too often so I've replace= d=20 two main cards with 3Com 905 and now my xl0 and xl1 never discard frames. B= ut=20 I saw no speed boost and interrupts were also very high. I have discovered= =20 some IRQ conflicts and removed them, now I have single device per IRQ, but= =20 still i have near 20-30 % of interrupt load, when i download something=20 through this router (and natd takes rest % of CPU). Some people advised me = to=20 use polling, so I've built kernel with HZ=3D1000, polling and tried it.=20 Interrupts grew to 40-50% and speed decreased to 200-300 kb/s, so I had to= =20 turn the polling off. I just don't know what to try, to gain at least 9 mb/s, because this is wha= t I=20 get at home with the same cards, the same processor, with no polling and=20 throgh the same provider. Best regards, Bachilo Dmitry =2D-=20 =2D----------------------- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E2=C1=DE=C9=CC=CF =E4=CD=C9=D4=D2=C9=CA =F2=D5=CB=CF=D7=CF=C4=C9=D4=C5=CC=D8 =CF=D4=C4=C5=CC=C1 =D3=C9=D3=D4=C5=CD= =CE=CF=CA =C9=CE=D4=C5=C7=D2=C1=C3=C9=C9 =EF=EF=EF "=EB=CF=CD=D0=C1=CE=C9=D1 =F3=CF=EC=C9=CE=CB"