Transcript Document

Network Coding and
Reliable Communications Group
Replacing WiMAX’s HARQ/ARQ
with Network Coding: an
Implementation
Surat (Au) Teerapittayanon
[email protected]
Network Coding and
Reliable Communications Group
Architecture
2
Network Coding and
Reliable Communications Group
Measurement Tools
• RAW IP Traffic Generator
– https://github.com/Wisdom/ipgen
• UDP Traffic Generator
– https://github.com/Wisdom/udpgen
Evaluate % of successful packets compared to
transmitted packets
Thanks to: Harry Mussman, Ivan Seskar and Abhimanyu Gosain and others.
3
Network Coding and
Reliable Communications Group
• RAW IP Traffic Generator
– https://github.com/Wisdom/ipgen
•
•
•
Description:
A simple RAW IP TRAFFIC GENERATOR (require sudo)
Evaluate % of successful packets compared to transmitted packets
•
•
Compilation:
gcc ipgen.c -o ipgen -O3
•
•
•
•
There are two types of unsuccessful packages
1. Loss or drop by lower layers.
2. Fail the checksum.
This program counts both losses.
•
Usage: ./ipgen [-v] -[s|c] [-n NUM_PACKET] [-l PACKET_LENGTH_IN_BYTES] [-b BANDWIDTH_IN_BYTES_PER_SEC]
IPADDRESS PORT
-v means verbose
-s means server
-c means client
e.g.
./ipgen -vcl 1000 -b 10000 127.0.0.1 5556
./ipgen -vsl 1000 127.0.0.1 5556
•
•
•
•
•
•
4
Network Coding and
Reliable Communications Group
• UDP Traffic Generator
– https://github.com/Wisdom/udpgen
•
•
•
Description:
A simple UDP TRAFFIC GENERATOR
Evaluate % of successful packets compared to transmitted packets
•
•
Compilation:
gcc udpgen.c -o udpgen -O3
•
•
•
•
There are two types of unsuccessful packages
1. Loss or drop by lower layers.
2. Fail the checksum.
This program counts both losses.
•
Usage: ./udpgen [-v] -[s|c] [-n NUM_PACKET] [-l PACKET_LENGTH_IN_BYTES] [-b BANDWIDTH_IN_BYTES_PER_SEC]
IPADDRESS PORT
-v means verbose
-s means server
-c means client
e.g.
./udpgen -vcl 1000 -b 10000 127.0.0.1 5556
./udpgen -vsl 1000 127.0.0.1 5556
•
•
•
•
•
•
5
Network Coding and
Reliable Communications Group
Measurement Tools
• RAW IP Traffic Generator
– https://github.com/Wisdom/ipgen
• UDP Traffic Generator
– https://github.com/Wisdom/udpgen
Evaluate % of successful packets compared to
transmitted packets
Thanks to: Harry Mussman, Ivan Seskar and Abhimanyu Gosain and others.
6