Skip to content

Conversation

@sanka-eu
Copy link

@sanka-eu sanka-eu commented May 7, 2025

Adapting commits for the new version of mcperf 0.4.

shaygoog and others added 26 commits July 14, 2021 17:35
Support multiple agents on the same host
With thanks to Brian Rzycki for reporting
Some zmq::socket_base::send() and zmq::socket_base::recv() methods
cause deprecation warnings.  Use updated methods instead.
By default, zmq::socket_base::recv() blocks until a message is received, but
there is no guarantee of timely delivery.  However, sync_agent() uses recv() to
synchronize with agents, and recv() has been observed in some cases to block
completed reception of the "ack" until all agents have finished their entire
workload, causing the primary mcperf's load generation to start afterwards.
This causes some serial execution instead of fully-parallel concurrency, which
results in a higher QPS and longer latency.

Instead of relying on recv() to unblock quickly, poll non-blocking recv().
- fixed the interval bug with non-dyn exec.
- fixed the scan bug with stats object reinitialization.
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.

4 participants