Changes between Version 10 and Version 11 of MEBSandbox/UDTExample


Ignore:
Timestamp:
05/02/12 13:02:09 (12 years ago)
Author:
Mark Berman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MEBSandbox/UDTExample

    v10 v11  
    11= Holding Bin for UDT Example Stuff =
    22
    3 == Steps ==
     3= Sample Experiment: UDT Evaluation =
     4
     5== Purpose ==
     6
     7
     8
     9== Setup ==
    410
    511 1. Create slice in Flack
     
    4652}}}
    4753
    48 == Experiment ==
     54== Adjusting link characteristics ==
    4955
    5056Now try changing the characteristics of the link and measuring how they affect UDT and TCP performance. You will need to log into your delay node to change the link characteristics. Then, on your delay node, use this command:
     
    5662You'll get something like this:
    5763{{{
    58 60111:   4.000 Mbit/s    0 ms   50 sl. 1 queues (1 buckets) droptail
     6460111: 100.000 Mbit/s    1 ms   50 sl. 1 queues (1 buckets) droptail
    5965    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
    6066BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
    61   0 udp          0.0.0.0/68    255.255.255.255/67    170991 230659480  0    0 149
    62 60121:   4.000 Mbit/s    0 ms   50 sl. 1 queues (1 buckets) droptail
     67  0 ip     207.168.14.72/0         195.128.8.8/6       11     1396  0    0   0
     6860121: 100.000 Mbit/s    1 ms   50 sl. 1 queues (1 buckets) droptail
    6369    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
    6470BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
    65   0 ip   207.167.231.176/0       195.123.192.8/6     20538  1663157  0    0   0
     71  0 ip   207.168.176.252/0        195.124.24.8/6       10     1306  0    0   0
    6672}}}
    6773
    68 This information shows the internal configuration of the "pipes" used to emulate network characteristics.
     74This information shows the internal configuration of the "pipes" used to emulate network characteristics,
     75four lines for each pipe.
    6976You'll want to make note of the two pipe numbers, one for each direction of traffic along your link.
    7077In the example above, they are 60111 and 60121.
    7178
    7279There are three link characteristics we'll manipulate in this experiment: bandwidth, delay, and packet loss rate.
    73 You'll find their values listed on the
     80You'll find their values listed in the ipfw output above.
     81The link bandwidth appears on the first line immediately after the pipe number. It's 100Mbps in the example shown above.
     82The next value shown is the delay, 1 ms in the example above.
     83The packet loss rate (PLR) is omitted if it's zero, as shown above. If non-zero, you'll see something like '''plr 0.000100'''
     84immediately before the "1 queues" on the first output line.
     85
     86It is possible to adjust the parameters of the two directions of your link separately, to emulate asymmetric links.
     87In this experiment, however, we are looking at symmetric links, so we'll always change the settings on both pipes together.
     88
     89Here are the command sequences you'll need to change your link parameters.
    7490
    7591To change bandwidth (100M means 100Mbits/s):