From owner-freebsd-performance@FreeBSD.ORG Sat Mar 18 13:23:13 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42CE516A400 for ; Sat, 18 Mar 2006 13:23:13 +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 BA77C43D45 for ; Sat, 18 Mar 2006 13:23:12 +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 B3577119D2E; Sat, 18 Mar 2006 14:22:39 +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 56541-06; Sat, 18 Mar 2006 14:22:39 +0100 (CET) Received: from oxy (dsl217-197-187-71.pool.tvnet.hu [217.197.187.71]) by green.field.hu (Postfix) with ESMTP id 667FC119CC4; Sat, 18 Mar 2006 14:22:39 +0100 (CET) Message-ID: <000e01c64a8f$1b2bec80$0201a8c0@oxy> From: "OxY" To: "Chuck Swiger" References: <000a01c64a81$45eb6850$0201a8c0@oxy> <441BF838.1080600@mac.com> <000601c64a87$51d7dee0$0201a8c0@oxy> <441BFF26.90807@mac.com> Date: Sat, 18 Mar 2006 14:23:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; 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-performance@freebsd.org Subject: Re: packet drop with intel gigabit / marwell gigabit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 13:23:13 -0000 currently i use HZ=2000 here's the output of netstat -i, -s, and vmstat -i : (currently i am uploading on the gigabit with ftp, 3 threads) Field root# vmstat -i interrupt total rate irq0: clk 27503959 1993 irq1: atkbd0 1 0 irq3: fxp0 2 0 irq7: 146 0 stray irq7 146 0 irq8: rtc 1765569 127 irq10: atapci1 2807786 203 irq11: atapci0 475039 34 irq13: npx0 1 0 irq14: ata0 99 0 Total 32552748 2359 Field root# netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:a0:c9:8d:79:68 13163545 0 21899372 1 0 fxp0 1500 195.38.96.64/ field 141 - 22056 - - em0 1500 00:0e:0c:a2:ac:42 68644181 4 66793904 0 0 em0 1500 195.38.96.64/ field 211255811 - 3903 - - lo0 16384 129622061 0 129622061 0 0 netstat -s is here: http://field.hu/netstat.txt ----- Original Message ----- From: "Chuck Swiger" To: "OxY" Cc: Sent: Saturday, March 18, 2006 1:37 PM Subject: Re: packet drop with intel gigabit / marwell gigabit > OxY wrote: >> yeah, i googled these settings, but i put them back to default then! >> i measured iperf performance, and it showed that the packet drop is >> depending on the system load.. > > If you are using the normal interrupt-driven configuration, you should > look at > netstat -i, -s, and vmstat -i. If you're turning on device polling, you > ought > to retry your testing at higher HZ (try 2000 or 5000): > > echo 'kern.hz="2000"' >> /boot/loader.conf > > -- > -Chuck