This demo transfers a file between two SCION ASes and shows how throughput can be improved by load balancing the traffic among two non-overlapping paths.
To run the demo:
- set up the development environment
bazel run //demo/file_transfer
The topology consists of two ASes connected by two links, each thottled to 16 mbps of throughput:
+---------------+ #1 #1 +---------------+
| | ------throttling----- | |
| AS ff00:0:110 | | AS ff00:0:111 |
| | ------throttling----- | |
+---------------+ #2 #2 +---------------+
The file is transferred from AS ff00:0:111 to AS ff00:0:110.
The SCION-IP gateway on the sending side is configured to use either one or two paths, respectively.
The off-the-shelf file transfer application (bbcp) opens several TCP connections to transfer the data. Those connections are then spread by the gateway among the two paths.