From: Lin Feng <linfeng@cn.fujitsu.com>
To: Lenky Gao <lenky.gao@gmail.com>
Cc: linux-kernel@vger.kernel.org, yinghai@kernel.org, mingo@elte.hu,
gorcunov@gmail.com, rusty@rustcorp.com.au, sivanich@sgi.com,
agordeev@redhat.com
Subject: Re: Question: How to distribute the interrupts over multiple cores?
Date: Mon, 25 Mar 2013 10:58:54 +0800 [thread overview]
Message-ID: <514FBD6E.2030706@cn.fujitsu.com> (raw)
In-Reply-To: <CAAO_Xo6=2PKumrxjb1XthsiVVFJcz33o5wf2OyXN9pPdu1GCRA@mail.gmail.com>
Hi Gao,
On 03/25/2013 10:33 AM, Lenky Gao wrote:
> [root@localhost ~]# echo 6 > /proc/irq/25/smp_affinity
> [root@localhost ~]# cat /proc/irq/25/smp_affinity
> 000006
Seems you bind the nic irq to second and third cpu for the bit mask
you set is 110, so now eth9's irq is working on the 3rd cpu.
Have you ever tried irqbalance service? It may help to balance irq if the
irq workload of 3rd cpu is too heavy.
thanks,
linfeng
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13914 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13927 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13939 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13973 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
next prev parent reply other threads:[~2013-03-25 2:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 2:33 Question: How to distribute the interrupts over multiple cores? Lenky Gao
2013-03-25 2:58 ` Lin Feng [this message]
2013-03-25 3:18 ` Lenky Gao
2013-03-25 3:24 ` Lin Feng
2013-03-25 3:44 ` Lenky Gao
2013-03-25 5:19 ` Lin Feng
2013-03-25 6:46 ` Lenky Gao
2013-03-25 7:04 ` Lin Feng
2013-03-25 7:10 ` Lenky Gao
2013-03-25 9:00 ` Lenky Gao
2013-03-25 9:41 ` Lin Feng
2013-03-25 9:45 ` Lenky Gao
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=514FBD6E.2030706@cn.fujitsu.com \
--to=linfeng@cn.fujitsu.com \
--cc=agordeev@redhat.com \
--cc=gorcunov@gmail.com \
--cc=lenky.gao@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--cc=sivanich@sgi.com \
--cc=yinghai@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.