New Route from SLAC to BINP/NovosibirskLes Cottrell. Page created: May 31, 2005Central Computer Access | Computer Networking | Network Group | More case studies |
|
On June 3, 2005: Les Cottrell accessed the host at BINP. It is an OPenBSD host:
rainbow:cottrell {159} uname -a OpenBSD rainbow.inp.nsk.su 3.4 GENERIC#0 i386He installed iperf and did a traceroute that shows the route went from BINP to Moscow, to Amsterdam to Chicago to ESnet to SLAC. The ABwE packet pair measurements show that the available bandwidth was over 100Mbits/s.
Running iperf at BINP to SLAC with an 8MB window yielded an achievable throughput of only about 470 kbits/s.
I ran an iperf server on rainbow.inp.nsk.su:
rainbow:cottrell {158}bin/iperf -s -w 10m -p 5011 &and tried to access it as client from iepm-resp.slac.stanford.edu:
0cottrell@iepm-resp:~>iperf -c rainbow.inp.nsk.su -p 5011 -t 20 -i 5 -w 8m ------------------------------------------------------------ Client connecting to rainbow.inp.nsk.su, TCP port 5011 TCP window size: 16.0 MByte (WARNING: requested 8.00 MByte) ------------------------------------------------------------ [ 3] local 134.79.240.36 port 33052 connected with 193.124.167.29 port 5011 Interval Transfer Bandwidth [ 3] 0.0- 5.0 sec 12.0 MBytes 20.1 Mbits/sec [ 3] 5.0-10.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 10.0-15.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 15.0-20.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 20.0-25.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 25.0-30.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 30.0-35.0 sec 0.00 Bytes 0.00 bits/secEventually the server replied:
rainbow:cottrell {159} [ 6] 0.0-213.4 sec 12.0 MBytes 472 Kbits/secGiven the iperf strange results Stanislaus Shalunov of Internet2 installed thrulay on rainbow.inp.nsk.su. We (Stanislaus and Les) then used thrulay to measure throughput from iepm-bw.slac.stanford.edu and rainbow.inp.nsk.su achieving about 7Mbits/s. We achieved similar results in the opposite direction. Since the window size at rainbow.inp.nsk.su is 222KBytes, a maximum throughput of about 7Mbits/s is about right for an RTT of about 250msecs.
The minimum ping RTT varies between two values of 250ms and 300ms. It stays for long periods at one of these values then switches to the other. It depends on the routing and where the peering between ESnet and GLORIAD occurs. Currently the route from SLAC is via ESnet to Chicago, then to Amsterdam, Moscow and Russia. The route from Novosibirsk goes via RBnet to Khabarovsk then via KoreaNet (134.75.108.x) through PacificWave to CENIC, Stanford and SLAC.
The TCP window sizes on rainbow.inp.nsk.sk are set to:
net.inet.tcp.sendspace = 16384 net.inet.tcp.recvspace = 16384The bandwidth*delay product (BDP) for 80Mbits/s is about 3MB, for 800Mbits/s it is about 30MB, so the above values for rainbow are about a factor 200 too small.
Looking at the performance from SLAC to BINP, Novosibirsk. Before Gloriad (BG?) we had a capacity of 512kbits/s between KEK and BINP. Now with a single TCP stream we get an achievable throughput (measured by thrulay) of up to 6 Mbits/s. Looking at these throughputs there is considerable diurnal variation with achievable throughputs dropping to << 1 Mbits/s. The diurnal variations can also be observed in the ping RTTs.
If we push the throughput by using multiple (say 80 using iperf) parallel TCP streams then we can get around 20-25Mbits/s. Using pathchirp's packet pair dispersion technique to estimate available bandwidth then we get 60-120 Mbits/s.
Thus achievable throughput has gone up by a factor of 10, and if we wish to push it and be less fair then by a factor of ~40-50. We also need to increase the TCP window size at rainbow.inp.nsk.su