66
Ultimately All Clouds Are Made of Metal [email protected] 4/23/2014 HV Quackenboss 2014 All Rights Reserved [email protected] 1

All clouds-are-made-of-metal-banv-april-2432014-for-distribution

  • View
    150

  • Download
    0

Embed Size (px)

DESCRIPTION

Bay Area Network Virtualization In this Tech Talk, Harry will address two questions: What are the differences between LANs and the WANs that impact network virtualization? Why should Virtual Networkers care about the hardware? When Apr 23rd 2014 RSVP @ http://www.meetup.com/openvswitch/

Citation preview

Page 1: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Ultimately All Clouds Are

Made of [email protected]

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 1

Page 2: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Why the Title?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 2

Page 3: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Dave Roberts Tweet

“But all clouds are

ultimately made of

metal.”

Dave Roberts

Senior Vice President, ServiceMesh

Tweet, August 2, 2012

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 3

Page 4: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Most Everybody Thinks SDN

Is the Solution

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 4

SDN

Mobile NetworkDatacenter

Page 5: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Opinion (I)

The more you understand the metal,

the more you will understand SDN, NFV

and Network Virtualization

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 5

Page 6: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Opinion (2)

WAN SDN ≠ LAN SDN

WAN Virtualization ≠ LAN Virtualization

Differences come from:

Physics

Economics4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 6

Page 7: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Opinion (3)

Mobile WAN ≠ Wired WAN

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 7

Page 8: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Physics & Econ Differences

WAN LAN

LATENCY ∞ 0

BANDWIDTH 0 ∞

COST ∞ 04/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 8

Page 9: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Do the same SDN

solutions apply?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 9

Campus Wi-Fi

Datacenter

LAN

Mobile

Networks

Broadband and

Long haul Networks

Page 10: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

WAN Providers’ Challenge“A common refrain among the network executives we’ve talked to is that, if IT services can be provided in secondswith cloud computing technologies, it should not take days or weeks to deliver the network services that support them.”

Practical Implementation of SDN & NFV in the WAN

Heavy Reading

October 2013

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 10

Page 11: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

London Mobile Infrastructure

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 11

600 Base Stations

Page 12: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

See the Cell Tower?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 12

Page 13: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Mobile Operators’ Finance Problem

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 13

Page 14: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

3G Mobile Network Metal

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 14

Big device population

Complex

Heterogeneous

10 year depreciation

Page 15: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

3G May Be the Future of IoT

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 15

Page 16: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Mobile SDN/NFV Perspective

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 16

Been “SDN” since before SDN

Salivating over IoT

NFV Mandatory Requirements

Existing OSS/BSS integration

Existing equipment interoperability

• Including legacy 3G

Page 17: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

“Wired” WAN

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 17

Page 18: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Sprint Long Haul Network

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 18

Page 19: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Latency and Light Speed300,000 km/sec (in vacuum)

~200,000 km/sec (in fiber)

Slower because of refraction

Ask your neighborhood physicist

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 19

http://en.wikipedia.org/wiki/Optical_fiber

Page 20: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Cross-Country Latency

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 20

Source: Comcast

(4,100/200,000) =~.020 seconds

Packets go through routers, which buffer

adding delay

Page 21: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

WAN Latency Is Speed-Independent

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 21

Source: Comcast.com 40G/sec network

BANDWIDTH LATENCY

40Gbps 20 milliseconds

400Gbps 20 milliseconds

1Mbps 20 milliseconds

Page 22: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Ping (Half Moon Bay to Palo Alto)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 22

Page 23: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Half Moon Bay to New York

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 23

Page 24: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Half Moon Bay to Beijing

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 24

Page 25: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Half Moon Bay to New Delhi

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 25

Page 26: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Latency Vs. BandwidthThought experiment:

Transfer 1 Petabyte of data on 1TB SATA drives from SFO to New Delhi• Note: SATA III throughput: 6 Gbits/sec

• SATA drive: ~100 Mbytes/sec (~1.1Gbps)

Alternatives

A. Lease dedicated 40G circuit

B. Airplane 1000 drives (~2000 lbs)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 26

Page 27: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Latency Vs. BandwidthA: 40G pipe

1-way latency: ~100ms (best case)

• (first bit in to first bit out)

~70 hours

• Hypothetical ideal throughput

