CSE 461: Bits and Bandwidth: Next Topic
CSE 461: Bits and Bandwidth: Next Topic
Next Topic
Fiber
Long, thin, pure strand of glass
light propagated with total internal reflection
enormous bandwidth available (terabits)
1
0
Bits 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0
NRZ
Clock Recovery
Possible solutions:
Send separate clock signal expensive
Keep messages short limits data rate
Embed clock signal in data signal other codes
Manchester Coding
Make transition in the middle of every bit period
Low-to-high is 0; high-to-low is 1
Signal rate is twice the bit rate
Used on 10 Mbps Ethernet
Advantage: self-clocking
clock is embedded in signal, and we re-sync with a
phase-locked loop every bit
Disadvantage: 50% efficiency
Coding Examples
Bits 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0
NRZ
Clock
Manchester
NRZI
4B/5B Codes
4B/5B code:
0000 11110, 0001 01001, … 1111 11101
Never more than three consecutive 0s back-to-back
80% efficiency
3. Framing
4. Model of a Link
Rate R Mbps
Message
M bits Delay D seconds
Message M
Delay D, Rate R
Two terms:
Propagation delay = distance / speed of light in media
• How quickly a message travels over the wire
Transmission delay = message (bits) / rate (bps)
• How quickly you can inject the message onto the wire
Later we will see queuing delay …
Relationships
Departure Arrival
Time Time
+ RTT
The round trip time (RTT) is twice the one way delay
Measure of how long to signal and get a response
Throughput
Measure of system’s ability to “pump out” data
NOT the same as bandwidth
Throughput = Transfer Size / Transfer Time
E.g., “I transferred 1000 bytes in 1 second on a 100Mb/s
link”
• BW?
• Throughput?
Transfer Time = SUM OF
Time to get started shipping the bits
Time to ship the bits
Time to get a response if necessary
Tells us how much data can be sent before a receiver sees any of it.
Twice B.D. tells us how much data we could send before hearing
back from the receiver something related to the first bit sent.
What are the implications of high B.D.?
A More Realistic Example
101100…11…0010101010101010101
Key Concepts
We typically model links in terms of bandwidth and delay,
from which we can calculate message latency
Different media have different properties that affect their
performance as links
We need to encode bits into signals so that we can recover
them at the other end of the channel.
Framing allows complete messages to be recovered at the far
end of the link