A Taxonomy of Communication Networks

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

CS 381 Introduction to computer networks Lecture 2 1/29/2015.
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
Aleksandar, Accounts have been created for any students in EECS 340 who did not already have one. Physical access to the labs has also been granted. If.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
CSE401N1 CSE401N Computer Networks Lecture-2 Network Structure[KR ] S. M. Hasibul Haque Dept. of CSE BUET.
1-1 Foundation Objectives: 1.1 What’s the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure and.
Lecture Internet Overview: roadmap 1.1 What is the Internet? (A simple overview last week) Today, A closer look at the Internet structure! 1.2 Network.
1: Introduction1 Part I: Introduction Chapter goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Review on Networking Technologies Linda Wu (CMPT )
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
What’s the Internet: “nuts and bolts” view
1-1 CS 456 – Computer Networks □ Instructor: Ian Goldberg □ Classes: Tuesday and Thursday 8:30 – 9:50am MC 4063 (section.
ENEE 426: Introduction Richard J. La Spring 2005.
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Chapter 1 Introduction Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Data Communications and Networking
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
Computer Networking Introduction, Part I. Lecture #1: Part I: Introduction Chapter goal: get context, overview, “feel” of networking.
Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
Introduction 1-1 Chapter 1 Part 2 Network Core These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Review of Networking Concepts Part 1: Switching Networks
Introduction1-1 Course Code:EE/TE533 Instructor: Muddathir Qamar.
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
Introduction Switches and Access. 2 Chapter 1 Introduction Computer Networking: A Top Down Approach Featuring the Internet, 5 rd edition. Jim.
ECE 466 Switching Networks. ECE 466 A communication network provides a scalable solution to connect a large number of end systems Communication Networks.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 4: Fundamental network design issues Slides.
Chapter 1 Introduction Circuit/Packet Switching Protocols Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley,
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
Data and Computer Communications Circuit Switching and Packet Switching.
Ch 1. Computer Networks and the Internet Myungchul Kim
Computer Networks with Internet Technology William Stallings
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
1 Network Core and Network Edge By Muhammad Hanif To BS IT 4 th Semester.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
EEC-484/584 Computer Networks
Ch 1. Computer Networks and the Internet Myungchul Kim
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
Department of Computer and IT Engineering University of Kurdistan
Introduction1-1 Computer Network (  Instructor  Ai-Chun Pang 逄愛君, m Office Number: 417  Textbook.
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
1 A Taxonomy of Communication Networks Y. Richard Yang 01/22/2016.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
CS 5565 Network Architecture and Protocols
Graciela Perera Introduction Graciela Perera
Point-to-Point Network Switching
Part 0: Networking Review
Slides taken from: Computer Networking by Kurose and Ross
Chapter 1: Introduction
A Taxonomy of Communication Networks
An Aleksandar,   Accounts have been created for any students in EECS 340 who did not already have one.  Physical access to the labs has.
CS 5565 Network Architecture and Protocols
Comp 365 Computer Networks Chapter 1 Part 2 Network Core Fall 2014
Network Core and QoS.
Part I: Introduction Overview: what’s the Internet what’s a protocol?
Network Core and QoS.
Comp 410 AOS Packet Switching
Presentation transcript:

A Taxonomy of Communication Networks Y. Richard Yang 1/16/2008

Outline Recap A taxonomy of communication networks Summary

Recap A protocol defines the format and the order of messages exchanged between two or more communicating entities, as well as the actions taken on the transmission or receipt of a message or other events. Some implications of the past: ARPANET is sponsored by ARPA  The initial IMPs (routers) were made by a small company  Many networks  Commercialization  design should survive failures keep the network simple internetworking: need a network to connect networks architecture supporting distributed, autonomous systems

Recap: Current Internet Physical Infrastructure Residential access Cable Fiber DSL Wireless Backbone ISP ISP The Internet is a network of networks Each individually administrated network is called an Autonomous System (AS) Campus access, e.g., Ethernet Wireless

Northern CrossRoads (NoX) Aggregation Point (AP) http://www.nox.org/NoXAPConfig3-01.jpg

Abilene I2 Backbone http://weathermap.grnoc.iu.edu/abilene_jpg.html

http://www.qwest.com/largebusiness/enterprisesolutions/networkMaps/preloader.swf Qwest Backbone Map

ATT Global Backbone IP Network From http://www.business.att.com

AT&T USA Backbone Map From AT&T web site.

Commercial Internet ISP Connectivity Roughly hierarchical Divided into tiers Tier-1 ISPs are also called backbone providers, e.g., AT&T, Verizon, Sprint, Level 3, Qwest An ISP runs (private) Points of Presence (PoP) where its customers and other ISPs connect to it ISPs also connect at (public) Network Access Point (NAP) called public peering

Network Access Point Interconnect multiple ISP’s Example: Chicago NAP (http://www.aads.net/main.html)

Outline Admin. and recap A taxonomy of communication networks Summary

A Taxonomy of Communication Networks So far we have looked at only the topology and physical connectivity of the Internet: a mesh of computers interconnected via various physical media The fundamental question: how is data (the bits) transferred through a communication network?

Broadcast vs. Switched Communication Networks switched networks broadcast networks Broadcast networks nodes share a common channel; information transmitted by a node is received by all other nodes in the network examples: TV, radio Switched networks information is transmitted to a small sub-set (usually only one) of the nodes

A Taxonomy of Switched Networks communication networks switched networks broadcast networks circuit-switching networks (e.g. telephone, GSM) packet-switching networks (e.g. Internet) Circuit switching: dedicated circuit per call/session: e.g., telephone, GSM High-Speed Circuit-Switched Data (HSCSD), Integrated Services Digital Networks (ISDN) Packet switching: data sent thru network in discrete “chunks” e.g., Internet, General Packet Radio Service (GPRS)

Outline Admin. and review A taxonomy of communication networks Summary circuit switching networks packet switching networks circuit switching vs. packet switching datagram switching vs. virtual circuit switching Summary

Circuit Switching Each link has a number of “circuits” sometime we refer to a “circuit” as a channel or a line An end-to-end connection reserves one “circuit” at each link First commercial telephone switchboard was opened in 1878 to serve the 21 telephone customers in New Haven, Connecticut

Circuit Switching: Resources/Circuits (Frequency, Time and others) Divide link resource into “circuits” frequency division multiplexing (FDM) time division multiplexing (TDM) others such as code division multiplexing (CDM), color/lambda division

Circuit Switching: The Process Three phases circuit establishment data transfer circuit termination

processing delay at Node 1 Timing Diagram of Circuit Switching Host A Host B Node 1 Node 2 processing delay at Node 1 propagation delay from A to Node 1 circuit establishment propagation delay from B To A DATA data transmission circuit termination

Delay Calculation in Circuit Switched Networks Propagation delay: delay for the first bit to go from a source to a destination Transmission delay: time to pump data onto link at reserved rate d/s DATA L/R Propagation delay: d = length of physical link s = propagation speed in medium (~2x105 km/sec) propagation delay = d/s Transmission delay: R = reserved bandwidth (bps) L = message length (bits) time to send a packet into link = L/R

An Example Propagation delay Transmission delay suppose the distance between A and B is 4000 km, then one-way propagation delay is: Transmission delay suppose we reserve a one slot HSCSD channel a frame can transmit about 115 kbps A frame is divided into 8 slots each reserved one slot HSCSD has a bandwidth of about 14 Kbps (=115/8) then the transmission delay of a message of 1 Kbits:

An Example (cont.) Suppose the setup message is very small, and the total setup processing delay is 200 ms Then the delay to transfer a message of 1 Kbits from A to B (from the beginning until host receives last bit) is: DATA 20 + 200 20 20 70

Outline Admin. and review A taxonomy of communication networks Summary circuit switching networks packet switching networks circuit switching vs. packet switching Summary

Packet Switching Each end-to-end data flow (i.e., a sender-receiver pair) divided into packets Packets have the following structure: header and trailer carry control information (e.g., destination address, check sum) where is the control information for circuit switching? any analogy in life? At each node the entire packet is received, processed (e.g., routing), stored briefly, and then forwarded to the next node; thus packet-switched networks are also called store-and-forward networks Header Data Trailer

Packet Switching

Inside a Packet Switching Router An output queueing switch incoming links node outgoing links Memory

Packet Switching: Resources Resources used as needed On its turn, a packet uses full link bandwidth

Outline Admin. and review A taxonomy of communication networks Summary circuit switching networks packet switching networks circuit switching vs. packet switching Summary

Packet Switching vs. Circuit Switching The early history of the Internet was a heated debate between Packet Switching and Circuit Switching the telephone network was the dominant network Need to compare packet switching with circuit switching

Circuit Switching vs. Packet Switching resource partitioned not partitioned when using resource use a single partition bandwidth use whole link bandwidth reservation/setup need reservation (setup delay) no reservation resource contention busy signal (session loss) congestion (long delay and packet losses) header no header per packet header processing fast per packet processing

Key Issue to be Settled All the other comparisons are easy to understand, a key debating issue was whether resource partition would be inefficient. Tool used to analyze the issue: queueing theory

Analysis of Circuit-Switching Blocking (Busy) Time Assume N circuits Session arrival:  per second Session service rate:  per second What is the percentage of time that a new session is blocked? For a demo of M/M/1, see: http://www.dcs.ed.ac.uk/home/jeh/Simjava/queueing/mm1_q/mm1_q.html

Analysis of Delay at a Link Four types of delay at each hop nodal processing delay: check errors & routing queueing: time waiting for its turn at output link transmission delay: time to pump packet onto a link at link speed propagation delay: router to router propagation The focus is on transmission delay and propagation delay

The Key Case: To Partition or not to Partition? Assume: R = link bandwidth (bps) L = average packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec) Setup: n streams; each stream has an arrival rate of a/n Comparison: each stream reserves 1/n bandwidth or not Case 2 (reserve): the arrivals are divided into n links with rate R/n each, what is the queueing delay + transmission delay? Case 1 (not reserve): all arrivals into a single link with rate R, what is the queueing delay + transmission delay?

Analysis of Queueing + Transmission Time Consider a single queue Packet arrival rate:  per second Packet service rate:  per second What is the queueing + transmission time of each packet?

Delay: M/M/1 Model Assume: R = link bandwidth (bps) L = average packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec)

Queueing Delay as A Function of Utilization Assume: R = link bandwidth (bps) L = packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec)   ~ 0: average queueing delay small  -> 1: delay becomes large  > 1: more “work” arriving than can be serviced, average delay infinite !

