Changes between Version 10 and Version 11 of MEBSandbox/UDTExample
- Timestamp:
- 05/02/12 13:02:09 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MEBSandbox/UDTExample
v10 v11 1 1 = Holding Bin for UDT Example Stuff = 2 2 3 == Steps == 3 = Sample Experiment: UDT Evaluation = 4 5 == Purpose == 6 7 8 9 == Setup == 4 10 5 11 1. Create slice in Flack … … 46 52 }}} 47 53 48 == Experiment==54 == Adjusting link characteristics == 49 55 50 56 Now 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: … … 56 62 You'll get something like this: 57 63 {{{ 58 60111: 4.000 Mbit/s 0ms 50 sl. 1 queues (1 buckets) droptail64 60111: 100.000 Mbit/s 1 ms 50 sl. 1 queues (1 buckets) droptail 59 65 mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 60 66 BKT 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 14962 60121: 4.000 Mbit/s 0ms 50 sl. 1 queues (1 buckets) droptail67 0 ip 207.168.14.72/0 195.128.8.8/6 11 1396 0 0 0 68 60121: 100.000 Mbit/s 1 ms 50 sl. 1 queues (1 buckets) droptail 63 69 mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 64 70 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 65 0 ip 207.16 7.231.176/0 195.123.192.8/6 20538 16631570 0 071 0 ip 207.168.176.252/0 195.124.24.8/6 10 1306 0 0 0 66 72 }}} 67 73 68 This information shows the internal configuration of the "pipes" used to emulate network characteristics. 74 This information shows the internal configuration of the "pipes" used to emulate network characteristics, 75 four lines for each pipe. 69 76 You'll want to make note of the two pipe numbers, one for each direction of traffic along your link. 70 77 In the example above, they are 60111 and 60121. 71 78 72 79 There 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 80 You'll find their values listed in the ipfw output above. 81 The link bandwidth appears on the first line immediately after the pipe number. It's 100Mbps in the example shown above. 82 The next value shown is the delay, 1 ms in the example above. 83 The packet loss rate (PLR) is omitted if it's zero, as shown above. If non-zero, you'll see something like '''plr 0.000100''' 84 immediately before the "1 queues" on the first output line. 85 86 It is possible to adjust the parameters of the two directions of your link separately, to emulate asymmetric links. 87 In this experiment, however, we are looking at symmetric links, so we'll always change the settings on both pipes together. 88 89 Here are the command sequences you'll need to change your link parameters. 74 90 75 91 To change bandwidth (100M means 100Mbits/s):