Chapter I: Introduction

Similar documents
Computer Networking Introduction

Chapter 1 Introduction

Network core and metrics

Computer Networks & Security 2016/2017

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

CS 4390 Computer Networks

Chapter 1 Introduction

Packet-switching: store-and-forward

CSCE 463/612 Networks and Distributed Processing Spring 2018

Internet: A Brief Overview. Introduction 2-1

CSE 434 Spring 2013 Computer Networks

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 3

CSC 401 Data and Computer Communications Networks

Computer Networks and the Internet. CMPS 4750/6750: Computer Networks

Chapter 1 Introduction

Chapter 1 Computer Networks and the Internet

Chapter 1. Computer Networks and the Internet

end systems, access networks, links 1.3 network core

Introduction to Computer Networks. Chapter 1: introduction

Fundamentals of Information Systems

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

Introduction to computer networking

Four sources of packet delay

CS 204: Advanced Computer Networks

CS 3516: Advanced Computer Networks

CSC 401 Data and Computer Communications Networks

Introduction. overview: our goal: get feel and terminology more depth, detail later in course approach: use Internet as example

Chapter 1: introduction

Course on Computer Communication and Networks. Lecture 2 Chapter 1: Introduction: Part B: Network structure, performance, security prelude

CS 3516: Computer Networks

EC441 Fall 2018 Introduction to Computer Networking Chapter 1: Introduction

1.1 What is the Internet? 1.2 Network edge. 1.3 Network core

Chapter 1 Introduction

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

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Introduction to Computer Networks. Roadmap

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1: roadmap parte B

Chapter 1 Introduction

EECS 3214: Computer Network Protocols and Applications

CS4491/02 Fog Computing. Network Basics

Chapter 1 Introduction

TCN-5030 Computer Communications and Networking Technologies

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

CSE3213 Computer Network I

ELE 543 Computer Network

Chapter 1 Introduction

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

TNK108 Datornät /Computer Networking. Fall Introduction 1-1

Internetworking Technology -

Outline. TCP/IP Internet

Chapter 1 Introduction

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? Hardware view: What s the Internet?

CMPT-371: Data Communication and Networking. Bob Gill, P.Eng., FEC, smieee Introduction 0-1

Chapter 1 Introduction

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? What s the Internet? What s the Internet?

Lecture 2: Internet Structure

CMPT-371: Data Communication and Networking. Bob Gill, P.Eng., FEC, smieee Introduction 2-1

CSC 4900 Computer Networks: Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1: Introduction

CMP-330 Computer Networks

CSEE 4119 Computer Networks. Chapter 1 Introduction (2/2) Introduction 1-1

Overview on the Internet the current and future telecommunication network

Chapter 1 Introduction

Since enrollment is very small this semester, we have flexibilty. Traditional lecture Assigned reading, and then student(s) present during class time

Network Protocols and Architectures

Chapter 1 Introduction

COMP 562: Advanced Topics in Networking

A closer look at network structure:

CC451 Computer Networks

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Internet: A Brief Overview. Chapter 1

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Chapter 1 Introduction

CSCD 330 Network Programming Spring 2018 Lecture 3 Introduction to Networks. Reading: Chapter 1 - Continued

Chapter 1 Introduction

CSE 3214 Course Overview. CSE 3214: Computer Network Protocols and Applications. Chapter 1: roadmap. Chapter 1: Introduction. 1-5 Introduction 1-6

Communication In Smart Grid Part1 (Basics of Networking)

Informática y Comunicaciones. Chapter 1 Introduction to Communications

CSCD 330 Network Programming Winter 2016

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

CSCD 330 Network Programming Spring 2017

Course on Computer Communication and Networks. Lecture 2 Chapter 1: Introduction: Part B: Network structure, performance, security prelude

Last Lecture. Nuts-and-bolts description of the Internet. ! The topology. ! The communication links. ! The core. ! The edge

CSEN 503 Introduction to Communication Networks

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

Δίκτυα Μετάδοσης Δεδομένων Data Networks. Introduction 1-1

Telecommunication Networks Introduction

