Assignment 1
Measure the latency and throughput of TCP and UDP across
at least two pairs of machines on the CS network, plus
any machine on a different network.
- To measure round-trip latency as a function of message
size, send and receive (echo) messages of size 1 byte,
100, 200, 300, ..., up to 1000 bytes. Measure RTTs.
- To measure throughput, send messages of size 1KByte,
2KBytes, 4KBytes, 8KBytes, 16KBytes, and 32KBytes in each
direction. Measure transfer rates.
- To measure the interaction between message size and number
of messages (using TCP only), send 1MByte of data (with a
1-byte acknowledgment in the reverse direction) using
different numbers of messages: 256 x 4KByte messages, 512 x
2KByte messages, 1024 x 1KByte messages, and so on.
Create a web page with graphs summarizing your results.
Doug
Lea