Statistical Multiplexing Gain Assume: R = link bandwidth (bps) L = average packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec) Setup: n streams; each stream has an arrival rate of a/n Comparison: each stream reserves 1/n bandwidth or not Case 1 (not reserve): all arrivals into a single link with rate R Case 2 (reserve): the arrivals are divided into n links with rate R/n each any analogy in life?

Packet Switching vs. Circuit Switching One of the major issues facing the Internet: How to provide circuit-like behavior (in terms of quality of service)? virtual circuit switching is originally mainly for routing efficiency bandwidth guarantees needed for audio/video apps still an unsolved problem

Outline Admin. and review A taxonomy of communication networks Summary circuit switching networks packet switching networks circuit switching vs. packet switching routing in packet switching networks Summary

A Taxonomy of Packet-Switched Networks According to Routing Goal: move packets among routers from source to destination we’ll study routing algorithms later in the course Two types of packet switching datagram network each packet of a flow is switched independently virtual circuit network: all packets from one flow are sent along a pre-established path (= virtual circuit)

Datagram Packet Switching Example: IP networks Each packet is independently switched each packet header contains complete destination address receiving a packet, a router looks at the packet’s destination address and searches its current routing table to determine the possible next hops, and pick one Discussions: an example of datagram-style communication in daily life? advantages of datagram switching? potential problems of packet switching? Disadvantages: routes may change during session Advantage: routers do not keep any state about a flow; thus, network architecture is robust scalable

