From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Low performance Intel 10GE NIC (3.2.10) on 2.6.38 Kernel Date: Thu, 14 Apr 2011 18:57:01 +0200 Message-ID: <1302800221.3248.39.camel@edumazet-laptop> References: <1302253651.4409.2.camel@edumazet-laptop> <1302267400.4409.22.camel@edumazet-laptop> <1302275223.4409.36.camel@edumazet-laptop> <1302330998.2656.113.camel@edumazet-laptop> <4DA3151B.4030507@intel.com> <1302536577.4605.1.camel@edumazet-laptop> <1302761251.3549.198.camel@edumazet-laptop> <1302762810.3549.233.camel@edumazet-laptop> <4DA723F1.7000901@intel.com> <1302800202.2035.32.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Alexander Duyck , Wei Gu , netdev , "Kirsher, Jeffrey T" , Mike Galbraith To: Peter Zijlstra Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:62550 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753542Ab1DNQ5G (ORCPT ); Thu, 14 Apr 2011 12:57:06 -0400 Received: by wya21 with SMTP id 21so1577803wya.19 for ; Thu, 14 Apr 2011 09:57:05 -0700 (PDT) In-Reply-To: <1302800202.2035.32.camel@laptop> Sender: netdev-owner@vger.kernel.org List-ID: Le jeudi 14 avril 2011 =C3=A0 18:56 +0200, Peter Zijlstra a =C3=A9crit = : > On Thu, 2011-04-14 at 09:42 -0700, Alexander Duyck wrote: >=20 > > I'm doing some more digging into this now. One thought that occurr= ed to=20 > > me is that if the patch you mention is having some sort of effect t= his=20 > > could be a sign of perhaps a kernel timer or scheduling problem. >=20 > Right, so the removal of the NO_HZ throttle will allow the CPU to go > into C states more often, this could result in longer wake-up times f= or > IRQs. >=20 > We reverted because: > - it caused significant battery drain due to not going into C state= s > often enough, and > - its a much better idea to implement these things in the idle > governor since it already has the job of guestimating the idle > duration. >=20 > I really can't remember back far enough to even come up with a theory= of > why kernels prior to merging the NO_HZ throttle would not exhibit thi= s > problem. >=20 >=20 >=20 Normally, Wei Gu already asked to not use C states. http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01804533/c0180= 4533.pdf How can we/he check this ?