From owner-freebsd-net@FreeBSD.ORG Fri Sep 4 17:28:43 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B69C106566B for ; Fri, 4 Sep 2009 17:28:43 +0000 (UTC) (envelope-from alexpalias-bsdnet@yahoo.com) Received: from n63.bullet.mail.sp1.yahoo.com (n63.bullet.mail.sp1.yahoo.com [98.136.44.33]) by mx1.freebsd.org (Postfix) with SMTP id 261FE8FC17 for ; Fri, 4 Sep 2009 17:28:43 +0000 (UTC) Received: from [69.147.84.144] by n63.bullet.mail.sp1.yahoo.com with NNFMP; 04 Sep 2009 17:14:51 -0000 Received: from [68.142.237.90] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 04 Sep 2009 17:14:51 -0000 Received: from [66.196.97.135] by t6.bullet.re3.yahoo.com with NNFMP; 04 Sep 2009 17:14:51 -0000 Received: from [127.0.0.1] by omp108.mail.re3.yahoo.com with NNFMP; 04 Sep 2009 17:14:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 131625.17242.bm@omp108.mail.re3.yahoo.com Received: (qmail 71229 invoked by uid 60001); 4 Sep 2009 17:14:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252084491; bh=JUTQGrGSDCyuBVIq8xaFBgSrpLfJRoIfjRTR7qNaR6s=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=S8C8/YkIvmxKP1Vtlzz+4/iR0q4BA4BxWHjOz16dlWTVMYA71Tlpih35k96Xryt2Q8+pJKrXEuR7jHvyU0ckZr7vLbyePfsZOmhFfNjk//XYOCr9y31SLQSxMMQOvFNtOqLNhaje6vYVPsfgo3tA2ciTi/OOyoNz29aHCmSsNws= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=gdK1qiMfsj0e5sTCc9W7rnczokIGwLPeey0vND+v5lZOlu5nZsJZjy0XWRxYDN8p8dxuPo3chqhwwy0hYoKWmsdkWwgDD9LADesBQRGwfOLxMQjBHfEY/vVidNU7XujORZRQkEO4wyV6on2gHKOsRvnVVBT5h+zwQnN9jwqArHs=; Message-ID: <3413.68869.qm@web56406.mail.re3.yahoo.com> X-YMail-OSG: 2P4CyigVM1mQsxN6bqjnosbCPnDwnonCgECDoekQkYyod0FhpBYSG0zL_ASfNk0ZLUaobg0NO6zFOShN_f1HU4brIpv1bCFvYiiZnSG46h5kORxxjrLwzK51Pt4P_3xlB4VlyvadqljNUvNZcewoxS1E4vfr1GKMKURCqK8LwTo6O8o1yBQbPTy9DXAyUNZkOKbV2LIsv1WGM6JoxyAJCukxqstXT_UASqmr6BXKIl8ABgDa1H15y3eEw3XJfEdow2t44KJLviYveec7zZpQQTdAeXgZ9.ppy8XntvaJV8reL9EX_.O17hiufLUrzR6yEo0YIuyF6JV.C9CK.Wttt_WWE4E8svt_N.P08MsE3EnL9DfXunGt2XujM6nVmtFv9F1H Received: from [91.200.96.47] by web56406.mail.re3.yahoo.com via HTTP; Fri, 04 Sep 2009 10:14:50 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Fri, 4 Sep 2009 10:14:50 -0700 (PDT) From: alexpalias-bsdnet@yahoo.com To: Artis Caune In-Reply-To: <9e20d71e0909040601s100688c2m7d7f73eb187f4809@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org Subject: Re: em driver input errors X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alexpalias-bsdnet@yahoo.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 17:28:43 -0000 --- On Fri, 9/4/09, Artis Caune wrote: > Is it still actual? Hello. Yes, this is still actual. 1> netstat -nbhI em0 ; uptime Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll em0 1500 00:14:22:17:80:dc 31G 93M 18T 36G 0 27T 0 7:50PM up 23 days, 15:40, 1 user, load averages: 0.84, 1.05, 1.16 The huge number of input errors is due to a 80-100kpps flood we received via that interface, which got the errors/sec numbers up in the 50k/s range for a few minutes. > You didn't mention if you are using pf or other firewall. Sorry if I didn't mention it. I am using pf, but have tried "kldunload pf" and the errors didn't disappear. > I have similar problem with two boxes replicating zfs > pools, when I > noticed input errors. > After some investigation turns out it was pf overhead, even > though I > was skipping on interfaces where zfs sedn/recv. > > With pf enables (and skip) I can copy 50-80MB/s with > 50-80Kpps and > 0-100+ input drops per second. > With pf disabled I can copy constantly with 102 or 93 MB/s > and > 110-131Kpps, few drops (because 1 CPU almost eaten). This is the kind of traffic I am seeing: Errors/second (5 minute average) per interface: http://www.dataxnet.ro/alex/errors.png Packets/second (5 minute average) per interface: http://www.dataxnet.ro/alex/packets.png Those graphs were saved a few minutes ago, times are EEST (GMT+3) I'm sorry I don't have the Mbits/s graphs up, I haven't been collecting that data per interface recently (it's collected per vlan). Alex