CS 91: Cloud Systems &
Datacenter Networks
Agenda
•
Overview of tradiBonal network topologies
•
IntroducBon to soEware-‐defined networks
Topology
•
Shape and structure of the network
“Star” or
“Hub and spoke” “Bus”
Topology
•
Shape and structure of the network
“Tree”
Most common in
datacenter. Why?
Growth
“Star” or
Growth
“TradiBonal” Datacenter
40 Servers 40 Servers 40 Servers 40 Servers Edge
“TradiBonal” Datacenter
40 Servers 40 Servers 40 Servers 40 Servers Edge
“TradiBonal” Datacenter
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
Recall: OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge AggregaBon Core
All hosts
connected to
same switch.
Full speed
between all of
them. (1:1)
(e.g., 1 Gbps)
OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
If these links are
also 1 Gbps, we
now have 1/40
thof
link capacity for
each host. (40:1)
What might we do to
help alleviate this?
OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
10 Gbps gives us
a raBo of 4:1.
Good enough?
Highlighted sub-‐secBon might be OK if:
•
ApplicaBon has good locality
OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
Might wants hosts to
have 10 Gbps too!
SBll problemaBc.
OversubscripBon
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
Redundancy (MulB-‐rooted Tree)
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
Redundancy (MulB-‐rooted Tree)
40 Servers 40 Servers 40 Servers 40 Servers Edge
AggregaBon Core
Pro: More capacity! Con: Decision must be made (complexity, reordering)
1
?
Equal-‐Cost MulB Path (ECMP)
•
If there’s a decision to be made, hash packet
•
All packets of flow (conversaBon) use same path
•
Hash collisions lead to poor uBlizaBon
Paper Preview
•
“A Scalable, Commodity Data Center Network
Architecture”
–
AlternaBve tree redundant tree topology design
•
“Hedera: Dynamic Flow Scheduling for Data
Center Networks”
–
Use live traffic informaBon to decide path choice
•
“AugmenBng Data Center Networks with
Network Hardware
Tradi&onal Hardware
SDN Hardware
You Can’t read this, it’s too small! Seriously, stop trying to read this, more important things are happening
elsewhere!
You Can’t read this, it’s too small! Seriously, stop trying to read this, more important things are happening
elsewhere! You Can’t read this, it’s
too small! Seriously, stop trying to read this, more important things are happening
elsewhere!
LeE Right
This sounds great, why mess with a good thing?
SoEware-‐Defined Networking (SDN)
Tradi&onal Hardware
SDN Hardware
Controller
You Can’t read this, it’s too small! Seriously, stop trying to read this, more important things are happening
elsewhere! You Can’t read this, it’s
too small! Seriously, stop trying to read this, more important things are happening
elsewhere!
LeE @ 100 Mbps Right @ 300 Mbps LeE @ 400 Mbps Right @ 200 Mbps
Centralized Network Control
•
Not so great on the Internet
–
Failures common
–
Long distances
–
Who would be in charge?
•
Powerful in controlled environment
Centralized Network Control
•
Treat device as a blank forwarding table.
Protocol Src Dst Src_Pt Dst_Pt Output
Centralized Network Control
•
Table built from TCAM memory.
Protocol Src Dst Src_Pt Dst_Pt Output
TCP 10.1.1.1 10.1.1.2 54321 80 1 * 10.1.3.3 10.1.3.4 * * 2
Centralized Network Control
•
Table built from TCAM memory.
Protocol Src Dst Src_Pt Dst_Pt Output
TCP 10.1.1.1 10.1.1.2 54321 80 1 * 10.1.3.3 10.1.3.4 * * 2
Paper (& Lab) Preview
•
“Ethane: Taking Control of the Enterprise”
•
“OpenFlow: Enabling InnovaBon in Campus
Networks”
•
“Extending Networking into the VirtualizaBon
Layer”
•
Lab: Using SDN (OpenFlow) to implement
Layering
•
Primary network abstracBon: stack of layers
•
Each layer has disBnct responsibiliBes
OSI Seven-‐Layer Model
ApplicaBon: the applicaBon (e.g., the Web, Email)
Transport: end-‐to-‐end connecBons, reliability Network: rouBng
Link (data-‐link): framing, error detecBon
Physical: 1’s and 0’s/bits across a medium (copper, the air, fiber) PresentaBon: formanng, encoding, encrypBon
OSI Seven-‐Layer Model
ApplicaBon: the applicaBon (e.g., the Web, Email)
Transport: TCP / UDP Network: IP
Link (data-‐link): Ethernet Physical: Wires
“Layer 7”
“Layer 3”
Header EncapsulaBon
ApplicaBon Data
Transport: TCP
Network: IP
(payload)Link: Ethernet
(payload)(payload)
Header EncapsulaBon
ApplicaBon Data
Transport: TCP
Network: IP
(payload)Link: Ethernet
(payload)(payload)
This whole chunk of bytes is what goes out on the wire.
Adds reliability informaBon.
Adds port numbers to
Header EncapsulaBon
ApplicaBon Data
Transport: TCP
Network: IP
(payload)Link: Ethernet
(payload)(payload)
This whole chunk of bytes is what goes out on the wire.