LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Pin an IRQ to a particular CPU
@ 2007-04-27  1:15 Phy Prabab
  2007-04-27  5:24 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Phy Prabab @ 2007-04-27  1:15 UTC (permalink / raw)
  To: linux-kernel

Hello,

In an effort to increase over all throughput of my Linux NFS file
server, I thought about trying to force an IRQ, for the NIC, to be
serviced by a particular CPU.  Is this possible?

TIA,
Phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pin an IRQ to a particular CPU
  2007-04-27  1:15 Pin an IRQ to a particular CPU Phy Prabab
@ 2007-04-27  5:24 ` Jan Engelhardt
  2007-04-27  5:25 ` Jan Engelhardt
  2007-04-27  5:31 ` David Schwartz
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2007-04-27  5:24 UTC (permalink / raw)
  To: Phy Prabab; +Cc: linux-kernel


> Hello,
>
> In an effort to increase over all throughput of my Linux NFS file
> server, I thought about trying to force an IRQ, for the NIC, to be
> serviced by a particular CPU.  Is this possible?

http://lkml.org/lkml/2007/4/5/155


Jan
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pin an IRQ to a particular CPU
  2007-04-27  1:15 Pin an IRQ to a particular CPU Phy Prabab
  2007-04-27  5:24 ` Jan Engelhardt
@ 2007-04-27  5:25 ` Jan Engelhardt
  2007-04-27  5:31 ` David Schwartz
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2007-04-27  5:25 UTC (permalink / raw)
  To: Phy Prabab; +Cc: linux-kernel


On Apr 26 2007 18:15, Phy Prabab wrote:
> Hello,
>
> In an effort to increase over all throughput of my Linux NFS file
> server, I thought about trying to force an IRQ, for the NIC, to be
> serviced by a particular CPU.  Is this possible?

Sorry, too early in the morning :)
It is definitely possible, since that is what irqbalance does.
(Not that I know the exact details right now...)
the other URL I posted might give some useful hints too, though.


Jan
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Pin an IRQ to a particular CPU
  2007-04-27  1:15 Pin an IRQ to a particular CPU Phy Prabab
  2007-04-27  5:24 ` Jan Engelhardt
  2007-04-27  5:25 ` Jan Engelhardt
@ 2007-04-27  5:31 ` David Schwartz
  2 siblings, 0 replies; 4+ messages in thread
From: David Schwartz @ 2007-04-27  5:31 UTC (permalink / raw)
  To: linux-kernel


> Hello,
> 
> In an effort to increase over all throughput of my Linux NFS file
> server, I thought about trying to force an IRQ, for the NIC, to be
> serviced by a particular CPU.  Is this possible?
> 
> TIA,
> Phy

/proc/irq/*/smp_affinity

I would recommend automatic balancing and leave it at that. This code automatically distributes IRQs to CPUs such that each IRQ can only be serviced by a single CPU and the IRQs are distributed over the CPU set.

DS



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-27  5:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-27  1:15 Pin an IRQ to a particular CPU Phy Prabab
2007-04-27  5:24 ` Jan Engelhardt
2007-04-27  5:25 ` Jan Engelhardt
2007-04-27  5:31 ` David Schwartz

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).