Option B: Airplane

~18 hours (assuming non-stop)

1-way latency: ~18 hours

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 27

Page 28: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

WAN Cable CostsResidential broadband installation

CAPEX: ~$1,000/home passed

OPEX: ~$5/month/homehttp://fastnetnews.com/fiber-news/175-d/4835-fiber-economics-quick-and-dirtynth

Long distance fiber installation

$30K/mile for conduit in open

trench during road construction

(< 1% of cost of road)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 28

Page 29: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Transportation Industry LessonsUtilization is key to low cost

Synchronize

Schedule in advance

Take time to pack (doesn’t hurt overall time much)

Load big stuff first

Make sure there is a full buffer at on ramp

Make sure there isn’t a bottleneck unloading

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 29

Page 30: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Datacenter LANs

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 30

Samsung Backup

Datacenter Fire

April 20,2014

Page 31: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Mice + Elephants

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 31

Source: Facebook OIC 2013 presentation

Page 32: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

East-West Traffic Example

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 32

Source: Facebook OIC 2013 presentation

Page 33: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Typical Cloud Data Center20 to 30 1U(1.75”) servers/rack

2x1U Top of Rack switches

Switches are 5% to 15% of rack

space, CAPEX and electricity

BUT: about 3 switch ports per server

(15% to 45% of server CAPEX)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 33

Page 34: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Datacenter Topology

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 34

(HVQ Note: For each TOR Switch server port, there will be ~1 to 2

aggregation ports)

Source: Nathan Farrington Facebook OIC13 Presentation

Page 35: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

TOR (Top of Rack) Switch48x10GE + 4x40GE

Vol. price (est.)

~$2500-$4000

Per port $50+

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 35

Source: Opencomute.org Intel draft

spec

Example OCP

Bare Metal Switch

Page 36: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Cabling Cost > TOR CostCopper Twinax: ~$75/link

Intra-rack (server to TOR)

Fiber optics: ~$150 - $400

(2Xoptics + cable)

Rack to spine switch

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 36

Page 37: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Aggregation CablingMTP/MPO multifibre cables

12,24…up to72 fibers

Intel/Corning Silicon Photonics (future)

Up to 64 fibers - 25Gbps each

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 37

http://www.intel.com/content/www/us/en/research/intel-labs-silicon-photonics-mxc-connector.html

Page 38: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Data Center Metal Economics

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 38

Page 39: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Datacenter Metal Key PointsServer networking switches CAPEX is

20% to 30% of server cost

TOR switch hardware is pretty much same for everybody

Weakening perception that brand name SW is better is reducing margins

In-rack connectivity with copper cables is cheap, but still as much or more than the switch $/port

Limited opportunities to reduce hardware CAPEX

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 39

Page 40: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Bandwidth Vs CPU1 instruction needs 1 byte of

memory and generates 1 bit/sec of bandwidth

(1994) SPARC10: 60Mhz+100Mbps

(2000) 1Ghz CPU+1GbE

(2014) (3Ghz*15 cores) * 2 sockets

90Gbps (!)

Do datacenters have

enough NIC bandwidth?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 40

Page 41: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Performance in Datacenter LANs

Latency and Bandwidth

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 41

Page 42: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Server Latency (One Way)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 42

TCP/IP

Stack

GBE NIC

Server With GbE

~15µsTCP/IP

Stack

10GE NIC

Server With GbE

~5µs

Note: numbers may vary based

on specific benchmarks

Page 43: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Switch Latency Is Less Than

Host Stack Latency

First bit in to first bit out

