CSE 434 Spring 2013 Computer Networks

Similar documents
end systems, access networks, links 1.3 network core

Computer Networking Introduction

Chapter 1 Introduction

Chapter I: Introduction

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

Chapter 1 Introduction

Computer Networking Introduction

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

Internet: A Brief Overview. Introduction 2-1

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

Network core and metrics

Chapter 1 Introduction

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

CS 4390 Computer Networks

Chapter 1. Computer Networks and the Internet

Fundamentals of Information Systems

Introduction to Computer Networks. Chapter 1: introduction

Overview on the Internet the current and future telecommunication network

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?

CS 3516: Advanced Computer Networks

Computer Networks & Security 2016/2017

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

Chapter 1 Introduction

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

A Whirlwind Introduction to the Internet Overview

Chapter 1: Introduction

Computer Networks. Lecture 1: Introduction. Computer Networking: A Top Down Approach. Dr. Yaoqing Liu

CSC 4900 Computer Networks: Introduction

CS 204: Advanced Computer Networks

Chapter 1 Introduction

Chapter 1: introduction

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

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

Packet-switching: store-and-forward

Internetworking Technology -

EECS 3214: Computer Network Protocols and Applications

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

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

TCN-5030 Computer Communications and Networking Technologies

EC441 Fall 2018 Introduction to Computer Networking Chapter 1: Introduction

LECTURE 1 - INTRODUCTION. Jacob Aae Mikkelsen

Introduction to Computer Networks. Roadmap

Chapter 1 Introduction

CS4491/02 Fog Computing. Network Basics

CSC 401 Data and Computer Communications Networks

Chapter 1 Computer Networks and the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

Telecommunication Networks Introduction

Chapter 1 Introduction

CS 471G Friday, 11 January Introduction 2-1

CS 3516: Computer Networks

Chapter 1 Introduction

Telecommunication Networks Introduction

CSEN 503 Introduction to Communication Networks

Chapter 1 Introduction

Internet: A Brief Overview. Chapter 1

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

Part I: Introduction. 1: Introduction 1

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

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

Chapter 1 Introduction

Suprakash Datta. Office: LAS 3043 Phone: ext Course page:

Informática y Comunicaciones. Chapter 1 Introduction to Communications

Lecture 2: Internet Structure

Fundamentals of Information Systems

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

Foundations of Telematics

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

CSE3213 Computer Network I

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

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

CMP-330 Computer Networks

ELE 543 Computer Network

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1 Introduction

Chapter 1: Introduction

Communication In Smart Grid Part1 (Basics of Networking)

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

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

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

Chapter 1 Introduction

Computer Networking: A Top Down Approach

COMP 562: Advanced Topics in Networking

Introduction to computer networking

Computer Networks and the internet. Daniel Graham Ph.D

Four sources of packet delay

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

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

Lecture 1 - Introduction

COMP 431 Internet Services & Protocols. A Whirlwind Introduction to the Internet ( Networking Nouns and Verbs ) Jasleen Kaur

Transcription:

CSE 434 Spring 2013 Computer Networks Georgios Varsamopoulos Arizona State University

What is this course about? Students will learn How works are designed and structured What is the architecture of the Inter and other works Some examples of how they are implemented Assess the performance of a work Students will be able to Understand and solve performance problems on works Argue on possible improvements on works

Course Info Instructor Georgios Varsamopoulos BY 514 M, W, 1:30pm 2:00pm Teaching Assistant Priyanka Bagade BYENG 517BA M, W, 2pm-3pm Use of webpage http://impact.asu.edu/cse434sp13.html for material, Use of Blackboard as a dropbox (SafeAssign) Take Notes! Most testing methods are open-note. Textbook: Computer Networking: a top-down approach, 6 th Edition. James F. Kurose & Keith W. Ross, Pearson, ISBN: 0-13-285620-4

About the instructor Name: Georgios Varsamopoulos Title: Research Assistant Professor Joined ASU: 2007 as a post-doctorate researcher Research Lab Impact Lab: http://impact.asu.edu/ Research Projects (REU positions available) Thermal-aware and sustainable management of computing systems BlueTool: Research Infrastructure for sustainable data centers Interests resource allocation and management, computer works, sustainable computing, performance optimization, cyberphysical models

Concerns Your Concerns Amount of work Difficulty of programming Required background Usefulness of the course My concerns Here-for-grade or here-fordegree mentality Starting homework a couple of days before it is due Not using knowledge from previous experience Not participating and not challenging the information given Plagiarism and other forms of cheating Seeing students give up and fail

