From: Eli Cohen <eli-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Nicolas Carlier <chronidev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: MLX4 Interrupt Load-Balancing
Date: Fri, 11 Feb 2011 14:41:15 +0200 [thread overview]
Message-ID: <20110211124115.GA4119@mtldesk30> (raw)
In-Reply-To: <AANLkTi=Cguhde9-XXFMdrJ966SfGRKeb5K7KBH_ROZtC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, Feb 09, 2011 at 07:36:10PM +0100, Nicolas Carlier wrote:
> Hi,
>
> I use a dual-proc X5670 box without hyperthreading, so I have 12
> cores. I use a connectx2 card, with ofed-1.5.2, essentially to make
> multicast on IpOIb. I'm on a kernel 2.6.18-164.el5.
>
> First question:
>
> Why I have this type message during the boot ?
>
> "mlx4_core 0000:03:00.0: Requested 25 vectors, but only 14 MSI-X
> vectors available, trying again"
That's because mlx4 will try to allocate two vectors per CPU core and
another one for asynchronous events. The kernel is "willing" to give
fewer vectors. So mlx4_core will try to allocate as much as kernel
gives. IPoIB does not make use of the multitude of vectors; they are
used by mlx4_en which is the ConnectX ethernet driver.
>
> I thought that the drivers doesn't try to get more vectors than cpu
> cores. In spite of this message the driver is loaded with MSI-X
> capabilities.
>
>
> So my second question:
>
> Why when I look at the "/proc/interrupts", I don't have the impression
> that the load balancing is effective. I have the habit to use steering
> on ethernet adapters, but the behaviour doesn't corresponding. I
> receive all the interrupts on the first "queue" as show the result of
> "cat /proc/interrupts | grep mlx".
>
> 51: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-9
> 59: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-10
> 67: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-11
> 75: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-12
> 83: 223042 0 0 0 0 0
> 1091 0 0 0 0 0
> PCI-MSI-X mlx4_core(async)
> 170: 72 39800564 17641698 80102 769072 103351470
> 0 0 0 0 0 17232132
> PCI-MSI-X eth-mlx4-0
> 178: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-1
> 186: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-2
> 194: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-3
> 202: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-4
> 210: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-5
> 218: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-6
> 226: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-7
> 234: 0 0 0 0 0 0
> 0 0 0 0 0 0
> PCI-MSI-X eth-mlx4-8
>
>
>
> Thanks for the answer,
>
> Best regards.
> N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Ù{ayº\x1dÊÚë,j\a¢f£¢·hàz¹\x1e®w¥¢¸\f¢·¦j:+v¨wèjØm¶ÿ¾\a«êçzZ+ùÝ¢j"ú!
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2011-02-11 12:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 18:36 MLX4 Interrupt Load-Balancing Nicolas Carlier
[not found] ` <AANLkTi=Cguhde9-XXFMdrJ966SfGRKeb5K7KBH_ROZtC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-02-11 12:41 ` Eli Cohen [this message]
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=20110211124115.GA4119@mtldesk30 \
--to=eli-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=chronidev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.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