Skip to content

[socialNetwork] wrk2 -R < -t causes unexpected behavior #360

@danylotreshchov

Description

@danylotreshchov

I have been searching for an optimal wrk2 configuration to use on socialNetwork. I've set up socialNetwork on the docker swarm set up provided in the examples between 2 VMs - 16 cores, 8GB ram each, running Ubuntu 20.04.6 live server.

My default command was: wrk -t 1 -c 1 -d 60 -L http://192.168.108.185:8080 -R 1 -r

  • each run I doubled R until reaching R > 131,072
  • then R would be reset and I would double c, until c > 32,768
  • then I would reset c and r and double t

In the results I got a clear pattern that setting R < t was giving an unexpectedly high R/s. If anyone has any idea why does it happen I'd love to know! If you have any questions about the test, I'd be happy to give you more information, below are some graphs I made after getting the result data:

  • Target R/s is the -R parameter
  • Threads is the -t parameter
  • Connections is the -c parameter
  • The colours on the heat map represent actual requests per second

Image
Image
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions