The bandwidth testing application
bwtester enables a variety of bandwidth tests on the SCION network. Installation and usage are described below. Documentation of the code and protocol are described in the bwtester README.
sudo apt install scion-apps-bwtester
See Installation for details.
You can run the bandwidth test client application as follows:
scion-bwtestclient -s <server-address>
Sample servers are installed at the various locations in the SCIONLab network, see below.
The application supports specification of the test duration (up to 10 seconds), the packet size to be used (at least 4 bytes), the total number of packets that will be sent, and the target bandwidth. For instance,
5,100,10,1600bps specifies that 10 packets of size 100 bytes will be sent over 5 seconds, resulting in a bandwidth of 1600bps. The question mark
? character can be used as wildcard for any of these parameters. Its value is then computed according to the other parameters. The parameters for the test in the client-to-server direction are specified with
-cs, and the server-to-client direction with
-sc. So for instance to send 1 Mbps for 10 seconds from the client to the server, and 10 Mbps from the server to the client, you can use this command:
scion-bwtestclient -s <server-address> -cs 10,1000,1250,1Mbps -sc 10,1000,12500,10Mbps
For more information run the application without arguments to print its usage.
bwtestclient is also available via the webapp.
The server is started as follows:
scion-bwtestserver -p 30100
-p specifies your server port.
There are multiple bandwidth servers deployed inside the SCIONLab infrastructure. Some of them can be reached using the following addresses
16-ffaa:0:1001,[172.31.0.23]:30100 16-ffaa:0:1002,[172.31.43.7]:30100 16-ffaa:0:1003,[172.31.19.144]:30100 16-ffaa:0:1004,[172.31.0.28]:30100 16-ffaa:0:1005,[172.31.26.94]:30100 16-ffaa:0:1007,[172.31.21.177]:30100 17-ffaa:0:1102,[22.214.171.124]:30100 17-ffaa:0:1102,[126.96.36.199]:30100 17-ffaa:0:1102,[188.8.131.52]:30100 17-ffaa:0:1107,[184.108.40.206]:30100 17-ffaa:0:1108,[220.127.116.11]:30100 17-ffaa:0:1108,[18.104.22.168]:30100 18-ffaa:0:1201,[22.214.171.124]:30100 18-ffaa:0:1201,[126.96.36.199]:30100 18-ffaa:0:1206,[188.8.131.52]:30100 19-ffaa:0:1302,[192.168.1.1]:30100 19-ffaa:0:1302,[192.168.1.2]:30100 19-ffaa:0:1303,[184.108.40.206]:30100 19-ffaa:0:1309,[220.127.116.11]:30100 20-ffaa:0:1401,[18.104.22.168]:30100 20-ffaa:0:1404,[22.214.171.124]:30100 26-ffaa:0:2001,[126.96.36.199]:30100 26-ffaa:0:2002,[188.8.131.52]:30100