scripts/generate_traffic.sh runs iperf3 -c "$server_ip" ... from the
campus host with no -R, so per iperf3 defaults the client sends
and the server receives -- traffic flows campus-host -> dc-server.
That's backwards for what these roles represent: dc-serverN is the
DC-hosted service, campus-hostN is the consumer. A real DC-hosted
service delivers data to the consumer (download), it doesn't only
receive uploads from it.
Fix
Add -R (reverse) to the iperf3 -c invocation so the server
(dc-serverN) sends and the client (campus-hostN) receives, and
update the script's direction labels (server -> client instead of client -> server) to match.
## Problem
`scripts/generate_traffic.sh` runs `iperf3 -c "$server_ip" ...` from the
campus host with no `-R`, so per iperf3 defaults the **client sends**
and the **server receives** -- traffic flows campus-host -> dc-server.
That's backwards for what these roles represent: `dc-serverN` is the
DC-hosted service, `campus-hostN` is the consumer. A real DC-hosted
service delivers data *to* the consumer (download), it doesn't only
receive uploads from it.
## Fix
Add `-R` (reverse) to the `iperf3 -c` invocation so the server
(`dc-serverN`) sends and the client (`campus-hostN`) receives, and
update the script's direction labels (`server -> client` instead of
`client -> server`) to match.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
scripts/generate_traffic.shrunsiperf3 -c "$server_ip" ...from thecampus host with no
-R, so per iperf3 defaults the client sendsand the server receives -- traffic flows campus-host -> dc-server.
That's backwards for what these roles represent:
dc-serverNis theDC-hosted service,
campus-hostNis the consumer. A real DC-hostedservice delivers data to the consumer (download), it doesn't only
receive uploads from it.
Fix
Add
-R(reverse) to theiperf3 -cinvocation so the server(
dc-serverN) sends and the client (campus-hostN) receives, andupdate the script's direction labels (
server -> clientinstead ofclient -> server) to match.