-
Notifications
You must be signed in to change notification settings - Fork 395
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
How -R works and why I can't corellate resulting Requests/sec with it? #127
Comments
Anyone? How do you use |
I'm not sure if this is true, but as for my understanding, wrk2 operates in pulses every 1 seconds and it will send R requests for each pulse. If the request takes time longer than 1 second, it won't send another request. Requests/sec itself should be the approximation of number of requests created over duration. |
@remort can you include an example of -R not matching Requests/sec? I can see that happening if -R was set high enough that the number of threads (-t) and/or connections (-c) could not sustain it… |
Just three measurements. The more load I give, the less RPS I get. Yes, it looks that target host cant handle more connections, but shouldn't we have
|
Try higher values for -c and -t, and see what happens. The attempted RPS is not limited by the server’s ability to serve requests, but the longer the server takes to respond, the more connections are needed to keep up the same rate. |
I can't understand why the value for -R parameter differs from what I have in 'Requests/sec' section of the resulting output.
Are only successful requests counted? Then I should be able to find all the rest listed under the 'Socket errors:' result section.
As I understand -R ought to create a constant load and try to send exactly as many requests per second as it set with -R.
But results look different.
The text was updated successfully, but these errors were encountered: