Docsity

Basic Concepts - Networking - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Basic Concepts - Networking - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Basic Concepts

Nodes and Links

A B

Examples of Bandwidth-Delay

 Same city over a slow link:

 BW~100Mbps

 Latency~0.1msec

 BDP ~ 10,000bits ~ 1.25KBytes

 Cross-country over fast link:

 BW~10Gbps

 Latency~10msec

 BDP ~ 10

8

bits ~ 12.5GBytes

time=

Packet Delay

Sending a 100B packet from A to B?

A B

100Byte packet

Time
1Mbps, 1ms

Time to transmit one bit = 1/ 6 s Time to transmit 800 bits=800x1/ 6 s Time when that bit reaches B = 1/ 6 +1/ 3 s The last bit reaches B at (800x1/ 6 )+1/ 3 s = 1.8ms

Packet Delay = Transmission Delay + Propagation Delay
Packet Delay =
(Packet Size ÷ Link Bandwidth) + Link Latency

Packet Delay: The “pipe” view

Sending 100B packets from A to B? A B 100Byte packet

Time

1Mbps, 10ms 100Byte packet 100Byte packet time

BW

pkt tx time

Packet Delay: The “pipe” view

Sending 100B packets from A to B? 1Mbps, 10ms (BDP=10,000) time 

BW

10 Mbps, 1 ms (BDP=10,000) time 

BW

1Mbps, 5 ms (BDP=5,000) time 

BW

Any questions?

Nodes and Links

A B

Solution: A switched network

Nodes share network link resources

How is this sharing implemented?

Two forms of switched networks

 Circuit switching (used in the telephone network)

 Packet switching (used in the Internet)

Circuit Switching: Sharing a Link

 Time-division

 Each circuit allocated

certain time slots

 Frequency-division

 Each circuit allocated

certain frequencies

time

time^ frequency

Time-Division Multiplexing/Demultiplexing

 Time divided into frames; frames into slots

 Relative slot position inside a frame determines to which

conversation data belongs

 e.g., slot 0 belongs to orange conversation

 Slots are reserved (released) during circuit setup (teardown)

 If a conversation does not use its circuit capacity is lost!

Frames Slots =^0 1 2 3 4 5 0 1 2 3 4

time

Timing in Circuit Switching

time

Timing in Circuit Switching