Skip to content
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

RFC: Structure cicd/tcpsctpperf and add wrk2/nginx benchmark #457

Merged
merged 11 commits into from
Dec 11, 2023

Conversation

luisgerhorst
Copy link
Contributor

Just a RFC for now to get feedback on the wr2/nginx-based benchmark (primarily useful to analyze the tail latency). A single loxilb connects a configurable number of servers with a configurable number of workers.

Work to be done:

  • Actually use the validation-* scripts in validation.sh
  • Decide on wrk2/nginx parameters (nr. of workers/threads, payload size, percentile to consider).
    • On a 6-core 2.7GHz CPU I can get loxilb to 100% CPU with 2 nginx and 2 wrk2 threads executing 28k RPS with 1KiB (each server/client thread consuming <= 80% CPU in this scenario).
    • This does not consider the load on the BPF programs. I am not sure if loxilb running at 100% is actually the bottleneck here because I can achieve 50k RPS with 4 nginx/wrk2 threads.

Copy link
Collaborator

@nik-netlox nik-netlox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for enhancing this. Changes looks good.

@nik-netlox nik-netlox merged commit 0e94b9c into loxilb-io:main Dec 11, 2023
16 checks passed
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