hyperoptics: a high throughput and low latency multicast ... · pdf filelow latency multicast...

17
HyperOptics: A High Throughput and Low Latency Multicast Architecture for Data Centers Dingming Wu, Xiaoye Sun, Yiting Xia, Xin Huang, T. S. Eugene Ng Department of Computer Science Rice University

Upload: trinhminh

Post on 23-Mar-2018

237 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

HyperOptics: A High Throughput and Low Latency Multicast Architecture

for Data Centers

Dingming Wu, Xiaoye Sun, Yiting Xia, Xin Huang, T. S. Eugene Ng

Department of Computer ScienceRice University

Page 2: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Multicast Applications

2

1

3

4

Output File

4

1

3

4

2

1

2

1

33

2

4

Node A Node B Node C Node D

Data Replication in Distributed File Systems

Page 3: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Multicast Applications Distributed Machine Learning

Workers

parameter server

Model DataTraining Data

local gradientglobal gradient

Page 4: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Background

Electrical Network

Optical Network

Principle Packet Switching Circuit Switching

Bandwidth Upgrade Hard Easy

Energy Efficiency Low High

SwitchingLatency Low High

Comparisons of Optical and Electrical Network

Optical Circuit Switch

Optical Splitter

Page 5: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

e.g. Blast by Xia et al. (INFOCOM’15), Work by Wang et al. (CCR’13)

✓ Flexible topology configuration✓ Data rate transparency✓ Low energy consumption and heat dissipation (<50W)✖ Poor scalability (limited port-count)✖ Slow switching speed (tens of ms)

Existing Optical Networks

Optical Circuit Switch

ToR0 ToR1 ToR2 ToR3 ToR4 ToR5 ToR6 ToR7

ToR 0 -> ToR {1, 2, 3}ToR 7 -> ToR {4, 5}

Page 6: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Our Solution

Goal: Retain the advantages of optical networks, avoid the port-count limitation and slow switching speed of OCS

Basic idea: 1. Eliminate the use of OCS2. Interconnect ToRs statically by optical splitters3. Non-directly connected ToRs use relays to talk

to each other.

Page 7: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Building blocks

Optical Splitter

1 input portk output ports

1 x k optical splitter, fanout is k

Page 8: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Network Architecture

Inspired by Chord (sigcomm’01) in overlay networks

ToR0 ToR1 ToR2 ToR3 ToR4 ToR5 ToR6 ToR7

• ToR i is connected to the input port of splitter i• The output ports of splitter i are connected to ToR

(i+2𝟎)%n, (i+2𝟏)%n, … (i +2$%𝟏)%n

Assume the number of ToRs n = 2$,k is the splitter fanout

Page 9: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Analysis

Maximum path length: log(n)-average: log(n)/2

Two simultaneous active one-to-all multicasts with full bandwidth

# of occupied ports per ToR-log(n)

Cost—comparable to the OCS architecture—cost trend needs discussion

Page 10: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Multicast Tree Building

Multicast Request: (s, D, f)R = EmptySetfor d in D

compute a shortest path p from s to dR = R Union p

ToR 0-> ToR {2,5,7}

0

2 4

5 6

7

Relay set R: {4, 6}

Page 11: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Multicast Scheduling

Input: a list of multicast requests

Output: the starting time of each multicast transmission

Goal: minimize the overall flow completion time

Constraints: two multicast trees that share some relaysmust be serviced sequentially

Page 12: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Multicast Scheduling

Vertices: multicast requestsEdges: conflictsWeights: Flow Durations

Goal: Minimize sum ofmax weight of each color

-A common heuristic to approach graph coloring Online Coloring

4

25

71

+ max( , ) + max( , ) = 13

Page 13: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

System Overview

ToRiRequests:(id,s,D,f)

ForwardingRules

StartMsgServers

FinishMsg

ID Start Finish1 t0 t12 t2 t3… … …

HyperOptics Manager

Page 14: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Simulations Setup

1. Synthetic traffic pattern• Every rack has one server acting as the multicast source• Receivers are a uniform random set of servers in other racks

Comparison Bases:1. OCS network: 320 ports, 25ms topology switching delay2. Conceptual OCS network: 320 ports, 0 topology switching delay

2. 40Gbps Link Bandwidth

3. Random flow size between 10MB and 1GB

Page 15: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Results

0

4.5

9

13.5

18

22.5

n = 16 n=32 n=64 n=128 n=256

Aver

age

FCT

(s)

Number of ToRs or multicast requests

OCS Conceptual OCS HyperOptics

Page 16: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Conclusion & Ongoing Work

1. Better Routing & Scheduling Algorithms

HyperOptics is an efficient networking architecture for multicast transmissions• Leverages properties of physical optical technologies• has novel connectivity structure among ToRs

2. Fault Tolerance Analysis

Page 17: HyperOptics: A High Throughput and Low Latency Multicast ... · PDF fileLow Latency Multicast Architecture for Data Centers Dingming Wu, ... Principle Packet Switching Circuit Switching

Thank [email protected]