netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thayne Harbaugh <tharbaugh@lnxi.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: hadi@cyberus.ca, "Venkatesan,
	Ganesh" <ganesh.venkatesan@intel.com>,
	netdev@oss.sgi.com, "Feldman, Scott" <scott.feldman@intel.com>,
	"Brandeburg, Jesse" <jesse.brandeburg@intel.com>
Subject: Re: [PATCH] abysmal e1000 performance (DITR)
Date: Thu, 26 Aug 2004 15:28:57 -0600	[thread overview]
Message-ID: <1093555737.20769.135.camel@tubarao> (raw)
In-Reply-To: <412E478A.2000806@pobox.com>

On Thu, 2004-08-26 at 16:26 -0400, Jeff Garzik wrote:
> Thayne Harbaugh wrote:
> > On Thu, 2004-08-26 at 13:55 -0400, jamal wrote:
> > 
> >>Ganesh,
> >>
> >>Can you please make this feature off by default and perhaps
> >>accesible via ethtool for peopel who want to turn it on.
> >>I just wasted a few hours and was bitten by this performance-wise.
> >>Please consider disabling it.
> > 
> > 
> > This is a *horrible* problem.  Even though it's fixable by passing a
> > module parameter, the default bites those that *know* about it.  We have
> > had customers bitten by this and customers that have insisted in
> > swapping all the NICs in a cluster to Broadcom TG3 NICs.
> > 
> > It's a black eye for Intel and a loss of business - that's the opinion
> > of our customers.
> 
> 
> If it's so bad we should disable it by default, either via the module 
> parameter or via a kernel CONFIG_xxx option.

Yes, it is so bad.  The dynamic interrupt setting should be deprecated
by the use of NAPI.

This is a simple way to disable it, yet still keep the code so that
someone can enable it if they really wanted it.  I, however, would just
as soon see all of the DITR code ripped out.

There are other ways that might be better for dealing with it, yet still
keeping the DITR code viable.

--- drivers/net/e1000/e1000_param.c.broken_ditr 2004-08-26 15:40:34.436456736 -0600
+++ drivers/net/e1000/e1000_param.c     2004-08-26 15:49:07.186506880 -0600
@@ -212,7 +212,7 @@
 #define MAX_TXABSDELAY            0xFFFF
 #define MIN_TXABSDELAY                 0
  
-#define DEFAULT_ITR                    1
+#define DEFAULT_ITR                 8000
 #define MAX_ITR                   100000
 #define MIN_ITR                      100
  

  reply	other threads:[~2004-08-26 21:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04 15:44 [PATCH] abysmal e1000 performance (DITR) Venkatesan, Ganesh
2004-08-26 17:55 ` jamal
2004-08-26 20:04   ` Thayne Harbaugh
2004-08-26 20:26     ` Jeff Garzik
2004-08-26 21:28       ` Thayne Harbaugh [this message]
2004-08-28 22:58         ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2004-08-27 22:41 Ronciak, John
2004-08-30 17:06 ` Thayne Harbaugh
2004-08-27 21:49 Ronciak, John
2004-08-27 22:05 ` Thayne Harbaugh
2004-06-01 23:05 Thayne Harbaugh
2004-06-04 14:20 ` Thayne Harbaugh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1093555737.20769.135.camel@tubarao \
    --to=tharbaugh@lnxi.com \
    --cc=ganesh.venkatesan@intel.com \
    --cc=hadi@cyberus.ca \
    --cc=jesse.brandeburg@intel.com \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    --cc=scott.feldman@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).