Telecommunication Networks Introduction

A Whirlwind Introduction to the Internet Overview

LECTURE 1 - INTRODUCTION. Jacob Aae Mikkelsen

Web Protocols and Practice

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

Transcription:

Chapter I: Introduction UG3 Computer Communications & Networks (COMN) Myungjin Lee myungjin.lee@ed.ac.uk Slides copyright of Kurose and Ross

The work core mesh of interconnected routers packet-switching: hosts break application-layer messages into packets forward packets from one router to the next, across links on path from source to destination each packet transmitted at full link capacity 20

Two key work-core functions routing: determines sourcedestination route taken by packets routing algorithms forwarding: move packets from router s input to appropriate router output routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 2 2 1 3 2 1 dest address in arriving packet s header 21

Properties of Packet Switching Statistical Multiplexing Store-and-Forward Queueing Delay Loss 22

Packet Switching: Statistical Multiplexing A 10 Mb/s Ether statistical multiplexing C B 1.5 Mb/s queue of packets waiting for output link D E Sequence of A & B packets does not have fixed pattern statistical multiplexing. In TDM each host gets same slot in revolving TDM frame. 23

Packet-switching: store-and-forward L bits per packet source 3 takes L/R seconds to transmit (push out) L-bit packet into link at R bps 2 1 R bps store and forward: entire packet must arrive at router before it can be transmitted on next link v end-end delay = 2L/R (assuming zero propagation delay) R bps one-hop numerical example: L = 7.5 Mbits R = 1.5 Mbps one-hop transmission delay = 5 sec more on delay shortly destination 24

Packet Switching: queueing delay, loss A R = 100 Mb/s C B queue of packets waiting for output link R = 1.5 Mb/s D E queuing and loss: v If arrival rate (in bits) to link exceeds transmission rate of link for a period of time: packets will queue, wait to be transmitted on link packets can be dropped (lost) if memory (buffer) fills up 25

How do loss and delay occur? packets queue in router buffers packet arrival rate to link (temporarily) exceeds output link capacity packets queue, wait for turn packet being transmitted (delay) A B packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers 26

Packet loss queue (aka buffer) preceding link in buffer has finite capacity packet arriving to full queue dropped (aka lost) lost packet may be retransmitted by previous node, by source end system, or not at all A buffer (waiting area) packet being transmitted B packet arriving to full buffer is lost * Check out the Java applet for an interactive animation on queuing and loss 27

Four sources of packet delay A transmission propagation B nodal processing queueing d nodal = d proc + d queue + d trans + d prop d proc : nodal processing check bit errors determine output link typically < msec d queue : queueing delay time waiting at output link for transmission depends on congestion level of router 28

Four sources of packet delay A transmission propagation B nodal processing queueing d nodal = d proc + d queue + d trans + d prop d trans : transmission delay L: packet length (bits) R: link bandwidth (bps) d trans = L/R d trans and d prop very different d prop : propagation delay d: length of physical link s: propagation speed in medium (~2x10 8 m/sec) d prop = d/s * Check out the Java applet for an interactive animation on trans vs. prop delay 29

Queueing delay (revisited) R: link bandwidth (bps) L: packet length (bits) a: average packet arrival rate average queueing delay traffic intensity = La/R v La/R ~ 0: avg. queueing delay small v La/R -> 1: avg. queueing delay large v La/R > 1: more work arriving than can be serviced, average delay infinite! La/R ~ 0 * Check out the Java applet for an interactive animation on queuing and loss La/R -> 1 30

Real Inter delays and routes what do real Inter delay & loss look like? traceroute program: provides delay measurement from source to router along end-end Inter path towards destination. For all i: sends three packets that will reach router i on path towards destination router i will return packets to sender sender times interval between transmission and reply. 3 probes 3 probes 3 probes 31

