RE: [PATCH/RFC] mlx4_core: module param to limit msix vec allocation

2010-06-17 Thread Yevgeny Petrilin
The mlx4_core driver allocates 'nreq' msix vectors (and irqs), where: nreq = min_t(int, dev-caps.num_eqs - dev-caps.reserved_eqs, num_possible_cpus() + 1); ConnectX HCAs support 512 event queues (4 reserved). On a system with enough processors, we get: mlx4_core

Re: [PATCH/RFC] mlx4_core: module param to limit msix vec allocation

2010-06-17 Thread Arthur Kepner
On Thu, Jun 17, 2010 at 05:53:58PM +0300, Yevgeny Petrilin wrote: I think that this patch would do the job, (Is that an ack?) Anyway we are thinking of ways to change our interrupt allocation scheme. Would be interested to know what you've got in mind. -- Arthur -- To unsubscribe from

Re: [PATCH/RFC] mlx4_core: module param to limit msix vec allocation

2010-06-14 Thread Arthur Kepner
On Sun, Jun 13, 2010 at 09:53:24AM +0300, Eli Cohen wrote: how many CPU cores are in your system? What kernel version did you use? I'm almost certain that it was a 2048 core system (it's not available right now for me to verify). We used 2.6.32.12 (sles11 sp1). -- Arthur -- To

Re: [PATCH/RFC] mlx4_core: module param to limit msix vec allocation

2010-06-13 Thread Eli Cohen
On Thu, Jun 10, 2010 at 09:59:21AM -0700, Arthur Kepner wrote: The mlx4_core driver allocates 'nreq' msix vectors (and irqs), where: nreq = min_t(int, dev-caps.num_eqs - dev-caps.reserved_eqs, num_possible_cpus() + 1); ConnectX HCAs support 512 event queues (4

[PATCH/RFC] mlx4_core: module param to limit msix vec allocation

2010-06-10 Thread Arthur Kepner
The mlx4_core driver allocates 'nreq' msix vectors (and irqs), where: nreq = min_t(int, dev-caps.num_eqs - dev-caps.reserved_eqs, num_possible_cpus() + 1); ConnectX HCAs support 512 event queues (4 reserved). On a system with enough processors, we get: mlx4_core