From: "Robert Iakobashvili" <coroberti@gmail.com>
To: "Mark Ryden" <markryde@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Two Dual Core processors and NICS (not handling interrupts on one CPU/assigning a Two Dual Core processors and NICS (not handling interrupts on one CPU / assigning a CPU to a NIC)
Date: Mon, 15 Jan 2007 11:58:12 +0200 [thread overview]
Message-ID: <7e63f56c0701150158r4e9b95ar996a33a5294cfa56@mail.gmail.com> (raw)
In-Reply-To: <dac45060701150115y5308f7b5ka44f2ea4ae304d4b@mail.gmail.com>
Hi Mark,
On 1/15/07, Mark Ryden <markryde@gmail.com> wrote:
> I have a machine with 2 dual core CPUs. This machine runs Fedora Core 6.
> I have two Intel e1000 GigaBit network cards on this machine; I use bonding so
> that the machine assigns the same IP address to both NICs ;
> cat /proc/interrupts shops something like this:
> CPU0 CPU1 CPU2 CPU3
> 50: 3359337 0 0 0 PCI-MSI eth0
> 58: 49 3396136 0 0 PCI-MSI eth1
>
> CPU0 and CPU1 are of the first CPU as far as I understand ; so
> this means as far as I understand that the second CPU (which has CPU3
> and CPU4) does not handle
> interrupts of the arrived packets; Can I somehow change it so the second
> CPU will also handle network interrupts of receiving packets on the nic ?
>
> Can I assign one CPU to eth0 and the second CPU to eth1 ?
How it will help you?
Y can set smp-affinity mask for each irq in /proc/<irq-number>/
google for 'linux smp-affinity".
The subject in more details is discussed in:
http://linux-net.osdl.org/index.php/TODO#TCP
and thread
http://marc.theaimsgroup.com/?t=116695290600001&r=1&w=2, read from
bottom.
--
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...................................................................
Navigare necesse est, vivere non est necesse
...................................................................
http://sourceforge.net/projects/curl-loader
A powerful open-source HTTP/S, FTP/S traffic
generating, loading and testing tool.
next prev parent reply other threads:[~2007-01-15 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 9:15 Two Dual Core processors and NICS (not handling interrupts on one CPU/assigning a Two Dual Core processors and NICS (not handling interrupts on one CPU / assigning a CPU to a NIC) Mark Ryden
2007-01-15 9:58 ` Robert Iakobashvili [this message]
2007-01-15 16:52 ` Auke Kok
2007-01-16 17:34 ` Rick Jones
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=7e63f56c0701150158r4e9b95ar996a33a5294cfa56@mail.gmail.com \
--to=coroberti@gmail.com \
--cc=markryde@gmail.com \
--cc=netdev@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).