Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perftest tools use shared CQ for mutiple QPs #78

Open
bharatpotnuri opened this issue Feb 17, 2020 · 2 comments
Open

Perftest tools use shared CQ for mutiple QPs #78

bharatpotnuri opened this issue Feb 17, 2020 · 2 comments

Comments

@bharatpotnuri
Copy link

Hi,
I see that with multiple QP support to perftest (-q), single uber CQ is created and shared by all the QPs in an instance (ib_read_lat/ib_write_bw etc.). If more QPs are used per instance say -q 1000, CQ becomes too big and run out of max device supported cqe per CQ and may fail creating CQ or fail polling the CQ with limited size (device supported max size) for more number QPs.

Any reason behind using single large CQ for multiple QPs? Please let me know if creating CQ per QP makes sense.

Thanks

@sshaulnv
Copy link
Contributor

I tried to reproduce the problem with a larger number of QPs, and there was no problem.
Can you provide the exact command you used?
also, it will be helpful to get more information about your setup and chip , driver, etc?

Thanks

@HassanKhadour HassanKhadour pinned this issue Nov 10, 2022
@HassanKhadour HassanKhadour unpinned this issue Nov 10, 2022
@bharatpotnuri
Copy link
Author

I tried to reproduce the problem with a larger number of QPs, and there was no problem. Can you provide the exact command you used? also, it will be helpful to get more information about your setup and chip , driver, etc?

Thanks

Thanks for looking into it.
Command is in #54, Here I am pasting it again:
[root@saptharishi perftest]# ./ib_write_bw -R -F -n10 -q1026 -s32 --report_gbits 102.1.1.11 RDMA CM event error: Event: RDMA_CM_EVENT_REJECTED; error: -111.
This is seen with Chelsio T6 adapter. However I think this is generic issue. As connections or QPs scale, Having just one shared CQ, makes the CQ so huge that adapters run out of resources, Particularly if the resources are limited by HW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants