netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Badalian Vyacheslav <slavon@bigtelecom.ru>
Cc: netdev@vger.kernel.org
Subject: Re: e1000: Question about polling
Date: Wed, 20 Feb 2008 07:50:54 +0000	[thread overview]
Message-ID: <20080220075054.GB3885@ff.dom.local> (raw)
In-Reply-To: <47B94D5C.2070509@bigtelecom.ru>

On 18-02-2008 10:18, Badalian Vyacheslav wrote:
> Hello all.

Hi,

> Interesting think:
> 
> Have PC that do NAT. Bandwidth about 600 mbs.
> 
> Have  4 CPU (2xCoRe 2 DUO "HT OFF" 3.2 HZ).
> 
> irqbalance in kernel is off.
> 
> nat2 ~ # cat /proc/irq/217/smp_affinity
> 00000001
> nat2 ~ # cat /proc/irq/218/smp_affinity
> 00000003
> 
> Load SI on CPU0 and CPU1 is about 90%
> 
> Good... try do
> echo ffffffff > /proc/irq/217/smp_affinity
> echo ffffffff > /proc/irq/218/smp_affinity
> 
> Get 100% SI at CPU0
> 
> Question Why?

I think you should show here /proc/interrupts in all these cases.

> 
> I listen that if use IRQ from 1 netdevice to 1 CPU i can get 30% 
> perfomance... but i have 4 CPU... i must get more perfomance if i cat 
> "ffffffff"  to smp_affinity.
> 
> picture looks liks this:
> 0-3 CPU get over 50% SI.... bandwith up.... 55% SI... bandwith up... 
> 100% SI on CPU0....
> 
> I remember patch to fix problem like it... patched function 
> e1000_clean...  kernel on pc have this patch (2.6.24-rc7-git2)... e1000 
> driver work much better (i up to 1.5-2x bandwidth before i get 100% SI), 
> but i think that it not get 100% that it can =)

If some patch works for you, and you can show here its advantages,
you should probably add here some link and request for merging.

BTW, I wonder if you tried to check if changing CONFIG_HZ makes any
difference here?

Regards,
Jarek P.

  reply	other threads:[~2008-02-20  7:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18  9:18 e1000: Question about polling Badalian Vyacheslav
2008-02-20  7:50 ` Jarek Poplawski [this message]
2008-02-20  9:25   ` Badalian Vyacheslav
2008-02-20  9:47     ` Jarek Poplawski
2008-02-20 11:54       ` Badalian Vyacheslav
2008-02-20 12:25         ` Jarek Poplawski
2008-02-20  8:15 ` Brandeburg, Jesse
2008-02-20  9:15   ` Badalian Vyacheslav

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=20080220075054.GB3885@ff.dom.local \
    --to=jarkao2@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=slavon@bigtelecom.ru \
    /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).