Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines

2 messages, 2 authors, 2006-05-09 · open the first message on its own page

Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines

From: Roland Dreier <hidden>
Date: 2006-05-09 18:36:11

    Shirley> I have done some patch like that on top of splitting
    Shirley> CQ. The problem I found that hardware interrupt favors
    Shirley> one CPU. Most of the time these two threads are running
    Shirley> on the same cpu according to my debug output. You can
    Shirley> easily find out by cat /proc/interrupts and
    Shirley> /proc/irq/XXX/smp_affinity.  ehca has distributed
    Shirley> interrupts evenly on SMP, so it gets the benefits of two
    Shirley> threads, and gains much better throughputs.

Yes, an interrupt will likely be delivered to one CPU.

But there's no reason why the two threads can't be pinned to different
CPUs or given exclusive CPU masks, exactly the same way that ehca
implements it.

 - R.

Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines

From: Shirley Ma <hidden>
Date: 2006-05-09 18:42:23

Roland Dreier [off-list ref] wrote on 05/09/2006 11:36:07 AM:
But there's no reason why the two threads can't be pinned to different
CPUs or given exclusive CPU masks, exactly the same way that ehca
implements it.

 - R.
I could try this. Let's see how much latency increase there.

Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone(Fax): (503) 578-7638
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help