Datagram Packet Switching Host C Host D Host A Node 1 Node 2 Node 3 Node 5 Host B Host E Node 7 Node 6 Node 4

Timing Diagram of Datagram Switching Host A Host B Node 1 Node 2 processing and queueing delay of Packet 1 at Node 2 propagation delay from Host A to Node 1 transmission time of Packet 1 at Host A Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3

Virtual-Circuit Packet Switching Example: Asynchornous Transfer Mode (ATM) networks; Multiple Label Packet Switching (MPLS) in IP networks Hybrid of circuit switching and datagram switching each packet carries a short tag (virtual-circuit (VC) #); tag determines next hop fixed path determined at Virtual Circuit setup time, remains fixed thru flow routers maintain per-flow state what state do routers maintain for datagram switching? Incoming Interface Incoming VC# Outgoing Interface Outgoing VC# 1 12 2 22 16 3 … What advantages do virtual circuit have over datagram? can treat different flows differently, if flows setup its desired treatment Guarantees in-sequence delivery of packets However: Packets from different virtual circuits may be interleaved

Virtual-Circuit Switching Host C Host D Host A Node 1 Node 2 Node 3 Node 5 Host B Host E Node 7 Node 6 Node 4

Virtual-Circuit Packet Switching Three phases VC establishment Data transfer VC disconnect

Timing Diagram of Virtual-Circuit Switching Host 1 Host 2 Node 1 Node 2 propagation delay between Host 1 and Node 1 VC establishment Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 data transfer Packet 1 Packet 2 Packet 3 VC termination

Discussion: Datagram Switching vs. Virtual Circuit Switching What are the benefits of datagram switching over virtual circuit switching? What are the benefits of virtual circuit switching over datagram switching?

Summary of the Taxonomy of Communication Networks circuit-switched network communication network switched network broadcast communication packet-switched network datagram network virtual circuit network

Backup Slides

Packet Switching Packet-switching: store and forward behavior

Connection-Oriented Service Goal: data transfer between end sys. handshaking: setup (prepare for) data transfer ahead of time Hello, hello back human protocol set up “state” in two communicating hosts TCP - Transmission Control Protocol Internet’s connection-oriented service TCP service [RFC 793] reliable, in-order byte-stream data transfer loss: acknowledgements and retransmissions flow control: sender won’t overwhelm receiver congestion control: senders “slow down sending rate” when network congested

Connectionless Service Goal: data transfer between end systems same as before! UDP - User Datagram Protocol [RFC 768]: Internet’s connectionless service unreliable data transfer no flow control no congestion control App’s using TCP: HTTP (WWW), FTP (file transfer), Telnet (remote login), SMTP (email) App’s using UDP: streaming media, teleconferencing, Internet telephony

Relationship Between Switching Techniques and End Host Services End hosts determine end host services: connection-oriented or connectionless what an application wants Network service providers determine network services: circuit-switching, packet switching, datagram switching, or virtual circuit switching how the ISP builds their networks

Bandwidth division into “pieces” Packet Switching: Resources Resources used as needed On its turn, a packet uses full link bandwidth Aggregated resource demand can exceed amount available congestion: packets queue, wait for link use buffer overflow: packet losses Bandwidth division into “pieces” Resource reservation

Packet Switching vs. Circuit Switching The early history of the Internet was a heated debate between Packet Switching and Circuit Switching Advantages of packet switching over circuit switching most important advantage of packet-switching over circuit switching is statistical multiplexing, and therefore efficient bandwidth usage no call setup (for datagram switching only) no per-flow state information (for datagram switching only) simple to implement Disadvantages of packet switching potential congestion: packet delay and high loss protocols needed for reliable data transfer, congestion control packet header overhead per packet processing overhead Questions: why does the current Internet use datagram?

Statistical Multiplexing Assume: R = link bandwidth (bps) L = average packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec) Setup: N flows; each flow has an arrival rate of a/n Comparison: each flow reserves 1/n bandwidth or not Case 2 (reserve): the arrivals are divided into n links with rate R/n each, what is the queueing delay + transmission delay? Case 1 (not reserve): all arrivals into a single link with rate R, what is the queueing delay + transmission delay?

Queueing Delay: Kendall Notation Arrival/Service/NumberServers E.g., M/M/1, M/D/1 Arrival process: the inter-arrival time D: fixed/deterministic inter-arrival time M: Markov, i.e., in each  unit of time, where  small, the probability of exactly one arrival is , where  is called arrival rate Service process: the service time D: fixed/deterministic service time M: Markov, i.e., in each  unit of time, where  small, the probability of finish serving is , where  is called service rate For a demo of M/M/1, see: http://www.dcs.ed.ac.uk/home/jeh/Simjava/queueing/mm1_q/mm1_q.html

Queueing Delay: M/M/1 Model Assume: R = link bandwidth (bps) L = average packet length (bits) a = average packet arrival rate (pkt/sec) R/L = packet service rate (pkt/sec) A more realistic model of modern routers: M/D/1