From: Matt Sealey <matt@genesi-usa•com>
To: Marc Leeman <marc.leeman@gmail•com>
Cc: Linuxppc-dev@ozlabs•org
Subject: Re: network load 8245 vs. 8347E
Date: Thu, 21 Jun 2007 19:53:48 +0100 [thread overview]
Message-ID: <467AC93C.2020408@genesi-usa.com> (raw)
In-Reply-To: <20070621183349.GT5417@chiana.homelinux.org>
Sure; the 2.4 ethernet driver for the e100 might be extremely efficient
on the CPU but not very good on bandwidth. They've (Intel) rewritten it
a short while back according to the documentation, so it may be that
the newer version on 2.4 may be just as CPU intensive as the gianfar
driver, and you're lucky to be using the old one. I haven't looked at
the 2.4.x version you're running to see what driver it's using, but Intel
do have their latest driver version backported to the 2.4 kernel series
on their site.
You might just be lucky that 2.4 is less bloated and has to handle less
features than 2.6 and it's lowering the CPU usage :)
So, I suppose, comparing at least 2.6 series kernels is a start, making
sure you compare the old 2.4 e100 driver to the new 2.6 e100 driver is
another idea. I think there are too many variables. That said, usually
inbuilt ethernets on SoC's.. at least in my experience.. tend to be
more efficient in some ways but not in others. In any case an Intel
network card has always kicked the pants off it.. :(
--
Matt Sealey <matt@genesi-usa•com>
Genesi, Manager, Developer Relations
Marc Leeman wrote:
>> Isn't it just because the Intel chipset is a REALLY nice ethernet
>> controller and the integrated one in the 8347E isn't as good? :)
>
> Well, that's something what I'm afraid off: that for any kind of decent
> network performance we'd need an external chipset. But there are some
> other hickups we need to investigate with the 8347.
>
> I just hope it's either a configuration problem, a not so efficient
> driver implementation -> no re-design :)
>
>> You could try turning the interrupt coaelescing off in the e100
>> driver and see how well it does, then. Or knock the bundling
>> threshold or timer down to something similar to the 8347E is using..
>> or turn the ones on the 8347E up to match the ones the e100 driver
>> is using :)
>>
>> All these options used to be modprobe options but the latest
>> e100 driver seems to hardcode a bunch of them probably for best
>> performance. Anyway, putting them on a level peg would mean at
>> least you are comparing onboard apples with pci apples.
>
> I started doing this this evening, but at first glance, changing sysfs
> params (on the gianfar driver) didn't change much.
>
> I'll start comparing 8245/e100/2.4.34, 8245/e100/2.6.17 and
> 8347E/gianfar/2.6.21.1 tomorrow.
>
> Anyway a load of 30% for a single process where an older processor only
> takes around 5% seems too much of a difference to be solved with simple
> parameter settings.
>
next prev parent reply other threads:[~2007-06-21 18:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 14:15 network load 8245 vs. 8347E Marc Leeman
2007-06-21 15:33 ` Kumar Gala
2007-06-21 15:56 ` Marc Leeman
2007-06-21 17:13 ` Marc Leeman
[not found] ` <467ABCDC.8060401@genesi-usa.com>
2007-06-21 18:33 ` Marc Leeman
2007-06-21 18:53 ` Matt Sealey [this message]
2007-06-21 19:09 ` Marc Leeman
2007-06-28 18:06 ` 2.4/2.6/ppc/powerpc/8245/8347e Marc Leeman
2007-06-29 14:59 ` 2.4/2.6/ppc/powerpc/8245/8347e Marc Leeman
2007-07-09 15:47 ` 2.4/2.6/ppc/powerpc/8245/8347e Marc Leeman
2007-07-09 19:56 ` 2.4/2.6/ppc/powerpc/8245/8347e Linas Vepstas
2007-07-10 7:55 ` 2.4/2.6/ppc/powerpc/8245/8347e Marc Leeman
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=467AC93C.2020408@genesi-usa.com \
--to=matt@genesi-usa$(echo .)com \
--cc=Linuxppc-dev@ozlabs$(echo .)org \
--cc=marc.leeman@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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