Lecture 1
Lecture 1
829
Computer Networks
Lecture 1:
Introduction & Course Overview
Mohammad Alizadeh
Fall 2018
!1
The Internet: An Exciting Time
One of the most influential inventions
– A research experiment that escaped from the lab
– … to be the global communications infrastructure
Constant innovation
– Apps: Web, P2P, social networks, virtual worlds …
– Links: Optics, WiFi, cellular, ...
!4
A Plethora of Protocol Acronyms?
SNMP WAP
SIP IPX
PPP MAC
LLDP FTP
UDP
ICMP HIP
OSPF RTP IMAP IGMP
BGP IP
PIM ECN
RED ARP
RIP HTTP TCP
MPLS RTCP
SMTP
RTSP BFD CIDR
NNTP TLS NAT
SACK STUN
DNS SSH
DHCP
VLAN VTP
POP LISP TFTP LDP !5
A Heap of Header Formats?
!6
TCP/IP Header Formats in Lego
!7
A Big Bunch of Boxes?
Label Load
Router Switch
Switched balancer
Router Scrubber
Repeater
Gateway
Intrusion Bridge Route
Deep Detection Reflector
Packet System
Inspection DHCP
server Packet
Firewall
NAT Hub shaper
Packet
DNS sniffer
WAN Base Proxy
accelerator server station !8
An Application Domain?
!9
A place to apply theory?
• Algorithms and data structures
• Graph theory
• Control theory
• Queuing theory
• Optimization theory
• Game theory and mechanism design
• Machine learning & AI
• Cryptography
• Programming languages
• Formal methods
!10
A place to build systems?
• Distributed systems
• Operating systems
• Computer architecture
• Software engineering
…
!11
What Peers in Other Fields Say
“What are the top ten classic problems in networking? I would like to
solve one of them and submit a paper to SIGCOMM.”
After hearing that we don't have such a list: "Then how do you consider
networking a discipline?”
“So, these networking research people today aren't doing theory, and
yet they aren't the people who brought us the Internet. What exactly are
they doing?”
!12
Before you all leave …
!13
So, Why is Networking Cool?
Relevant
– Can impact the real world
– Can measure/build things
Interdisciplinary
– Well-motivated problems + rigorous solution techniques
– Interplay with policy and economics
Widely-read papers
– Many of the most cited papers in CS are in networking
– Congestion control, distributed hash tables, resource
reservation, self-similar traffic, multimedia protocols
!14
So, Why is Networking Cool?
Young, relatively immature field
– Tremendous intellectual progress is still needed
– You can help decide what networking really is
!16
Goals
!17
Course Structure
Lectures & Readings
Final Project
!18
Lecture & Readings
Lecture
– Each class we will discuss 1-2 papers
– You must read the papers before class
– Most of lecture will be spent discussing/debating the papers
– Come prepared to discuss the main ideas!
TA
– Akshay Narayan (akshayn@mit.edu)
Class webpage
– http://web.mit.edu/6.829/www/currentsemester/
Piazza
– Sign up here: https://piazza.com/mit/fall2018/6829/home
– Quickest response; someone else probably has same question
– If private, please post a private Piazza post
!21
Rest of Today
A sampler of class topics:
!22
Internet Architecture
& Protocols
!23
Internet Architecture
Architectural questions tend to dominate networking
research
!24
Example: Reliable communication in the
Internet
Network
– Best-effort delivery between two end-point addresses
– Packets may be lost, corrupted, or come out-of-order
Host
– Everything else
– Retransmit lost/corrupt packets, put packets back in order,
…
host host
network
!25
Why Best-Effort?
Never having to say you’re sorry…
– Don’t reserve bandwidth and memory
– Don’t do error detection & correction
– Don’t remember from one packet to next
End-to-end argument
– Reliability can only be guaranteed completely end-to-end
Window
Loss
halved
t !28
Some questions we’ll study…
What’s the “right” congestion signal?
!29
Inter-Domain Routing
How do routers find an end-to-end path?
AS 2 Backbone ISPs AS 3
AS 1
AS 5
AS Measurement
4
Border Gateway Protocol (BGP)
- How do ASes exchange
Regional ISPs information - How do we measure
- Policy-based routing congestion?
(e.g., path preferences based on - Where does it occur?
business relationships) !30
“Underlay” Networks
!31
Most of the innovation is at the
Internet “Edge”
AS 2 AS 3
AS 1
Data Centers
AS 5 AS 4
Key Challenges
- Limited wireless spectrum
- Interference
- Highly variable throughput
!33
Data Centers
Microsoft
Microsoft
Google Facebook
!34
These things are really big
10-100K servers
100 billion
100s searches
of Petabytes per month
of storage
100s of Terabits/s of Bw
(more than core of Internet)
1.15 billion users
10-100MW of power
(1-2 % of global energy
consumption)
120+ million users
100s of millions of dollars
◇ Slide by George Porter (UCSD) !35
!36
Networking Inside Datacenters
1.
TLA
1 user request
Picasso Art is…
Deadline
2. Art is= a250ms
lie…
➔ 100s of Intra DC messages
…..
3.
Picasso
…..
…..
• 99.9th percentile
3. 3.
“Everything
“It is
“Computers
“I'd your
“Art like
“Bad work
is to you
aenemy
lie
live in
artistscan
are
that
aslife imagine
useless.
that man
acopy.
makes
poor isis
is the
us
“The “Inspiration
Deadline = 10mschief does
of creativity
exist,
real.”
but They
itultimate
with
Good
must can
realize
lots
good only
seduction.“
artists
of
the
find give
money.“
steal.”
truth.
sense.“
you you
working.”
answers.”
Worker Nodes !37
Datacenter Networking Challenges
!38
Network Programmability
!39
Software Defined Network (SDN)
Control Plane
Software
Control
Packet
Forwarding Control
Hardware Packet
Forwarding
Control
Packet
Control Forwarding
Packet
Forwarding Control
Packet
Forwarding !40
Software Defined Network (SDN)
Control
Program
Control
Program
Replace distributed protocols
Control Control with
Program Program
“logically centralized” software
programs
Packet
Forwarding Packet
Forwarding
Packet
Packet Forwarding
Forwarding
Packet
Forwarding !41
Programmable Data Plane
!42
Software vs. Hardware routers
10000 3200
640
1000
240
80 100
100 32 35 40
Gbit/s
10 4
1
0.2
0.1 Software router
0.1 Hardware router
0
1999 2000 2002 2004 2007 2009 2010 2014
Year
10—100X gap between hardware and software
routers !43
Programmable router hardware
Same performance as fixed-function chips,
Some programmability
In Out
!44
“Overlay” Networks
!45
Video is the BIG thing on the Internet
!46
Dynamic Streaming over HTTP
Request:
next video chunk at bitrate
Outputr Input
1 sec/sec bitrate
Response:
video content 1 sec
video Video Server
Video
content
Client
!47
Animation from Te-Yuan Huang (SIGCOMM ‘14) http://conferences.sigcomm.org/sigcomm/2014/doc/slides/38.pdf
Our first two papers…
!48
!49