Chapter 1: Problem 33
Suppose hosts A and B are connected by a link. Host A continuously transmits the current time from a high-precision clock, at a regular rate, fast enough to consume all the available bandwidth. Host \(\mathrm{B}\) reads these time values and writes them each paired with its own time from a local clock synchronized with A's. Give qualitative examples of B's output assuming the link has (a) high bandwidth, high latency, low jitter (b) low bandwidth, high latency, high jitter (c) high bandwidth, low latency, low jitter, occasional lost data For example, a link with zero jitter, a bandwidth high enough to write on every other clock tick, and a latency of 1 tick might yield something like \((0000,0001)\), \((0002,0003),(0004,0005)\).
Short Answer
Step by step solution
- Understand the Concept
- Case (a): High Bandwidth, High Latency, Low Jitter
- Case (b): Low Bandwidth, High Latency, High Jitter
- Case (c): High Bandwidth, Low Latency, Low Jitter, Occasional Lost Data
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Bandwidth
It is usually measured in bits per second (bps).
High bandwidth means a large amount of data can be transmitted quickly, whereas low bandwidth means less data can be transmitted and typically at a slower rate.
In our exercise, comparing high bandwidth to low bandwidth:
- High bandwidth allows Host A to transmit time values very frequently. This means Host B receives a lot of data in a short time.
- Low bandwidth means Host A can only send time values less frequently. Host B receives data less often, creating bigger gaps between time values.
Latency
It is usually measured in milliseconds (ms).
High latency means there is a longer delay, while low latency implies a much shorter delay. In our exercise:
- High latency results in a significant delay between Host A sending and Host B receiving the data..
- Low latency means the time values sent by Host A are received almost immediately by Host B, making the communication nearly real-time.
Jitter
It is the inconsistency or variability in the delay of data packets.
High jitter means packet arrival times fluctuate significantly, while low jitter implies consistent delivery times.
In our exercise, jitter affects how smoothly data is received:
- With low jitter, the time values from Host A arrive at Host B consistently, creating a stable communication link.
- High jitter results in uneven arrival times of time values at Host B, causing irregularities and potential disarray in data processing.
Data Loss
It can result from network congestion, faulty hardware, or interference.
In our exercise:
- High bandwidth, low latency, and low jitter usually lead to minimal data loss. However, occasional lost data may still occur, causing missing time pairs in the output.