From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Difficulties to get 1Gbps on be2net ethernet card Date: Wed, 30 May 2012 11:56:14 +0200 Message-ID: <1338371774.2760.134.camel@edumazet-glaptop> References: <1338360536.2760.85.camel@edumazet-glaptop> <1338361587.2760.94.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev To: Jean-Michel Hautbois Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:39082 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955Ab2E3J4S (ORCPT ); Wed, 30 May 2012 05:56:18 -0400 Received: by bkcji2 with SMTP id ji2so3922093bkc.19 for ; Wed, 30 May 2012 02:56:17 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2012-05-30 at 11:40 +0200, Jean-Michel Hautbois wrote: > I used vmstat in order to see the differences between the two kernels. > The main difference is the number of interrupts per second. > I have an average of 87500 on 3.2 and 7500 on 2.6, 10 times lower ! > I suspect the be2net driver to be the main cause, and I checkes the > /proc/interrupts file in order to be sure. > > I have for eth1-tx on 2.6.26 about 2200 interrupts per second and 23000 on 3.2. > BTW, it is named eth1-q0 on 3.2 (and tx and rx are the same IRQ) > whereas there is eth1-rx0 and eth1-tx on 2.6.26. > Might be different coalescing params : ethtool -c eth1