CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan 09-03-2010.

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.
CS 381 Introduction to computer networks Chapter 1 - Lecture 3 2/5/2015.
1 ITC242 – Introduction to Data Communications Week 8 Topic 13 Wireless WANS Reading 2.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
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.
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.
1 An Introduction to Computer Networks Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof.
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.
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,
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: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Data Communications and Networking
CS 3830 Day 2 Introduction 1-1. Announcements  Program 1 posted on the course web  Project folder must be in 1DropBox on S drive by: 9/14 at 3pm  Must.
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.
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.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 7 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
Review of Networking Concepts Part 1: Switching Networks
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Introduction Switches and Access. 2 Chapter 1 Introduction Computer Networking: A Top Down Approach Featuring the Internet, 5 rd edition. Jim.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
02 – Performance Basics 1CS Computer Networks.
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.
333: DISCUSS THE FUNDAMENTALS OF NETWORKING.  1. Discuss networking concepts (20 hrs)  2. Discuss hardware & software requirement to setup a Local Area.
Lecture 5: Internetworking: A closer View By Dr. Najla Al-Nabhan Introduction 1-1.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Computer Networks with Internet Technology William Stallings
Lecture 8 Virtual Switching (contd.) & Message Switching.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
EEC-484/584 Computer Networks
What is the Speed of the Internet? Internet Computing KUT Youn-Hee Han.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
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.
Computer Networking II Course Outline - introduction -Network Layer -Wireless and Mobile Networks -Multimedia Networking -Network Management -Network Security.
Introduction1-1 Computer Network (  Instructor  Ai-Chun Pang 逄愛君, m Office Number: 417  Textbook.
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
L9: Intro Network Systems Dina Katabi Spring Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek,
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
1 Ram Dantu University of North Texas, Practical Networking.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Introduction 1-1 1DT057 Distributed Information Systems Chapter 1 Introduction.
Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Prepaid by: Guided by: ashwin goswami.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
CS 381 Introduction to computer networks
Chapter 1: Introduction
A Taxonomy of Communication Networks
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Comp 365 Computer Networks Chapter 1 Part 2 Network Core Fall 2014
Network Core and QoS.
CS Lecture 2 Network Performance
Data Communication Networks
EEC-484/584 Computer Networks
L9: Intro Network Systems
Network Core and QoS.
Comp 410 AOS Packet Switching
Presentation transcript:

CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan 09-03-2010

The network core: mesh of interconnected routers the fundamental question: how is data transferred through net? circuit switching: dedicated circuit per call: telephone net packet-switching: data sent through net in discrete “chunks” (packets) on shared media

The network core: Circuit Switching End-to-end resources reserved for “call” link bandwidth, switch capacity dedicated resources: no sharing circuit-like (guaranteed) performance call setup required

processing delay at switch Circuit Switching Boston Switch It’s the method used by the telephone network A call has three phases: Establish circuit from end-to-end (“dialing”), Communicate, Close circuit (“tear down”). If circuit not available: “busy signal” LA Switch Caller Callee processing delay at switch propagation delay between caller and Boston switch DATA (1) (2) (3)

Circuit Switching: Multiplexing/Demultiplexing Frames Slots = 1 2 3 4 5 1 2 3 4 5 One way for sharing a circuit is TDM: Time divided into frames and frames divided into slots Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to the red conversation Need synchronization between sender and receiver Lecture notes use the word “frame” for slot

The network core: Circuit Switching network resources (e.g., bandwidth) divided into “pieces” pieces allocated to calls resource piece idle if not used by owning call (no sharing) Consumers are charged on a per-minute basis 2 ways of dividing the link bandwidth into “pieces” frequency division multiplexing (FDM) time division multiplexing (TDM)

Circuit Switching: FDM and TDM 4 users Example: Frequency Division Multiplexing (FDM) frequency time Time Division Multiplexing. (TDM) frequency time

Numerical example How long does it take to send a file of 640,000 bits from host A to host B over a circuit-switched network? The link’s transmission rate = 1.536 Mbps Each link uses TDM with 24 slots/sec 500 msec to establish end-to-end circuit Figure it out … Solution: Bandwidth of circuit = 1.536/24 = 64 kbps Time to send: 640 kbits/64 kbps + 0.5s = 10.5s What would be different if we use FDM instead of TDM?

Common mistake/confusion : Question: A) Express transmission rate of 1Kbits/sec in bits/sec B) Express the file size of 1KBytes in bits Answer: A) 1000 bits/sec (in throughput, K = 103=1000) B) 1024 Bytes = 8192 bits (in data size, K = 210=1024) Electronic speeds/times: K = 103, M = 106, G = 109 Computer file/memory sizes: K = 210 , M = 220, G = 230 Common computer notation: b(bits) Kb, Mb, Gb B(Bytes) KB, MB, GB Better computer notation: b(bits) Kib, Mib, Gib B(Bytes) KiB, MiB, GiB

