Skip to content

why the latency of 4k is lower when comparing 2k and 4k qps? #149

@clee01

Description

@clee01
wrk -t1 -c1 -d30s -R2000 -H "Connection: close" http://127.0.0.1:4001/reload
Running 30s test @ http://127.0.0.1:4001/reload
  1 threads and 1 connections
  Thread calibration: mean lat.: 0.982ms, rate sampling interval: 10ms
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     0.98ms  472.51us   2.22ms   60.54%
    Req/Sec     2.10k   122.34     2.56k    62.39%
  60000 requests in 30.00s, 6.24MB read
Requests/sec:   1999.97
Transfer/sec:    212.89KB

wrk -t1 -c1 -d30s -R4000 -H "Connection: close" http://127.0.0.1:4001/reload
Running 30s test @ http://127.0.0.1:4001/reload
  1 threads and 1 connections
  Thread calibration: mean lat.: 0.643ms, rate sampling interval: 10ms
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   644.13us  365.27us   5.87ms   69.10%
    Req/Sec     4.22k   294.67     5.67k    63.32%
  119997 requests in 30.00s, 12.47MB read
Requests/sec:   3999.91
Transfer/sec:    425.77KB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions