Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

Similar documents
L9: Intro Network Systems

6.033 Computer System Engineering

UDP, TCP, IP multicast

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

EEC-484/584 Computer Networks

A closer look at network structure:

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

ECE 650 Systems Programming & Engineering. Spring 2018

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

TCP/IP THE TCP/IP ARCHITECTURE

Lecture 2: Internet Structure

Network Architecture

Data & Computer Communication

An Introduction to Com puter Networks

CS4700/CS5700 Fundamentals of Computer Networks

NT1210 Introduction to Networking. Unit 10

Internetworking Models The OSI Reference Model

CSCI Computer Networks

CSE3213 Computer Network I

Overview of Networks

The Transmission Control Protocol (TCP)

Digital Communication Networks

UNIT IV -- TRANSPORT LAYER

Wireless TCP Performance Issues

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Module 16: Distributed System Structures

Introduction to Protocols

Internet Architecture & Performance. What s the Internet: nuts and bolts view

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

Computer Communication Networks

Switching and Forwarding Reading: Chapter 3 1/30/14 1

CSC 401 Data and Computer Communications Networks

Silberschatz and Galvin Chapter 15

Advanced Network Design

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Networking and Internetworking 1

Reti di Calcolatori I

Lecture 15 Networking Fundamentals. Today s Plan

Review of Topology and Access Techniques / Switching Concepts

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Basic Reliable Transport Protocols

CS457 Transport Protocols. CS 457 Fall 2014

Module 16: Distributed System Structures. Operating System Concepts 8 th Edition,

Module 15: Network Structures

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

Cisco Cisco Certified Network Associate (CCNA)

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2. Goals for Todayʼs Lecture. Role of Transport Layer

Transport Layer Protocols TCP

CMPE 344 Computer Networks Spring Foundations. Reading: Peterson and Davie,

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

and Networks Data Communications Second Edition Tata McGraw Hill Education Private Limited Managing Director SoftExcel Services Limited, Mumbai

416 Distributed Systems. Networks review; Day 1 of 2 Jan 5 + 8, 2018

Lecture 2: Layering & End-to-End

Internetworking Part 1

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2

Shared, Multi-Hop Networks and End-to-End Arguments

CS321: Computer Networks Introduction to Computer Networks and Internet

Announcements. IP Forwarding & Transport Protocols. Goals of Today s Lecture. Are 32-bit Addresses Enough? Summary of IP Addressing.

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

CSE 461 The Transport Layer

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Distributed System Chapter 16 Issues in ch 17, ch 18

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

PLEASE READ CAREFULLY BEFORE YOU START

Network Layer (1) Networked Systems 3 Lecture 8

Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

MAC Protocols and Packet Switching

Communication Networks - 3 general areas: data communications, networking, protocols

CMPE 80N: Introduction to Networking and the Internet

Outline: Connecting Many Computers

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

EEC-484/584 Computer Networks. Lecture 16. Wenbing Zhao

Computer Networks 1DV201

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

Outline. Computer Communication and Networks. The Network Core. Components of the Internet. The Network Core Packet Switching Circuit Switching

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

CMPE150 Midterm Solutions

end systems, access networks, links circuit switching, packet switching, network structure

EE 122: IP Forwarding and Transport Protocols

Module 15: Network Structures

CS3600 SYSTEMS AND NETWORKS

Part 1: Introduction. Goal: Review of how the Internet works Overview

ETSF10 Internet Protocols Transport Layer Protocols

Internetwork Basic. Possible causes of LAN traffic congestion are

Reliable Transport I: Concepts and TCP Protocol

Lecture 3: The Transport Layer: UDP and TCP

Networking and Internetworking 1

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Lecture 4: The Transport Layer and UDP

ET4254 Communications and Networking 1

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

QUESTION BANK EVEN SEMESTER

Introduction to Networks

Transcription:

Next Steps Have: digital point-to-point We ve worked on link signaling, reliability, sharing Want: many interconnected points 6.02 Spring 2011 Lecture #18 multi-hop networks: design criteria network topologies circuit vs. packet switching queues, Little s Law 6.02 Spring 2011 Lecture 18, Slide #1 Your Network Here! 6.02 Spring 2011 Lecture 18, Slide #2 Multi-hop Networks Switch Link End point Switches orchestrate flow of information through the network, often multiplexing many logically-independent flows over a single physical link. Appropriate sharing of network resources Circuit switching vs. packet switching Design criteria Reliability, scalability, performance, cost, security, 6.02 Spring 2011 Lecture 18, Slide #3 Network Reliability Design engineers: Low MTBF components, failure prediction Easy to identify and fix problems Remote observability and controllability Replace/expand/evolve network incrementally Defend against malicious users Redundancy No single point of failure Fail-safe, Fail-safe, Fail-hard Automated adaptation to component failures Degradation, not failure Users: High availability Meaningful feedback on failure (e.g., busy signal) 6.02 Spring 2011 Lecture 18, Slide #4

Network Scalability Enable incremental build-out increase in usage involves incremental costs (both at edges and in interior of network) Address bottlenecks without fundamental changes Economies of scale Larger number of users! less cost/user lose money on each customer, but make it up in volume Slow growth of scale factors (N = number of users) 2 N > N 2 > N log(n) > N > log(n) > constant Network Performance Design Engineers Utilization Minimize protocol overhead Quality of Service (performance tiers) User Throughput (guaranteed minimum) Opportunistic improvements Latency (guaranteed maximum) One-way, round-trip Isochrony? 6.02 Spring 2011 Lecture 18, Slide #5 6.02 Spring 2011 Lecture 18, Slide #6 Network Costs NRE (non-recurring expenses, ie, one-time costs) Basic infrastructure Per connection Per message transported Economies of scale, amortization Dealing with System Complexity Manage complexity with abstraction layers Easier to design if details have been abstracted away Desired behavior implemented using only component behaviors (not component implementation details), but check that correct behavior actually happened! Change implementation without changing behavior Communication Network Layers Application Application Presentation TCP/IP Transport Network Session Transport Network ISO/OSI Link Data Link Physical 6.02 Spring 2011 Lecture 18, Slide #7 6.02 Spring 2011 Lecture 18, Slide #8

Abstraction Layers Application Layer: HTTP, Mail, FTP, Telnet, RPC, DNS, NFS Transport Layer (eg, TCP or UDP): Using packets to create illusion of continuous stream of data. In-order, connection-based vs. connectionless Network Layer (eg, IP): Addressing and routing fixed-length datagrams through a multi-hop network, breaking up larger packets Link Layer: Channel access, how bits are transmitted on the channel, framing of data, channel-specific addressing, channel coding. 6.02 Spring 2011 Lecture 18, Slide #9 Network Topologies Networks built from two types of channels: Point-to-point channels Simplex: one-way communication Half-duplex: bidirectional, but one-way at a time Full-duplex: simultaneous bidirectional communications Symmetric and asymmetric bandwidths Multiple-access channels (eg, wireless, ethernet) Sharing mechanism: Regimented: Fixed allocations in time or frequency Ad-hoc: Contend for use, eg, collision detect/back-off Local-area (LANs) vs. wide-area (WANs) Appropriate technologies? topologies? 6.02 Spring 2011 Lecture 18, Slide #10 Fully-Connected Graph Asymptotic analysis: Each point-to-point link requires 1 unit of hardware, each communication, 1 unit of time Star Key idea: share this link to avoid N 2 costs. Other stars *But in the real world, hardware lives in 3- Throughput: O(N 2 space, so N nodes take at least O(N ) 1/3 ) space which means that comm. time grows as O(N 1/3 ) Latency: O(1) Cost: O(N 2 ) overall, O(N) per node no single points of failure, many alternate paths no blocking/congestion Expensive, doesn t easily scale to large regions Throughput: O(N) Latency: O(1)* Cost: O(N) for center node, but only O(1) for leaf node single point of failure! congested link affects all communications to that node Inexpensive, long links possible 6.02 Spring 2011 Lecture 18, Slide #11 6.02 Spring 2011 Lecture 18, Slide #12

Example: Telephone Network Wide Area Networks The pioneering research of Paul Baran in the 1960s, who envisioned a communications network that would survive a major enemy attack. The sketch shows three different network topologies described in his RAND Memorandum, "On Distributed Communications: 1. Introduction to Distributed Communications Network" (August 1964). The distributed network structure was judged to offer the best survivability. 6.02 Spring 2011 Lecture 18, Slide #13 6.02 Spring 2011 http://www.cybergeography.org/atlas/historical.html Lecture 18, Slide #14 Modern Networks: LANs + WANs Wide-area Network (WAN) Sharing the internetwork links Consider a single node in our wide-area network: We have many (low-bandwidth) application-level connections that need to mapped onto a small number of (high-bandwidth) channels. Some originate/ terminate at the current node, some are just passing through on their way to another node. How should we share the link between all the connections? Local-area network (LAN) with links to other LANs 6.02 Spring 2011 Lecture 18, Slide #15 Circuit switching (isochronous) Packet switching (asynchronous) 6.02 Spring 2011 Lecture 18, Slide #16