Real Inter delays and routes traceroute: gaia.cs.umass.edu to www.eurecom.fr 3 delay measurements from gaia.cs.umass.edu to cs-gw.cs.umass.edu 1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms 2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms 3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms 4 jn1-at1-0-0-19.wor.vbns. (204.147.132.129) 16 ms 11 ms 13 ms 5 jn1-so7-0-0-0.wae.vbns. (204.147.136.136) 21 ms 18 ms 18 ms 6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms 7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms 8 62.40.103.253 (62.40.103.253) 104 ms 109 ms 106 ms 9 de2-1.de1.de.geant. (62.40.96.129) 109 ms 102 ms 104 ms 10 de.fr1.fr.geant. (62.40.96.50) 113 ms 121 ms 114 ms 11 renater-gw.fr1.fr.geant. (62.40.103.54) 112 ms 114 ms 112 ms 12 nio-n2.cssi.renater.fr (193.51.206.13) 111 ms 114 ms 116 ms 13 nice.cssi.renater.fr (195.220.98.102) 123 ms 125 ms 124 ms 14 r3t2-nice.cssi.renater.fr (195.220.98.110) 126 ms 126 ms 124 ms 15 eurecom-valbonne.r3t2.ft. (193.48.50.54) 135 ms 128 ms 133 ms 16 194.214.211.25 (194.214.211.25) 126 ms 128 ms 126 ms 17 * * * 18 * * * 19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms trans-oceanic link * means no response (probe lost, router not replying) * Do some traceroutes from exotic countries at www.traceroute.org 32

Alternative core: circuit switching end-end resources allocated to, reserved for call between source & dest: In diagram, each link has four circuits. call gets 2 nd circuit in top link and 1 st circuit in right link. dedicated resources: no sharing circuit-like (guaranteed) performance circuit segment idle if not used by call (no sharing) Commonly used in traditional telephone works 33

Circuit switching: FDM versus TDM FDM Example: 4 users frequency TDM time frequency time 34

Packet switching versus circuit switching packet switching allows more users to use work! example: 1 Mb/s link each user: 100 kb/s when active active 10% of time N users 1 Mbps link circuit-switching: 10 users packet switching: with 35 users, probability > 10 active at same time is less than.0004 * Q: how did we get value 0.0004? Q: what happens if > 35 users? * Check out the online interactive exercises for more examples 35

Packet switching versus circuit switching is packet switching a slam dunk winner? great for bursty data resource sharing simpler, no call setup excessive congestion possible: packet delay and loss protocols needed for reliable data transfer, congestion control Q: How to provide circuit-like behavior? bandwidth guarantees needed for audio/video apps still an unsolved problem (chapter 7) Q: human analogies of reserved resources (circuit switching) versus on-demand allocation (packet-switching)? 36

Inter structure: work of works v End systems connect to Inter via ISPs (Inter Service Providers) Residential, company and university ISPs v Access ISPs in turn must be interconnected. v So that any two hosts can send packets to each other v Resulting work of works is very complex v Evolution was driven by economics and national policies v Let s take a stepwise approach to describe current Inter structure 37

Inter structure: work of works Question: given millions of ISPs, how to connect them together? 38

Inter structure: work of works Option: connect each ISP to every other ISP? connecting each ISP to each other directly doesn t scale: O(N 2 ) connections. 39

Inter structure: work of works Option: connect each ISP to a global transit ISP? Customer and provider ISPs have economic agreement. global ISP 40

Inter structure: work of works But if one global ISP is viable business, there will be competitors. ISP A ISP B ISP C 41

Inter structure: work of works But if one global ISP is viable business, there will be competitors. which must be interconnected Inter exchange point ISP A IXP IXP ISP B ISP C peering link 42

Inter structure: work of works and regional works may arise to connect s to ISPS ISP A IXP IXP ISP B ISP C regional 43

Inter structure: work of works and content provider works (e.g., Google, Microsoft, Akamai ) may run their own work, to bring services, content close to end users ISP A ISP B ISP B IXP Content provider work IXP regional 44

Inter structure: work of works Tier 1 ISP Tier 1 ISP Google IXP IXP IXP Regional ISP Regional ISP ISP ISP ISP ISP ISP ISP at center: small # of well-connected large works ISP tier-1 commercial ISPs (e.g., Level 3, Sprint, AT&T, NTT), national & international coverage ISP content provider work (e.g, Google): private work that connects its data centers to Inter, often bypassing tier-1, regional ISPs 45