Measurement favors “cut-through” (versus “store and forward” switches

Typical 10GE (per-chip) .3µs to 1.5µs

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 43

IP

PHY

Data Link Data Link

PHY

Page 44: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Switch Latency With Buffering

Switch buffers if output port busy

Dramatic increase in latency

60µs observed in benchmark tests

Dropped packets/retransmits: ∞ latency

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 44

IP

PHY

Data Link Data Link

PHY

BUFFER

Page 45: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 45

Source: HP Mellanox Low Latency Benchmark Report 2012

Round-trip user space to

user space

Page 46: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Who Cares About LAN Latency?Not if traversing the WAN

But high latency and dropped hurt

server throughput

Applications spin or get swapped

out

HFT cares!

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 46

Page 47: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

HFT: Milliseconds = $$$ While You Were Blinking

High-frequency-trading activity is not constant; it occurs in microbursts. The line at the bottom of this graphic is the stock-market activity involving General Electric shares over 100 milliseconds (one-tenth of a second) at 12:44 p.m. on Dec. 19, 2013. The gray box magnifies a five-millisecond window, during which GE experienced heavy bid and offer activity and a total of 44 trades.

Graphic: CLEVERºFRANKE.

Data source: IEX.

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 47

44 trades in 5 milliseconds

http://www.nytimes.com/2014/04/06/magazine/flash-boys-michael-lewis.html?_r=0

Page 48: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Leveling the HFT Playing FieldTo allow customers to

pick and choose

different pricing tiers

based on different

latencies, HFT systems

add latency using fiber

38 miles of fiber cable =

~260 microseconds

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 48

http://www.nytimes.com/2014/04/06/magazine/flash-boys-michael-lewis.html?_r=0

Page 49: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Latency Key PointsFrom viewpoint of end-end across WAN, LAN

latency is near 0

10GE Host NIC and IP Stacks have improved dramatically

1GE is > 10X higher than 10GE

Few 1GE switches support cut through

Higher chance of busy ports

Switch latency in cut through is great

If switches have to buffer because of busy output port, latency goes way up

Latency spikes are short duration so hard to see, let alone measure

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 49

Page 50: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

OpenFlow For Datacenter LANs

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 50

Note: The control plane

network switches are

not shown in this

diagram

Page 51: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

OpenFlow Reaction Time in LAN

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 51

OpenFlow

Application

Transport Layer

Internetwork Layer

NIC

OpenFlow

Agent

Transport Layer

Internetwork Layer

NIC

1000µs

30µs

20-100µs

30µs

1000µs

OpenFlow Controller

App + IP Stack

OpenFlow Switch

Agent + IP Stack

Page 52: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

OpenFlow MicroControllers?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 52

http://www.theregister.co.uk/2012/12/11/pica8_sdn_bundles/

OpenFlow

MicroControllerOpenFlow

MicroController

Master

OpenFlow

Controller

Page 53: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Lessons From Transportation

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 53

Page 54: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Multi-pathingHOV lanes

Priority based on

policy

Inefficient utilization

What if nobody

changed lanes?

(802.11ag and ECMP

are static)

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 54

Page 55: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Dynamic Load Balancing Can Increase

Throughput

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 55

Page 56: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 56

“It's tough to make predictions, especially about the future.”

― Yogi Berra

Page 57: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

http://www.pcper.com/news/General-Tech/Atom-aint-dead-yet-New-ultra-low-power-Avoton-chips-servers

Lower Performance =

Higher Efficiency

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 57

Page 58: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

New Rack DesignsSince the 1U server was invented by

Cobalt Networks (acquired by Sun)

the processors are > 100X faster

Network switching has

(mostly)lagged Moore’s Law

Will ratio of servers to network

switches decreases over time?

Time for new form factors?

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 58

Page 59: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

TOR Switch Obselescence

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 59

Source: Intel IDF 14 Shenzhen presentation

Page 60: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Data Center Server Future

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 60

Source: Intel IDF 14 Shenzhen presentation

Page 61: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

TOR Switch Evolves to Tray Switch

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 61

Source: Intel IDF 14 Shenzhen presentation

Page 62: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Conclusions

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 62

Page 63: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

WAN Issues and OpportunitiesMobile: physical infrastructure

complexity has led to management

complexity

NFV promise is to reducing

physical devices, simplify mgt.

Long haul: utilization of capacity is

still opportunity, SDN offers ways to

simplify mgt. and improve utilization

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 63

Page 64: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Datacenter LANsLow cost of switching has limited

opportunities for independent SDN controller sales

Distributed SDN MicroController hierarchy should broaden appeal

Controller needs to be bundled with switch or switch software

Effective dynamic load balancing will improve throughput and latency

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 64

Page 65: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Important DifferencesWAN LAN

COST ∞ 0

BANDWIDTH 0 ∞LATENCY ∞ 0

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 65

Page 66: All clouds-are-made-of-metal-banv-april-2432014-for-distribution

Ultimately All Clouds Are

Made of [email protected]

4/23/2014HV Quackenboss 2014 All Rights Reserved [email protected] 66