From owner-freebsd-net@FreeBSD.ORG Tue Apr 19 20:39:39 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FDFC16A4CE for ; Tue, 19 Apr 2005 20:39:39 +0000 (GMT) Received: from joshua.stabbursmoen.no (joshua.stabbursmoen.no [80.203.220.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67FDA43D2D for ; Tue, 19 Apr 2005 20:39:38 +0000 (GMT) (envelope-from eivind.hestnes@stabbursmoen.no) Received: from [10.5.0.116] (vpnclient-116-v50.i.stabbursmoen.no [10.5.0.116]) D25A080A3; Tue, 19 Apr 2005 22:41:27 +0200 (CEST) Message-ID: <42656CA0.9040403@stabbursmoen.no> Date: Tue, 19 Apr 2005 22:40:00 +0200 From: Eivind Hestnes X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerald Von Dipple References: <20050419183335.F18008131@joshua.stabbursmoen.no> <5c05f1805041911351d2bd98e@mail.gmail.com> In-Reply-To: <5c05f1805041911351d2bd98e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Stabbursmoen skole cc: Eivind Hestnes cc: net@freebsd.org Subject: Re: Performance Intel Pro 1000 MT (PWLA8490MT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 20:39:39 -0000 Thanks for the advice. Didn't do any difference, though.. Perhaps I should try to increase the polling frequency.. Jerald Von Dipple wrote: >Hey man > >You need to bump > >kern.polling.burst: 150 > >Upto at least 150000 > >Regards, >Jerald Von D. > >On 4/19/05, Eivind Hestnes wrote: > > >>Hi, >> >>I have an Intel Pro 1000 MT (PWLA8490MT) NIC (em(4) driver 1.7.35) installed >>in a Pentium III 500 Mhz with 512 MB RAM (100 Mhz) running FreeBSD 5.4-RC3. >>The machine is routing traffic between multiple VLANs. Recently I did a >>benchmark with/without device polling enabled. Without device polling I was >>able to transfer roughly 180 Mbit/s. The router however was suffering when >>doing this benchmark. Interrupt load was peaking 100% - overall the system >>itself was quite unusable (_very_ high system load). With device polling >>enabled the interrupt kept stable around 40-50% and max transfer rate was >>nearly 70 Mbit/s. Not very scientific tests, but it gave me a pin point. >> >>However, a Pentium III in combination with a good NIC should in my opinion >>be a respectful router.. but I'm not satisfied with the results. The pf >>ruleset is like nothing, and the kernel is stripped and customized for best >>performance. >> >>Any tweaking tips for making my router perform better? >> >>Debug information: >>eivind@core-gw:~$ sysctl -a | grep kern.polling >>kern.polling.burst: 150 >>kern.polling.each_burst: 5 >>kern.polling.burst_max: 150 >>kern.polling.idle_poll: 0 >>kern.polling.poll_in_trap: 0 >>kern.polling.user_frac: 50 >>kern.polling.reg_frac: 20 >>kern.polling.short_ticks: 1411 >>kern.polling.lost_polls: 720 >>kern.polling.pending_polls: 0 >>kern.polling.residual_burst: 0 >>kern.polling.handlers: 0 >>kern.polling.enable: 1 >>kern.polling.phase: 0 >>kern.polling.suspect: 186 >>kern.polling.stalled: 0 >>kern.polling.idlepoll_sleeping: 1 >> >>eivind@core-gw:~$ cat /etc/sysctl.conf >>net.inet.ip.forwarding=1 >>net.inet.ip.fastforwarding=1 >>net.inet.carp.preempt=1 >>kern.polling.enable=1 >> >>HZ set to 1000 as recommended in README for the em(4) driver. Driver is of >>cource compiled into kernel. >> >>Regards, >>Eivind Hestnes >> >>_______________________________________________ >>freebsd-performance@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-performance >>To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >> >> >>