Packet Switching Used in the Internet Data is sent in Packets (header contains control info, e.g., source and destination addresses) Per-packet routing At each node the entire packet is received, stored, and then forwarded (store-and-forward networks) No capacity is allocated Host 1 Host 2 Node 1 Node 2 Header Data propagation delay between Host 1 & Node 2 transmission time of Packet 1 at Host 1 processing delay of Packet 1 at Node 2 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3

Packet Switching: Multiplexing/Demultiplexing Router Queue Multiplex using a queue Routers need memory/buffer Demultiplex using information in packet header Header has destination Router has a routing table that contains information about which link to use to reach a destination

Packet switching also show reordering Packets in a flow may not follow the same path (depends on routing as we will see later)  packets may be reordered Host C Host D Host A Node 1 Node 2 Node 3 Node 5 Host B Host E Node 7 Node 6 Node 4

The network core: Packet Switching all streams share network resources each packet uses full link bandwidth resources used as needed Resource contention: aggregate resource demand can exceed amount available congestion: packets queue, wait for link Bandwidth division into “pieces” Dedicated allocation Resource reservation

The network core: Packet switching Data transmitted in small, independent pieces Source divides outgoing messages into packets Destination recovers original data Each packet travels independently Includes enough information for delivery May follow different paths Can be retransmitted if lost

The network core: Functions of packet-switching networks Packet construction encode/package data at source Packet transmission send packet from source to destination Packet interpretation unpack/decode data from packet at destination acknowledge receipt

The network core: statistical multiplexing 100 Mb/s Ethernet C A statistical multiplexing 1.5 Mb/s B queue of packets waiting for output link D E statistical multiplexing  Sequence of A & B packets does not have fixed pattern; shared on demand. Compare: in TDM, each host gets same slot (periodically) in FDM, each host gets same bandwidth (continuously)

Differences Between Circuit & Packet Switching Circuit-switching Packet-Switching Guaranteed capacity No guarantees (best effort) Capacity is wasted if data is bursty More efficient Before sending data establishes a path Send data immediately All data in a single flow follow one path Different packets might follow different paths No reordering; constant delay; no pkt drops Packets may be reordered, delayed, or dropped

Network performance metrics End-to-end delay (nodal delay) : Total time from initiating “send” (from source) to completed “receive” (at destination) Throughput : Rate (bits/sec) at which bits are actually being transferred between sender/receiver instantaneous: rate at given point in time average: rate over longer period of time

Four sources of packet delay 1. nodal processing: check bit errors determine output link 2. queueing delay time waiting at output link for transmission depends on congestion level of router A B propagation transmission nodal processing queueing

Four sources of packet delay 3. Transmission delay: R=link bandwidth (speed in bits per second, i.e. “bps”) L=packet length (in bits) transmission delay = L/R 4. Propagation delay: d = length of physical link (in meters) s = propagation speed in medium (~2.5 x 108 m/sec) propagation delay = d/s Note: R and s are very different quantities! A B propagation transmission nodal processing queueing