1
CS 3640: Introduction to Networks and Their Applications
Fall 2018, Lecture 3: Switching Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
CS 3640: Introduction to Networks and Their Applications Fall 2018, - - PowerPoint PPT Presentation
CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 3: Switching Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain 1 Rules of engagement: Recap There should be no gaps in seating. Ask and
1
Fall 2018, Lecture 3: Switching Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
2
Rules of engagement: Recap
3
You should…
4
This week in class
Recap: Layering Provide protocols for applications to use (HTTP, email, etc.) Provide (reliable) end-to-end delivery Provide best-effort global delivery Put bits on the medium
Recap: The end-to-end principle
functionality.
7
Recap: Fate-sharing
it fails.
8
Recap: Building blocks of the Internet
with other networks
9
Recap: Encapsulation and packets
Data Application Header Transport Data Header Network Header Data Header Link Data Header Header
10
This week in class
11
Recap: Access networks
cable, DSL, dial-up, or satellite access networks.
Local ISP “A” Local ISP “B” Local ISP “C” Home network Enterprise network Mobile network
12
Access networks: What do they look like?
13
Access networks: Cable/DSL access technology
Reasons: historical. Impact: Misleading advertising of cable download speeds.
Recap: The network core
Local ISP Local ISP Local ISP Home network Enterprise network Mobile network Regional ISP Regional ISP Global ISP Global ISP
15
The network core: What should it look like?
16
The network core: What should it look like? + Cheap. O(n) links
+ High resilience (limit: n-1) + Capacity (1)
+ Cheap. O(n) links
Factors to consider
17
The network core: Finding a compromise with switches
We use these terms interchangeably in the network core. Why? Modern Internet backbone switches come with network-layer functionality. S S S Fully connected switches.
Adding another layer above routers.
m (#switches) << n (#networks/routers)
18
Switching: How do we share a common link? S S S
Method 1: Make a reservation
need ahead of time.
Method 2: Just hope for the best
Think about the end-to-end principle
Src1 Src2 Dst2 Dst1
19
Switching: How do we share a common link?
Method 1: Make a reservation
need ahead of time.
Method 2: Just hope for the best
different times.
15 Mbps 15 Mbps 15 Mbps 15 Mbps
20
Switching: How do we share a common link?
Method 1: Make a reservation
sources (12.5Mbps capacity/15Mbps source). Results in lag (reliable transport) or high packet loss (unreliable transport).
different times.
15 Mbps 15 Mbps 15 Mbps 15 Mbps
21
Switching: How do we share a common link?
Method 2: Hope for the best
different times.
15 Mbps 15 Mbps 15 Mbps 15 Mbps
22
Switching: How do we share a common link?
15 Mbps 15 Mbps 15 Mbps 15 Mbps 15 Mbps 15 Mbps 15 Mbps 15 Mbps
Switching: How is reservation-based sharing implemented?
Switching: How is reservation-based sharing implemented?
Switching: How is reservation-based sharing implemented?
Circuit switching: What does a “reservation” look like?
S1 S2 S3 S1 S2 S3 S1 S2 S3 Where have you seen frequency division multiplexing before? Wi-Fi routers. 2.4GHz vs 5GHz. Trade-offs: The higher the frequency, the lower the range. The higher the frequency, the higher the bandwidth (more data/source or more sources). But if you have only a few devices, do you really need to spend more $$$ for a 5GHz router?
Performance and efficiency of circuit switching S S
Performance and efficiency of circuit switching S S
Performance and efficiency of circuit switching S S
Performance and efficiency of circuit switching: Why bursty traffic is bad S S
Performance and efficiency of circuit switching: The minimum cost (~2 RTTs) is high S S
Performance and efficiency of circuit switching: The cost of failure is high S1 S2 S3
Summary: Circuit switching
Switching: How is on-demand link sharing implemented?
15 Mbps 15 Mbps 15 Mbps 15 Mbps
Switching: How is on-demand link sharing implemented?
destination address on it.
15 Mbps 15 Mbps 15 Mbps 15 Mbps
Packet switching: The cost of failure
S S S Src1 Src2 Dst2 Dst1
Packet switching: The cost of failure
Packets just get routed around the failed link or switch.
S S S Src1 Src2 Dst2 Dst1
Summary: Packet switching
Small buffers can result in lost packets.
Circuit switching vs. Packet switching
Packet-switched networks: How we assess performance
and throughput (how fast is the destination getting data).
41
Announcements
seats are up for election!
42
Assignment 1
Assignment 1 Groups Group ID Group Hawk IDs 1 ['kdzhou', 'okueter', 'lburden', 'tnlowry', 'xxing2'] 2 ['mcagley', 'yzheng19', 'tsimonson', 'mfmrphy'] 3 ['dstutz', 'msmith3', 'sklemm', 'ymann'] 4 ['jmagri', 'zzhang103', 'uupadhyay', 'atran4'] 5 ['jglowacki', 'ppeterschmidt', 'kzhang24', 'tgoodmn'] 6 ['zhenbsong', 'bzhang22', 'ywang391', 'cweiske'] 7 ['xiaosong', 'bchoskins', 'jpflint', 'hpen'] 8 ['apatrck', 'xchen117', 'rdong6', 'weigui'] 9 ['jdhatch', 'susmerano', 'jpthiede', 'yitzhou'] 10 ['zluo1', 'godkin', 'nsonalkar', 'nicgoh'] 11 ['jstoltz', 'lye1', 'shangwchen', 'ywang455'] 12 ['hrunning', 'apizzimenti', 'yonghfan', 'jblue'] 13 ['gongyzhou', 'trjns', 'awestemeier', 'gmich']