First establish a circuit between end points E.g., done when you dial a phone number Message propagates from caller toward callee, establishing some state in each switch Then, ends send data ( talk ) to each other After call, tear down (close) circuit Remove state Circuit Switching Caller (1) (2) (3) DATA Callee Establish Communicate Tear down Multiplexing/Demultiplexing Switch Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 One sharing technique: time-division multiplexing (TDM) Time divided into frames and frames divided into slots Number of slots = number of concurrent conversations Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to the red conversation Mapping established during setup, removed at tear down Forwarding step at switch: consult table 6.02 Spring 2011 Lecture 18, Slide #17 6.02 Spring 2011 Lecture 18, Slide #18 TDM Shares Link Equally, But Has Limitations Switch Time-slots frames = 0 1 2 3 4 5 0 1 2 3 4 5 Used in the Internet Data is sent in packets (header contains control info, e.g., source and destination addresses) Packet Switching Host 1 Host 2 Node 1 Node 2 Suppose link capacity is C bits/sec Each communication requires R bits/sec #frames in one epoch (one frame per communication) = C/R Maximum number of concurrent communications is C/R What happens if we have more than C/R communications? What happens if the communication sends less/more than R bits/sec?! Design is unsuitable when traffic arrives in bursts Header Data Per-packet routing At each node the entire packet is received, stored, and then forwarded (storeand-forward networks) No capacity is allocated transmission time of Packet 1 at Host 1 Packet 1 Packet 2 Packet 3 propagation delay between Host 1 & Node 2 Packet 1 Packet 2 Packet 3 processing delay of Packet 1 at Node 2 Packet 1 Packet 2 Packet 3 6.02 Spring 2011 Lecture 18, Slide #19 6.02 Spring 2011 Lecture 18, Slide #20

Packet Switching: Multiplexing/Demultiplexing No Guarantees! Best Efforts Delivery Router Queue Router has a routing table that contains information about which link to use to reach a destination For each link, packets are organized using a queue If queue is full, packets will be dropped Demultiplex using information in packet header Header has destination Each packet is individually routed May arrive at final destination in any order No time guarantee for delivery Delays through the network vary packet-to-packet No guarantee of delivery at all! Packets get dropped (due to corruption or congestion) Use Acknowledgement/Retransmission protocol to recover How to determine when to retransmit? Timeout? If packet is re-transmitted too soon! duplicate Sounds like the US Mail! 6.02 Spring 2011 Lecture 18, Slide #21 6.02 Spring 2011 Lecture 18, Slide #22 Comparison of Two Techniques We ll Explore Packet Switching Circuit switching Guaranteed capacity Capacity is wasted if data is bursty Before sending data establishes a path All data in a single flow follow one path No reordering; constant delay; no dropped packets Packet Switching No guarantees (best effort) More efficient Send data immediately Different packets might follow different paths Packets may be reordered, delayed, or dropped Commonly used for data networks Data traffic is bursty, fixed BW allocation isn t best makes most efficient use of communications link Routing: choose paths through network best route changes dynamically To preserve scalability prefer distributed, decentralized management of routing choices Transport: Deal with best efforts deficiencies via higher level acknowledgement/retransmission protocol Greatly simplifies engineering at packet level Example of end-to-end argument in engineering 6.02 Spring 2011 Lecture 18, Slide #23 6.02 Spring 2011 Lecture 18, Slide #24

Queues are Essential Queues n(t) = # pkts at time t in queue A B C D D A B C D C B Little s Law H E F G D E F G H H G F E C D H G F E H G F H G H 0 T t Queues manage packets between arrival and departure They are a necessary evil Needed to absorb bursts But they add delay by making packets wait until link is available So they shouldn t be too big 6.02 Spring 2011 Lecture 18, Slide #25 P packets are forwarded in time T (assume T large) Rate = = P/T Let A = area under the n(t) curve from 0 to T Mean number of packets in queue = N = A/T A is aggregate delay weighted by each packet s time in queue. So, mean delay D per packet = A/P Therefore, N = D Little s Law For a given link rate, increasing queue size increases delay 6.02 Spring 2011 Lecture 18, Slide #26 Multi-Hop Packet Networks!"#$%"$&'()*'+$&,%,$-'%#''.$,./$%#"$0"123%'+45$67"38.9:$!"#$0,.$#'$0"113.)0,%'$).;"+1,8".$+'(),-(/5$6<+,.42"+%:$ Baby Blues (Kirkman/Scott) 6.02 Spring 2011 Lecture 18, Slide #27 6.02 Spring 2011 Lecture 18, Slide #28