netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Auke Kok <auke-jan.h.kok@intel.com>
To: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
Cc: netdev@vger.kernel.org
Subject: Re: IBM (Lenovo) T60: e1000 driver high latency
Date: Mon, 31 Jul 2006 08:05:27 -0700	[thread overview]
Message-ID: <44CE1C37.2090001@intel.com> (raw)
In-Reply-To: <20060731093433.GF2576@cip.informatik.uni-erlangen.de>

Thomas Glanzmann wrote:
> Hello,
> 
>    [ resend because .config and the used kernel version was missing ]
> 
> Linux Kernel Version: Linus Vanilla Tree; .config attached.
> 
> I recently aquired a Lenovo (IBM) T60 with a e1000 network card. I
> experience high latency with this networkcard: Pings last upto 1 second
> where the ping should be around 25 ms. I googled a bit and found the
> following:
> 
> - Enable NAPI, which didn't worked for me.
> 
>         64 bytes from 192.168.0.223: icmp_seq=30 ttl=64 time=1004 ms
>         64 bytes from 192.168.0.223: icmp_seq=31 ttl=64 time=0.444 ms
>         64 bytes from 192.168.0.223: icmp_seq=32 ttl=64 time=1006 ms
>         64 bytes from 192.168.0.223: icmp_seq=33 ttl=64 time=0.739 ms

Someone reported this problem on the e1000 bug tracker at e1000.sf.net.

He also reported that the behaviour goes away completely if he disables the 
in-kernel irq balancer:

: If I disable in kernel config Irq Balancing pings are
: much better but not the best  :-)
:
: 64 bytes from 192.168.3.74: icmp_seq=29 ttl=64 time=12.7 ms
: 64 bytes from 192.168.3.74: icmp_seq=30 ttl=64 time=10.0 ms
: 64 bytes from 192.168.3.74: icmp_seq=31 ttl=64 time=7.3 ms
: 64 bytes from 192.168.3.74: icmp_seq=32 ttl=64 time=4.5 ms

that's a large difference from >> 1000ms, and I cannot suspect otherwise that 
the kernel irqbalance is wreaking havoc in your system, trying to swap the 
entire context between each core (t60 is a core duo) every second or so.

I've never believed much in the kernel irq balancer, the userspace daemon 
written by Arjan van der Ven just does a much better job, so can you try to 
disable the kernel irqbalancer?

 > CONFIG_IRQBALANCE=y

turn that off ;)


Cheers,

Auke

  reply	other threads:[~2006-07-31 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-31  9:34 IBM (Lenovo) T60: e1000 driver high latency Thomas Glanzmann
2006-07-31 15:05 ` Auke Kok [this message]
2006-07-31 15:51   ` Thomas Glanzmann
  -- strict thread matches above, loose matches on Subject: below --
2006-07-30 21:57 Thomas Glanzmann

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=44CE1C37.2090001@intel.com \
    --to=auke-jan.h.kok@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=sithglan@stud.uni-erlangen.de \
    /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).