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

Mutibench multiplexing enhancement #89

Open
HughNhan opened this issue Nov 21, 2023 · 0 comments
Open

Mutibench multiplexing enhancement #89

HughNhan opened this issue Nov 21, 2023 · 0 comments
Assignees

Comments

@HughNhan
Copy link

HughNhan commented Nov 21, 2023

Currently multiplexing a mutlbench run with uperf and iperf is not working. We may decide that multibench does not support multi iteration in which case this issue can be used as a documentation point.

Symptom:

The iperf client would fail on the second iteration when it could not determine the server IP. The endpoint-start-end shows:

{
  "svc": {
    "ip": "30042",  <======  BAD
    "ports": [
      30043
    ]
  }
}

On the first iteration, the good message looks like this:

{
  "svc": {
    "ip": "172.30.177.50",
    "ports": [
      30042,
      30043
    ]
  }
} 

Config:

A run iteration corresponds to a set of mv-params. To create a run with a two iterations, just add one more value to a list variable. For example:

{ "arg": "wsize", "vals": ["512", "1024"], "id": "1" },

Root cause:

Debugging shows that the iperf-server did not build the message correctly because the command args/opts passed to the iperf-server was not being multiplexed correctly.

First iteration passed to iperf-server-start with "opts= --ifname 'eth0' --ipv '4' --"
Second iteration passed to iperf-server-start with "opts= --"
W/o seeing --ifname, iperf-server-start will not look for IP.

@HughNhan HughNhan changed the title Mutibench multiplexing emhancement Mutibench multiplexing enhancement Nov 21, 2023
@HughNhan HughNhan self-assigned this Nov 21, 2023
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

1 participant