Course Workload Quizzes roughly on a biweekly basis About 8 homework assignments 4 homeworks 4 programming assignments Three exams Midterm 1: End of February Midterm 2: End of March Final exam Grading distribution: 10% homework assignments 5% quizzes 25% programming assignments 20% each exam (60% altogether) Grading Rubric: Ability to solve problem Understanding of background Creativity Clarity

My biggest concern Technical writing is technical, and your documents are technical engineering documents. Engineering documents contain figures and diagrams Technical writing skill In five words: brief, exact, complete, clear, and mathematical Research resources The quality and authenticity of your sources is a defining factor of your work's quality The web and wikipedia is ok as a start. Did you know of Google Scholar (scholar.google.com)? Have you ever used the ACM and IEEE online libraries?

Chapter 1: introduction our goal: get feel and terminology more depth, detail later in course approach: use Inter as example overview: what s the Inter? what s a protocol? work edge; hosts,, physical media work core: packet/circuit switching, Inter structure performance: loss, delay, throughput security protocol layers, service models history Introduction 1-8

Chapter 1: roadmap 1.1 what is the Inter? 1.2 work edge end systems, works, links 1.3 work core packet switching, circuit switching, work structure 1.4 delay, loss, throughput in works 1.5 protocol layers, service models 1.6 works under attack: security 1.7 history Introduction 1-9

What s the Inter: nuts and bolts view PC server wireless laptop smartphone wireless links wired links millions of connected computing devices: hosts = end systems running work apps communication links fiber, copper, radio, satellite transmission rate: bandwidth mobile work home work global ISP regional ISP router Packet switches: forward packets (chunks of data) routers and switches institutional work Introduction 1-10

What s the Inter: nuts and bolts view Inter: work of works Interconnected ISPs protocols control sending, receiving of msgs e.g., TCP, IP, HTTP, Skype, 802.11 Inter standards RFC: Request for comments IETF: Inter Engineering Task Force mobile work home work global ISP regional ISP institutional work Introduction 1-11

What s the Inter: a service view Infrastructure that provides services to applications: Web, VoIP, email, games, e- commerce, social s, provides programming interface to apps hooks that allow sending and receiving app programs to connect to Inter provides service options, analogous to postal service mobile work home work institutional work global ISP regional ISP Introduction 1-12

What s a protocol? human protocols: what s the time? I have a question introductions specific msgs sent specific actions taken when msgs received, or other events work protocols: machines rather than humans all communication activity in Inter governed by protocols protocols define format, order of msgs sent and received among work entities, and actions taken on msg transmission, receipt Introduction 1-13

What s a protocol? a human protocol and a computer work protocol: Hi Hi Got the time? 2:00 time TCP connection request TCP connection response Get http://www.awl.com/kurose-ross <file> Q: other human protocols? Introduction 1-14

Chapter 1: roadmap 1.1 what is the Inter? 1.2 work edge end systems, works, links 1.3 work core packet switching, circuit switching, work structure 1.4 delay, loss, throughput in works 1.5 protocol layers, service models 1.6 works under attack: security 1.7 history Introduction 1-15

A closer look at work structure: work edge: hosts: clients and servers servers often in data centers works, physical media: wired, wireless communication links mobile work home work global ISP regional ISP work core: interconnected routers work of works institutional work Introduction 1-16

Access works and physical media Q: How to connect end systems to edge router? residential s institutional works (school, company) mobile works keep in mind: bandwidth (bits per second) of work? shared or dedicated? Introduction 1-17

Access : digital subscriber line (DSL) central office telephone work DSL modem splitter voice, data transmitted at different frequencies over dedicated line to central office DSLAM DSL multiplexer ISP use existing telephone line to central office DSLAM data over DSL phone line goes to Inter voice over DSL phone line goes to telephone < 2.5 Mbps upstream transmission rate (typically < 1 Mbps) < 24 Mbps downstream transmission rate (typically < 10 Mbps) Introduction 1-18

Introduction Access : cable work cable modem splitter cable headend Channels V I D E O V I D E O V I D E O V I D E O V I D E O V I D E O D A T A D A T A C O N T R O L 1 2 3 4 5 6 7 8 9 frequency division multiplexing: different channels transmitted in different frequency bands 1-19

Access : cable work cable headend cable modem splitter data, TV transmitted at different frequencies over shared cable distribution work CMTS cable modem termination system ISP HFC: hybrid fiber coax asymmetric: up to 30Mbps downstream transmission rate, 2 Mbps upstream transmission rate work of cable, fiber attaches homes to ISP router homes share work to cable headend unlike DSL, which has dedicated to central office Introduction 1-20

Access : home work wireless devices often combined in single box to/from headend or central office cable or DSL modem wireless point (54 Mbps) router, firewall, NAT wired Ether (100 Mbps) Introduction 1-21

