Skip to content

Conversation

@Yue-ByteDance
Copy link

Original message says that multiple QPs is only available for bw test, but even if user uses -q 1, it would still fail and print error, which doesn't match with the message. Change that message to a clearer expression.

@sshaulnv
Copy link
Contributor

sshaulnv commented Oct 5, 2025

@Yue-ByteDance i think it would be clearer to change the condition to if (user_param->tst != BW && user_param->num_of_qps > 1), instead of changing the warning message.

Original message says that multiple QPs is only available for bw test,
but even if user uses `-q 1`, it would still fail and print error, which
doesn't match with the message. Change the logic to check if user
specified more than 2 QPs for non-bw tests.

Signed-off-by: yuezelong <[email protected]>
@Yue-ByteDance Yue-ByteDance changed the title Perftest: Provide clearer error message for specifying QP number in non bw test Perftest: Fix specifying QP number 1 in non bw test Oct 10, 2025
@Yue-ByteDance
Copy link
Author

@Yue-ByteDance i think it would be clearer to change the condition to if (user_param->tst != BW && user_param->num_of_qps > 1), instead of changing the warning message.

Hello, I've updated the commit according to your suggestion, thanks!

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

Successfully merging this pull request may close these issues.

2 participants