[ofw] How many QPs are used so far?

Tzachi Dar tzachid at mellanox.co.il
Mon Sep 13 08:15:19 PDT 2010


The list that you have posted to is windows.

There is probably a module parameter in Linux with the same name, that you can try.

In any case, you need to try another mailing list (probably general at lists.openfabrics.org<mailto:general at lists.openfabrics.org>)

Thanks
Tzachi

From: Tang, Changqing [mailto:changquing.tang at hp.com]
Sent: Monday, September 13, 2010 5:06 PM
To: Tzachi Dar; ofw at lists.openfabrics.org
Subject: RE: How many QPs are used so far?

Tzachi,
               Thanks  for your quick response. Our system is Linux, how do I do it?

               Also when ibv_create_qp() fails, is there a way to figure out what the reason is (QP limit reached, unable to lock memory, others)? Does errno tell us anything?

--CQ

From: Tzachi Dar [mailto:tzachid at mellanox.co.il]
Sent: Monday, September 13, 2010 10:01 AM
To: Tang, Changqing; ofw at lists.openfabrics.org
Subject: RE: How many QPs are used so far?

Hi,

The number of allowed qps is controlled in the registry.

Before we try to debug your system, I would like to try and change that number and see if this will solve your problem.

Can you go to the registry to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mlx4_bus\Parameters and increase the key that is called LogNumQp?

Please stop and start the mlx4_bus from the device manager and repeat your experiment.

Thanks
Tzachi

From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tang, Changqing
Sent: Monday, September 13, 2010 4:27 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] How many QPs are used so far?

HI,
               Our application sometimes report ibv_create_qp() error. Our system has 69G memory and set lockable memory to unlimited. So I wonder running out of QP number is more suspicious than running out of memory.
               Is there a way to query how many QPs are used at the point of ibv_create_qp() failure ?

               Thank you in advance.

--CQ
Hewlett-Packard BIS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100913/1f367eae/attachment.html>


More information about the ofw mailing list