Docsity

Datacenter Networking-Computer Networks-Lecture 09 Slides-Computer Science, Slides of Computer Networks

Partial preview of the text

Download Datacenter Networking-Computer Networks-Lecture 09 Slides-Computer Science and more Slides Computer Networks in PDF only on Docsity!

DATACENTER

NETWORKING

Portland: A scalable fault-tolerant layer 2 data center network

fabric: SIGCOMM 2009

  1. VL2: A scalable and flexible data center network SIGCOMM 20093. Networking the cloud, Albert Greenberg, ICDCS 2009 Keynote talk4. The cost of cloud: research problems in data center networking,Albert Greenberg, ACM CCR Review, January 2009

ũ

Data Center Costs 

Total cost varies

Amortized

Cost*

Component

Sub-Components

Servers

CPU, memory, disk

Power

infrastructure

UPS, cooling, power distribution

Power draw

Electrical utility costs

Network

Switches, links, transit



Total cost varies 

Upwards of $1 to $4 B for mega data center

Server costs dominate

Network costs significant

Network

Switches, links, transit

*3 yr amortization for servers, 15 yr for infrastructure

;

5% cost of money

The Cost of a Cloud: Research Problems in Data Center Networks. Sigcomm CCR 2009. Greenberg,et.al.

Data center vs Enterprise 

Enterprise: Scale not present 

Limited Shared resources



Isolation

Data center: Scale out Data center: Scale out 

100000 servers



Upfront cost is high, leverage shared resources

Scale up vs scale out

Enterprise: a few high priced servers– scale up

Datacenter: scale out, distributed workload, spreadout a number of commodity servers

Data center vs Enterprise 

Enterprise: CAPEX 

Capital expenditure borne by the enterprise

License and maintenance

Utilization not important

Utilization not important



Data center: OPEX 

Pay per use for customers

Upfront cost is high, amortized over time and use

Utilization is very important

PortLand: A Scalable Fault-

Tolerant Layer 2 Data

Center Networks Fabric

Radhika Niranjan Mysore, et.al,

Department of Computer Science and Engineering

University of California San Diego

SIGCOMM 2009

Radhika Niranjan Mysore, et.al,

Motivation 

Requirements for Data Center Networks (DCN): 

R1:
Any VM may migrate to any physical machine without change
their IP addresses



R2:
An administrator should not need to configure any switch before
deployment



R3:
Any end host should efficiently communicate with any other end
hosts through any available paths
hosts through any available paths



R4:
No forwarding loops



R5:
Failure detection should be rapid and efficient



Implication on network protocols: 

A single layer2 fabric for entire data center (R1&R2)



Mac forwarding tables with hundreds of thousands entries (R3)



Efficient routing protocols which disseminate topology changesquickly to all points (R5)

SEATTLE vs Portland 

SEATTLE:

1-hop DHT; directory stores

IP,MAC,location(Switch_ID) mappings



Portland: Consider 1 fixed tree structure Use MAC address that encodes location!



Use MAC address that encodes location!

Datacenter considerations



Layer 2 approach: 

Forwarding on flat MAC addresses



Less administrative overhead



Bad scalability



Combine of layer 2 and layer 3: 

VLAN



Resource partition problem



Resource partition problem



End host visualization: 

Needs to support large addresses and VM migrations



In layer 3 fabric, migrating the VM to a different switch changes VM’sIP address



In layer 2 fabric, migrating VM incurs scaling ARP and performingrouting/forwarding on millions of flat MAC addresses.

Positional addressing

POD Number

Positional addressing

Position Number

0

1

1

0

0

0

1

1

Positional addressing

PMAC:pod.position:port:vmid

0

1

1

0

0

0

1

1

2

3

2

3

3

2

3

2

3

2

3

2

3

2

3

2

3

48 bits PMAC address

|

Positional Pseudo MACAddresses 

Pseudo MAC (PMAC)addresses encodes thelocation of the host 

48-bit: pod.position.port.vmid



Pod (16 bit): pod number of the edge switch edge switch



Position (8 bit): position in thepod



Port (8 bit): the port number itconnects to



Vmid (16 bit): VM id of the host



Edge switches assign vmids toMAC addresses seen on itsports

Fabric Manager 

Characteristics: 

Logically centralized user process running on a dedicatedmachine



Maintains soft state about network configuration information



Responsible for assisting with ARP resolution, fault tolerance and multi cast and multi cast

Why centralized? 

Eliminate the need for administrator configuration

Distributed Location Discovery 

Switches periodically send Location Discovery Message (LDM) out all of theirports to set their positions and to monitor liveness



LDM contains: switch identifier, pod number, position, tree level, up/down



Find position number for edge switch: 

Edge switch randomly proposes a value in [0, k/

1] to all aggregation switch in the

same pod



Edge switch randomly proposes a value in [0, k/

1] to all aggregation switch in the

same pod



The unused and not tentatively reserved ones are verified



Find tree level and up/down state: 

Port states: disconnected, connected to end host, connected to another switch



A switch with at least half of ports connects to end hosts is an edge switch, portsconnect to other switches are upward.



A switch get LDM from edge switch is aggregation switch, ports connect to edge switchare downward, ports connect to core switches are upward.



A switch with all ports connect to aggregation switch is core switch, all ports aredownward.