Throughput throughput: rate (bits/time unit) at which bits transferred between sender/receiver instantaneous: rate at given point in time average: rate over longer period of time server server, sends withbits (fluid) file of into F bits pipe to send to client link pipe capacity that can carry R s bits/sec fluid at rate R s bits/sec link pipe capacity that can carry R c bits/sec fluid at rate R c bits/sec 46

Throughput (more) R s < R c What is average end-end throughput? R s bits/sec R c bits/sec v R s > R c What is average end-end throughput? R s bits/sec R c bits/sec bottleneck link link on end-end path that constrains end-end throughput 47

Throughput: Inter scenario per-connection endend throughput: min(r c,r s,r/10) in practice: R c or R s is often bottleneck R s R s R s R R c R c R c 10 connections (fairly) share backbone bottleneck link R bits/sec 48

More Precise Definition of Throughput So far we implicitly assumed transferring infinite amount of data More precisely, End-to-end Throughput = TransferSize / TransferTime Assuming no queueing or processing delays, TransferTime = RTT + TransferSize / BottleneckBandwidth 1st term: propagation-related delay; 2nd term: transmission delay From the above, can show that throughput approaches bottleneck bandwidth as transfer size approaches infinity RTT dominates with infinite bandwidth It s all relative 1-MB file to 1-Gbps link looks like a 1-KB packet to 1-Mbps link 49

Network as a Pipe and Bandwidth-Delay Product Delay Bandwidth Here delay refers to propagation delay Typically, RTT; could also be one-way; which one is used depends on context Bandwidth-delay product gives the volume of the pipe Example: Delay of 50 ms and bandwidth of 45 Mbps 50 x 10-3 seconds x 45 x 10 6 bits/second 2.25 x 10 6 bits = 280 KB data 50

Bandwidth-Delay Product Relevance: indicates the amount of data to keep in the pipe (bandwidth x RTT) in order to use work/link efficiently Because it takes RTT amount of time before an acknowledgement/response from destination is received Link type Bandwidth (typical) One-way distance (typical) Round-trip delay BDP Dial-up 56 kbps 10 km 87 μs 5 bits Wireless LAN 54 Mbps 50 m 0.33 μs 18 bits Satellite 45 Mbps 35,000 km 230 ms 10 Mb Cross-country fiber 10 Gbps 4,000 km 40 ms 400 Mb 51

Impact of High-Speed Networks In such works, latency, and not throughput, dominates our thinking about work design A 1-MB file would fill the 1-Mbps link 80 times, but only fill the 1-Gbps link 1/12 of one time 52

Protocol layers Networks are complex, with many pieces : hosts routers links of various media applications protocols hardware, software Question: is there any hope of organizing structure of work?. or at least our discussion of works? 53

Why layering? dealing with complex systems: explicit structure allows identification, relationship of complex system s pieces layered reference model for discussion modularization eases maintenance, updating of system change of implementation of layer s service transparent to rest of system e.g., change in gate procedure doesn t affect rest of system layering considered harmful? 54

Inter protocol stack application: supporting work applications FTP, SMTP, HTTP transport: process-process data transfer TCP, UDP work: routing of datagrams from source to destination IP, routing protocols link: data transfer between neighboring work elements Ether, 802.11 (WiFi), PPP physical: bits on the wire application transport work link physical 55

Inter hourglass 56

ISO/OSI reference model presentation: allow applications to interpret meaning of data, e.g., encryption, compression, machinespecific conventions session: synchronization, checkpointing, recovery of data exchange Inter stack missing these layers! these services, if needed, must be implemented in application needed? application presentation session transport work link physical 57

segment datagram frame message H l H t H n H t H n H t M M M M source application transport work link physical Encapsulation link physical switch H l H n H n H t H t H t M M M M destination application transport work link physical H l H n H n H t H t M M work link physical H n H t M router 58