linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Brandeburg <jesse.brandeburg@gmail.com>
To: gcoady@gmail.com
Cc: Bernd Eckenfels <be-news06@lina.inka.de>, linux-kernel@vger.kernel.org
Subject: Re: Why is 2.4.32 four times faster than 2.6.14.6??
Date: Sun, 8 Jan 2006 18:37:52 -0800	[thread overview]
Message-ID: <4807377b0601081837u2c1d50b3w218d5ef9e3dc662@mail.gmail.com> (raw)
In-Reply-To: <igs1s1lje7b7kkbmb9t6d06n8425i1b1i4@4ax.com>

On 1/8/06, Grant Coady <gcoady@gmail.com> wrote:
> On Sun, 08 Jan 2006 11:23:37 +0100, be-news06@lina.inka.de (Bernd Eckenfels) wrote:
>
> >Willy Tarreau <willy@w.ods.org> wrote:
> >> It's rather strange that 2.6 *eats* CPU apparently doing nothing !
> >
> >it eats it in high interrupt load. And it is caused by the pty-ssh-tcp
> >output, so most likely those are eepro100 interrupts.
>
> That would be true for either 2.4 or 2.6, no?  Also it runs e100
> driver, but...
>
> 2.4 dmesg:
> Intel(R) PRO/100 Network Driver - version 2.3.43-k1
> Copyright (c) 2004 Intel Corporation
>
> e100: selftest OK.
> e100: eth0: Intel(R) PRO/100 Network Connection
>   Hardware receive checksums enabled
>   cpu cycle saver enabled
>
> 2.6 dmesg:
> [   31.977945] e100: Intel(R) PRO/100 Network Driver, 3.4.14-k2-NAPI
> [   31.978007] e100: Copyright(c) 1999-2005 Intel Corporation
> [   32.002928] e100: eth0: e100_probe: addr 0xfd201000, irq 11, MAC addr 00:90:27:42:AA:77
> [   32.026992] e100: eth1: e100_probe: addr 0xfd200000, irq 12, MAC addr 00:90:27:58:32:D4
> [   32.186941] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
>
> Are rx checksums not turned on in 2.6' e100 driver?
> CPU is only pentium/mmx 233

Hey Grant, to answer your question, checksums are not offloaded with
the current e100 driver but that really shouldn't make that much of a
difference.  I'm actually going to go with interrupt load due to e100
being at least related to the problem.

BTW I get access denied when hitting
http://bugsplatter.mine.nu/test/boxen/deltree/

The netdev-2.6 git tree currently has a driver that supports microcode
loading for your rev 8 PRO/100 and that microcode may help your
interrupt load due to e100.  however, it may already be loading. 
Also, what do you have HZ set to? (250 is default in 2.6, 1000 in 2.4)
so you could try running your 2.6 kernel with HZ=1000

while you're running your test you could try (if you have sysstat)
sar -I <e100 interrupt> 1 10

or a simpler version, 10 loops of cat /proc/interrupts; sleep 1;

Lets see if its e100,
  Jesse

  reply	other threads:[~2006-01-09  2:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-08  6:16 Why is 2.4.32 four times faster than 2.6.14.6?? Grant Coady
2006-01-08  6:58 ` Markus Rechberger
2006-01-08  7:18   ` Bernd Eckenfels
2006-01-08  7:42     ` Grant Coady
2006-01-08  8:00       ` Bernd Eckenfels
2006-01-08  8:11         ` Con Kolivas
2006-01-08  9:12           ` Bernd Eckenfels
2006-01-08 12:04       ` Jan Engelhardt
2006-01-08 19:20         ` Grant Coady
2006-02-22 19:27           ` Enrico Weigelt
2006-02-22 23:17             ` Adrian Bunk
2006-01-08  7:28   ` Grant Coady
2006-01-08  9:57     ` Willy Tarreau
2006-01-08 10:23       ` Bernd Eckenfels
2006-01-08 10:54         ` Willy Tarreau
2006-01-08 11:09           ` Bernd Eckenfels
2006-01-08 11:16             ` Willy Tarreau
2006-01-08 11:18         ` Grant Coady
2006-01-09  2:37           ` Jesse Brandeburg [this message]
2006-01-09  2:46             ` Lee Revell
2006-01-09  2:59             ` Grant Coady
2006-01-09  6:56             ` Grant Coady
2006-01-08 11:05       ` Grant Coady
2006-01-08 18:21         ` Octavio Alvarez Piza
2006-01-08 19:27           ` Grant Coady

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=4807377b0601081837u2c1d50b3w218d5ef9e3dc662@mail.gmail.com \
    --to=jesse.brandeburg@gmail.com \
    --cc=be-news06@lina.inka.de \
    --cc=gcoady@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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).