Fat-Tree Networks and Data Center Networking

14 848 cloud infrastructure n.w
1 / 26
Embed
Share

Explore the concept of Fat-Tree networks in cloud infrastructure data center networking, focusing on achieving higher throughput and energy efficiency using different switch configurations. Understand the details of Fat-Tree architecture, including the use of multiple paths for fault tolerance and load balancing. Discover the goals of Fat-Trees with skinny switches and the challenges of network scalability in modern data centers.

  • Data Center Networking
  • Fat-Tree Networks
  • Cloud Infrastructure
  • Network Scalability

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. 14-848: CLOUD INFRASTRUCTURE DATA CENTER NETWORKING LECTURE 5 * FALL 2019 (KESDEN)

  2. REMEMBER SOCRATIVE https://api.socrative.com/rc/Nfu6Lp

  3. FAT-TREE NETWORKS More throughput at higher levels, more even across levels Not easy to do since buying more powerful switches is harder To extent possible, more cost per unit capacity Not possible beyond a modest point This is somewhat necessarily the case as, if bigger switches were more readily available and economical, they d be used at the bottom, and we d be back where we started.

  4. FAT-TREES WITH SKINNY SWITCHES: GOALS Use all commodity switches Full throughput from host-to-host Compatible with usual TCP/IP stack Better energy efficiency per unit throughput from more smaller switches than fewer bigger switches

  5. FAT TREE (K=4) Note the replacement of aggregation layer switches with 2 layers of K/2 K-port switches (K/2)2 core routers (K/2)2 servers per pod K-port switches support K3/4 servers

  6. FAT TREE DETAILS K-ary fat free: three layers (core, aggregation, edge) Each pod consists of (K/2)2 servers and 2 layers of K/2 K-port switches. Each edge switch connects (K/2) servers to (K/2) aggregator switches Each aggregator switch connects (K/2) edge and (K/2) core switches (K/2)2 core switches, each ultimately connecting to K pods Providing K different roots, not 1. Trick is to pick different ones K-port switches support K3/4 servers/host: (K/2 hosts/switch * K/2 switches per pod * K pods)

  7. USING MULTIPLE PATHS Must pick different paths ( path diversity ) or will have a hotspot Unless sessions use the same path, reordering will be a problem and need to be resolved with buffering higher up Static paths may not respond to actual, dynamic workloads Can be done at different levels. Higher levels, e.g. transport, are more flexible, but likely more effort and slower Lower levels are likely less adaptive, but simpler and faster. Ability to weight or remove paths can aid fault tolerance

  8. PORTLAND SOLUTION Use commodity switches and off-load services into software on commodity server Start With Fat Tree for a topology without hot spots Use layer-2 to avoid routing, forwarding, and related complexity Separate host identifier from host location IP addresses identify host, but not location, just and ID Use Pseudo MAC Address to identify location at Level-2

  9. PORTLAND ADDRESSES Normally MAC addresses are arbitrary no clue about location IP normally is hierarchical, but here we are using it only as a host identifier If MAC addresses are not tied to location, switch tables grow linearly with growth of network, i.e. O(n) PortLand uses hierarchical MAC addresses, called Pseudo MAC or PMAC addresses to provide for switch location <pod:position:port:vmid> <16,8,8,16> bits

  10. PORTLAND PMAC ADDRESSES 1 0 3 2 Position 0 0 1 1 0 1 PMAC: <pod.position.port.vmid> 48 bits: <16-bits.8-bits.8-bits.16-bits>

  11. 0 1 PORTLAND PMAC ADDRESSES 3 2 <pod:position:port:vmid> <16,8,8,16> bits

  12. NAME RESOLUTION: MACPMACIP End hosts continue to use Actual MAC (AMAC) addresses Switches convert PMAC<->AMAC for the host Edge switch responsible for creating PMAC:AMAC mapping and telling Fabric Manager Software on commodity server, can be replicated, etc. Simplicity is a virtue. Mappings timed out of Fabric Manager s cache, if not used. ARPs are for PMACs First ask fabric manager which keeps cache. Then, if needed, broadcast.

  13. VM MIGRATION Flat address space. IP address unchanged after migration, higher level doesn t see state change After migration IP<->PMAC changes, as PMAC is location dependent VM sends gratuitous ARP with new mapping. Fabric Manager receives ARP and sends invalidation to old switch Old switch sets flow table to software, causing ARP to be sent to any stray packets Forwarding the packet is optional, as retransmit (if reliable) will fix delivery

  14. LOCATION DISCOVERY: CONFIGURING SWITCH IDS Humans = Not right Answer Discovery = Right Answer Send messages to neighbors Get Tree Level Hosts don t reply, so edge only hears back from above Aggregate hears back from both levels Core hears back only from aggregate Contact Fabric Managerwith tree level to get ID Fabric Manager is service running on commodity host Assigns ID Soft state

  15. NO LOOPS, NO SPANNING TREES Forwarding can only go up the tree. Cycles not possible.

  16. FAILURE Keep-alives like the link discovery messages Miss a keep alive? Tattle to the Fabric Manager Fabric manager tells effected switches, which adjust own tables. O(N) vs O(N2) for traditional routing algorithms (Fabric Manager tells every switch vs every switch tells every switch)

  17. MISC NETWORK MANAGEMENT: VIRTUAL LANS (14-740 REVIEW)

  18. LOOKING BACK Connectivity Hosts can talk! No possibility of loops Efficiency Much less memory needed in switches, O(N) fault handlingh Self configuring Discovery protocol + ARP Robust Failure handling coordinated by FM VMs and Migration Each has own IP address, each has own MAC address Commodity hardware Nothing magic.

  19. REVIEW: LOCAL AREA NETWORKS (LANS) Originally described a network that was local in space, i.e. a small network These almost universally used one shared communication fabric As distinguished from Wide Area Network (WAN), which often described (and still described) networks over larger distances, often times connected by leased lines, e.g. service from a telco. For decades LAN has been used to describe a network that has one shared communications fabric Regardless of size

  20. REVIEW: HOW BIG CAN A LAN BE? Originally, the size of a LAN was very limited by utilization Broadcasting + limited network time means they top out at ~30% utilization Modern switches limit broadcasting and enable more stations. But, there is still a collision domain, so scaling still has limits There are other reasons for multiple LANs Administrative domains Security concerns Different technologies

  21. REVIEW: NETS AND SUBNETS: ALTERNATIVES TO LARGE LANS Benefits: Hierarchical addresses enable greater scale Technology specific link-layer and protocols hidden underneath enabling the joining of different technologies Different administrative domains can provide own services, firewall policies, etc Costs: Big one is IP address space fragmentation Administrative costs

  22. VLANS PROVIDE BIG BENEFITS Large flat network Limit traffic to VLAN Limits scope of broadcasts and thereby impact upon congestion Limits scope of transmissions, and thereby who can learn ID of hosts and about their traffic Can cross geographic boundaries, extending VLANs beyond traditional LAN limits

  23. VLANS: BIG PICTURE BENEFIT Build out one large switched network Configure it to act like any number of LANs But without any of the geographic limitations

  24. VLANS: PORT-BASED Static VLAN: VLAN=Group of Ports Port = switches wire connection Two VLANs configured on a 16-port switch How do the VLANs communicate with each other? Courtesy Bill Nace, 14-740

  25. VLANS: TRUNKED SWITCHES Trunked connection: port belongs to all VLANs all frames at that port are forwarded to all VLANs But, how does the receiving side know which VLAN a particular frame belongs to? Courtesy Bill Nace, 14-740

  26. 802.1Q TAGGED ETHERNET VLAN identifier added to Ethernet frame 4-byte VLAN tag Includes 12-bit VLAN identifier Sending switch adds tag, receiving switch parses and removes tag Courtesy Bill Nace, 14-740

Related


More Related Content