From owner-freebsd-net@FreeBSD.ORG Fri Sep 4 17:43:34 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 697D21065676 for ; Fri, 4 Sep 2009 17:43:34 +0000 (UTC) (envelope-from alexpalias-bsdnet@yahoo.com) Received: from n2.bullet.mail.re3.yahoo.com (n2.bullet.mail.re3.yahoo.com [68.142.237.109]) by mx1.freebsd.org (Postfix) with SMTP id 1C0BD8FC14 for ; Fri, 4 Sep 2009 17:43:33 +0000 (UTC) Received: from [68.142.237.90] by n2.bullet.mail.re3.yahoo.com with NNFMP; 04 Sep 2009 17:29:57 -0000 Received: from [216.252.110.140] by t6.bullet.re3.yahoo.com with NNFMP; 04 Sep 2009 17:29:57 -0000 Received: from [127.0.0.1] by omp210.mail.re3.yahoo.com with NNFMP; 04 Sep 2009 17:29:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 634761.17967.bm@omp210.mail.re3.yahoo.com Received: (qmail 57427 invoked by uid 60001); 4 Sep 2009 17:29:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252085397; bh=zBjioOcj8LztFqgmlLXNm4UALqVgdJu/q4WxskbxapA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=B4wd7WL3UYTrb/8jYmFGgh9JHwy/lmtpN+v+JSGQStC+bMIF2Lf7kKzrwDpimDpyCo0e8TVGtmwsSNGD8ya3wSJkLgG7we4XvH+Ga6BaSQLS4AmKnv2p8kcAvOnndMcnHUeYqmEypGjW3zYTrGTP06xB7B3TRAc/maZsbiD+COI= 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=SzTuEDW2llbdyyUuVGESUiNZCmKxF/M/WN4h5jQH5GaJ7NM+teOlx2AXTJR3FhSf7S9GD46J68g0oLTPSqF97m9jn35vNkfHGf2/KVCrjJYLY3gyRrKWmWbMGhtXTZZ6XgDAQEhhVP0l3XqmWKxboyckObHZrh1HnbR8NRoSICw=; Message-ID: <540877.57168.qm@web56401.mail.re3.yahoo.com> X-YMail-OSG: N9D7fQ8VM1m8cIn7uwJ0tQWHcRp6H08kl7dbJug_qDZQuzkMAExHQpLM6KrFiJQK30bxoRCeBpchDdcXIsOsNOj0TGJsg6RVjfvKDS7qoGVNWiXeqPniAzsslJwgI2t8_O5DIw.rm8gexetTBjhgkKM_qtArTRCjeDCytR6RmgNxfpLlQCDfoe.9sGpGkw9Afup._t5vYz22FvdHZKrKYu9nls2HyzCLFDaohCHNSwpo1MkOWJyUh1uqxJmmt8mAFZbIUQo08.DAwy3zETMaLvPXZTpYxPNshs8cIAg8LxkymVQyQ._zKMFz2Zwt8DAeFRHp35eQ9MqBgD_ycn3hNtQP8ZneaMrNQjYxj_PnUUfR8GlogQp6sNnIGukzdjwJhQ-- Received: from [91.200.96.47] by web56401.mail.re3.yahoo.com via HTTP; Fri, 04 Sep 2009 10:29:57 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Fri, 4 Sep 2009 10:29:57 -0700 (PDT) From: alexpalias-bsdnet@yahoo.com To: Adrian Penisoara In-Reply-To: <78cb3d3f0909040711i5702c4c7l4dbb89bb1fef259a@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:43:34 -0000 --- On Fri, 9/4/09, Adrian Penisoara wrote: > From: Adrian Penisoara > Subject: Re: em driver input errors > To: alexpalias-bsdnet@yahoo.com > Cc: freebsd-net@freebsd.org > Date: Friday, September 4, 2009, 5:11 PM > Hi, Hello > First question that comes to mind is: have you tried device > polling ? > Looking up the thorough decscription you made it appears > not to. Yes, I did try it. I mentioned it in a followup mail (I had scheduled maintenance one week from my first message, and with that occasion I booted a kernel with support for polling). The polling only increased latency, and got me way more errors, and more consistently. If you look at the graphs linked below, instead of having those 35 errors/sec spikes several times per day, I was constantly exceeding 100 errorrs/s, with no error-free parts. I will admit I only had HZ=1000 in the kernel config file. The next step will probably be trying 8.0-RELEASE after it seems stable enough on a test machine. I might try setting polling mode back on for a few hours, and posting graphs. Links to the errors/s and packets/s graphs: http://www.dataxnet.ro/alex/errors.png http://www.dataxnet.ro/alex/packets.png > Please check the polling(4) manual page and Luigi's page > [1] for > detailed information. Basically it switches the device > driver from > interrupt mode to polling mode, allowing to specify the > user/system > CPU usage fraction. > > [1] http://info.iet.unipi.it/~luigi/polling/ > > Regards, > Adrian Penisoara > EnterpriseBSD Thanks for the help Alex