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

Server: support creating multiple flows #5

Open
amorenoz opened this issue Jun 16, 2022 · 1 comment
Open

Server: support creating multiple flows #5

amorenoz opened this issue Jun 16, 2022 · 1 comment

Comments

@amorenoz
Copy link

Network datapaths typically handle packets in two different ways:

  • When it's a new "flow", identified by it's 5-tuple (src/dst MAC, src/dst IP, L4 port), datapaths typically need extra processing, such as access control, etc. Then, the "flow" is typically cached in some way.
  • When the packet is part of an already existing "flow", it's common to just execute the cached actions.

This difference is specially relevant in OpenvSwitch.

Based on this, the proposal is for the Server workload to support something like connections/sec option and have it create a new connection when needed. That way we would stress both "paths". A possible way to implement this would be to have the server reserve a big range of ports and then the client could round-robin between them.

@RobertKrawitz
Copy link
Owner

To better understand:

If I specify connections/sec of 5, I'd open a connection, send traffic for 200 ms (or until 200 ms after I attempted to open the connection), close it, and then round-robin to the next port?

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

No branches or pull requests

2 participants