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

change to multistream concheck #24

Merged
merged 1 commit into from
Oct 3, 2022
Merged

change to multistream concheck #24

merged 1 commit into from
Oct 3, 2022

Conversation

sunya-ch
Copy link
Collaborator

@sunya-ch sunya-ch commented Sep 28, 2022

This PR changes server and client command generation from single stream to multiple stream for full bandwidth measurement.

Example:

generated server command

  containers:
  - args:
    - ' (for i in {1..5}; do iperf3 -s -p 501$i & done) &  (for i in {1..5}; do iperf3
      -s -p 502$i & done) & (tail -f /dev/null)'
    command:
    - /bin/sh
    - -c

generated client command

  containers:
  - args:
    - ' (for i in {1..5}; do iperf3 -Z -t 10s -c 192.168.0.1 -p 501$i --connect-timeout
      10s & done  | grep ''receiver'' | awk ''{s+=$7} END{print "192.168.0.1,"s$8}'')
      & (for i in {1..5}; do iperf3 -Z -t 10s -c 192.168.64.1 -p 502$i --connect-timeout
      10s & done  | grep ''receiver'' | awk ''{s+=$7} END{print "192.168.64.1,"s$8}'')
      &wait; sleep 1;echo ''''; (for i in {1..5}; do iperf3 -Z -t 10s -c 192.168.0.65
      -p 501$i --connect-timeout 10s & done  | grep ''receiver'' | awk ''{s+=$7} END{print
      "192.168.0.65,"s$8}'') & (for i in {1..5}; do iperf3 -Z -t 10s -c 192.168.64.65
      -p 502$i --connect-timeout 10s & done  | grep ''receiver'' | awk ''{s+=$7} END{print
      "192.168.64.65,"s$8}'') &wait; sleep 1;echo '''';'
    command:
    - /bin/sh
    - -c

Signed-off-by: Sunyanan Choochotkaew [email protected]

Signed-off-by: Sunyanan Choochotkaew <[email protected]>
@tatsuhirochiba tatsuhirochiba merged commit 8e0ad48 into main Oct 3, 2022
@sunya-ch sunya-ch deleted the concheck branch July 7, 2023 05:13
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