Enterprise works (Ether) institutional link to ISP (Inter) institutional router Ether switch institutional mail, web servers typically used in companies, universities, etc 10 Mbps, 100Mbps, 1Gbps, 10Gbps transmission rates today, end systems typically connect into Ether switch Introduction 1-22

Wireless works shared wireless work connects end system to router via base station aka point wireless LANs: within building (100 ft) 802.11b/g (WiFi): 11, 54 Mbps transmission rate wide-area wireless provided by telco (cellular) operator, 10 s km between 1 and 10 Mbps 3G, 4G: LTE to Inter to Inter Introduction 1-23

Host: sends packets of data host sending function: takes application message breaks into smaller chunks, known as packets, of length L bits transmits packet into work at transmission rate R link transmission rate, aka link capacity, aka link bandwidth 2 host 1 two packets, L bits each R: link transmission rate packet transmission delay time needed to transmit L-bit packet into link = = L (bits) R (bits/sec) 1-24

Physical media bit: propagates between transmitter/receiver pairs physical link: what lies between transmitter & receiver guided media: signals propagate in solid media: copper, fiber, coax unguided media: signals propagate freely, e.g., radio twisted pair (TP) two insulated copper wires Category 5: 100 Mbps, 1 Gpbs Ether Category 6: 10Gbps Introduction 1-25

Physical media: coax, fiber coaxial cable: two concentric copper conductors bidirectional broadband: multiple channels on cable HFC fiber optic cable: glass fiber carrying light pulses, each pulse a bit high-speed operation: high-speed point-to-point transmission (e.g., 10 s-100 s Gpbs transmission rate) low error rate: repeaters spaced far apart immune to electromagic noise Introduction 1-26

Physical media: radio signal carried in electromagic spectrum no physical wire bidirectional propagation environment effects: reflection obstruction by objects interference radio link types: terrestrial microwave e.g. up to 45 Mbps channels LAN (e.g., WiFi) 11Mbps, 54 Mbps wide-area (e.g., cellular) 3G cellular: ~ few Mbps satellite Kbps to 45Mbps channel (or multiple smaller channels) 270 msec end-end delay geosynchronous versus low altitude Introduction 1-27

Chapter 1: roadmap 1.1 what is the Inter? 1.2 work edge end systems, works, links 1.3 work core work structure, packet switching, circuit switching 1.4 delay, loss, throughput in works 1.5 protocol layers, service models 1.6 works under attack: security 1.7 history Introduction 1-28

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

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

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.

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

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

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

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

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

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

Tier-1 ISP: e.g., Sprint Introduction 1-38

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 Introduction 1-39

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

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: 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 Introduction 1-41

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 Network Layer 4-42

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 Introduction 1-43

Circuit switching: FDM versus TDM FDM Example: 4 users frequency TDM time frequency time Introduction 1-44

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 Introduction 1-45

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)? Introduction 1-46

Chapter 1: roadmap 1.1 what is the Inter? 1.2 work edge end systems, works, links 1.3 work core packet switching, circuit switching, work structure 1.4 delay, loss, throughput in works 1.5 protocol layers, service models 1.6 works under attack: security 1.7 history Introduction 1-47

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 Introduction 1-48

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 Introduction 1-49

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 Introduction 1-50

Caravan analogy ten-car caravan toll booth 100 km 100 km toll booth cars propagate at 100 km/hr toll booth takes 12 sec to service car (bit transmission time) car~bit; caravan ~ packet Q: How long until caravan is lined up before 2nd toll booth? time to push entire caravan through toll booth onto highway = 12*10 = 120 sec time for last car to propagate from 1st to 2nd toll both: 100km/(100km/hr)= 1 hr A: 62 minutes Introduction 1-51

Caravan analogy (more) 100 km 100 km ten-car caravan toll booth toll booth suppose cars now propagate at 1000 km/hr and suppose toll booth now takes one min to service a car Q: Will cars arrive to 2nd booth before all cars serviced at first booth? A: Yes! after 7 min, 1st car arrives at second booth; three cars still at 1st booth. Introduction 1-52

average queueing delay Queueing delay (revisited) R: link bandwidth (bps) L: packet length (bits) a: average packet arrival rate traffic intensity = La/R La/R ~ 0: avg. queueing delay small La/R -> 1: avg. queueing delay large 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 Introduction 1-53

Real Inter delays and routes what do real Inter delay & loss look like? traceroute program: provides delay measurement from source to router along endend 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 Introduction 1-54

Real Inter delays, 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 Introduction 1-55

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 Introduction 1-56

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 with bits (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) Introduction 1-57

Throughput (more) R s < R c What is average end-end throughput? R s bits/sec R c bits/sec 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 Introduction 1-58

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