CSE/EE 461 Computer Networks

Similar documents
CSE/EE 461 Fall Introduction to Computer Communication Networks. This Lecture. 1. Administrative Stuff. Steve Gribble

technologies you know of Networks and network

CSE 461: Introduction

CSE 461 Multiple Access. David Wetherall

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

EECS 228a Lecture 1 Overview: Networks. Jean Walrand

!! Due next week (week 3), start of class. !! Electronic turnin. !! No class trawler (do that for Fishnet #2) !! On web site

CSCI Computer Networks

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

CS519: Computer Networks

ECE 650 Systems Programming & Engineering. Spring 2018

CSC 4900 Computer Networks: Introduction

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Outline: Connecting Many Computers

Chapter 8: Multiplexing

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

Lecture 2: Internet Structure

Lecture 2 Physical Layer - Multiplexing

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

Chapter 15 Local Area Network Overview

CSE/EE 461 Section 2

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

A closer look at network structure:

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

Defining the Internet

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

end systems, access networks, links 1.3 network core

CSC 4900 Computer Networks: The Link Layer

ITP 140 Mobile Applications Technologies. Networks

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

Switching, Mobile Phones, Cable, Beginning Data Link Layer. CS158a Chris Pollett Feb 21, 2007.

Basic Concepts. CS168, Fall 2014 Sylvia Ratnasamy h<p://inst.eecs.berkeley.edu/~cs168/fa14/

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CS 332: Computer Networks Introduction

Message, Segment, Packet, and Frame Link-layer services Encoding, framing, error detection, transmission control Error correction and flow control

Chapter 5: Link layer

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

Welcome to: Computer Science 457 Networking and the Internet. Fall 2014 Dr. Joseph Gersch

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

Chapter 1: introduction

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

UNIT- 2 Physical Layer and Overview of PL Switching

Lecture 9: Bridging & Switching"

Broadcast Links, Addressing and Media Access Control. Link Layer B. Link and Physical Layers. MAC Addresses

Computer Networking Introduction

ECE453 Introduction to Computer Networks. Broadcast vs. PPP. Delay. Lecture 7 Multiple Access Control (I)

Communication Networks

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Some portions courtesy Srini Seshan or David Wetherall

Chapter - 7. Multiplexing and circuit switches

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

CSCI Computer Networks

Welcome to: Computer Science 457 Networking and the Internet. Fall 2016 Indrajit Ray

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Physical Layer: Multiplexing, Spectrum Spreading and Switching. Covers Chapters# 06 & 08 from Text Book

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

CS 3516: Computer Networks

ECE 158A: Lecture 13. Fall 2015

15-441: Computer Networking. Wireless Networking

CSIS Frequency Division Multiplexing. Basic Types of Multiplexing. Frequency Division Multiplexing. Frequency Division Multiplexing.

ITP 140 Mobile Applications Technologies. Networks

CS 416: Operating Systems Design April 11, 2011

JAMES F. KUROSE AND KEITH W. ROSS

Why am I not getting advertised speeds on my Wi-Fi network? What is the difference when using a Wired vs. Wireless connection?

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Overview of Networks

CSE 461: Introduction. Outline

Chapter 5 Link Layer and LANs

Network Programming I Computer Network Design

CS 162 Operating Systems and Systems Programming Professor: Anthony D. Joseph Spring Lecture 19: Networks and Distributed Systems

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

Lesson 1: Network Communications

ET4254 Communications and Networking 1

Welcome to CS 340 Introduction to Computer Networking

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

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Link Layer: Retransmissions

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Electrical and Computer Engineering Technology

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

ECE 4450:427/527 - Computer Networks Spring 2017

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

CHAPTER TWO LITERATURE REVIEW

CSE 123A Computer Networks

CS 471G Friday, 11 January Introduction 2-1

Redes de Computadores. Medium Access Control

ENGI 4557 Digital Communications Practice Problems 2017 (Part 2)

Class X Subject : IT (Vocational) Chapter -1 Ouestion / Answer

What Global (non-digital) Communication Network Do You Use Every Day?"

Introduction Distributed Systems

Local Area Network Overview

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

Lecture #6 Multiplexing and Switching

CSE 123A Computer Networks

Transcription:

CSE/EE 461 Computer Networks Brian Bershad Bershad@cs.washington.edu

Administration Generally, check the web site Grading Final: 40% Midterm: 25% Homework: 30% Quizzes: 5% Policies Late policy: Don t be late. Partner policy: Work alone. Cheating policy: Don t cheat. bershad // CSE/EE 461.2

This Week Readings CN:Chapter 1, Chapter 2 through end of 2.5 HW 1 due Thurs HW 2 out Wed Mostly based on readings Due Fri Jan 20 After that, we go to a Fri out/fri in schedule Topics Network principles (today) Elements of network protocols (wed) Reliable transmission (fri) bershad // CSE/EE 461.3

A Computer Communications Network Network is clearly an overloaded word: Economic networks, regulatory networks, social networks Telephone, Cable TV, Bank tellers, computer clusters For 461, a network is what you get anytime you connect two or more computers together by some kind of a link. OR bershad // CSE/EE 461.4

Essential terms Node Bandwidth Link Aggregate Bandwidth Latency Round-trip time Switch/Router Bandwidth Aggregate (bisection) Bandwidth Protocol Message syntax and semantics Throughput BW achieved by a protocol bershad // CSE/EE 461.5

The networks we study We are interested in networks that are: Large scale Intrinisically Unreliable Distributed Heterogeneous bershad // CSE/EE 461.6

The meaning of Large-scale 1 BILLION Why does scale matter? 1 bershad // CSE/EE 461.7

Some Famous Non Scalable Artifacts A basic design concept goes out of whack relative to some other one bershad // CSE/EE 461.8

Intrinsic Unreliability Information sent from a first place to a second May not arrive May arrive more than once. May arrive in garbled fashion May arrive before other subsequently sent information from that same first place May arrive after other previously sent information sent from that same first place May be read by others May be written by others Why build intrinsically unreliable networks? bershad // CSE/EE 461.9

Distributed A distributed system is a system in which I can t do my work because some computer has failed that I ve never even heard of. Lamport (Hopefully) independent failure modes Exposed and hidden dependencies Independent administrative controls bershad // CSE/EE 461.10

Heterogeneity Heterogeneous: Made up of different kinds of stuff Homogeneous: Made up of the same kind of stuff Principle 1: Homogeneous networks are easier to deal with, but more difficult to scale Consider telephone network vs Internet Principle 2: Heterogeneous networks lead to greater innovation Consider telephone network vs Internet Reasons? bershad // CSE/EE 461.11

Model of a Network Links carry information (bits) Wire, wireless, fiber optic, smoke signals May be point-to-point or broadcast Switches move bits between links Routers, gateways,bridges, CATV headend, PABXs, Hosts are the communication endpoints PC, PDA, cell phone, tank, toaster, Hosts have names Much other terminology: channels, nodes, intermediate systems, end systems, and much more. bershad // CSE/EE 461.12

Example Local Area Network Ethernet Hub Cable Printer Modem PC Laptop bershad // CSE/EE 461.13

Example An Internetwork ISP 2 ISP 1 Local Net 1 Local Net 2 Internetwork is a network of networks The Internet is a global internetwork in which all participants speak a common language IP, the Internet Protocol Sharing is everywhere bershad // CSE/EE 461.14

Sharing The Vacation Home Problem N families One Vacation Home. How to coordinate access to the home? Option 0: Do nothing Conflicts Option 1: Time share Each family gets the whole vacation every N weeks Option 2: Space share Each family gets one bedroom in the vacation home anytime they want it Q: Why not just buy more homes? bershad // CSE/EE 461.15

A Network is like a vacation home Problem: How to multiplex (share) a resource amongst multiple users, especially sharing a network? First Solution: Static Partitioning Like the condo solution Families are nodes Home is the link Really, two kinds of static partitioning (Synchronous) Time Division Multiplexing (TDM, STDM) ( the smiths get it even weeks, the jones get it the others ) Frequency Division Multiplexing (FDM) ( the smiths stay on the first floor, the jones get the second ) bershad // CSE/EE 461.16

(STATIC) Frequency Division Multiplexing Simultaneous transmission in different frequency bands Speaking at different pitches (or, staying on different floors) Eg, Take One 3MHz signal and break it into 1000 3KHz signals Analog: RadiøTV, AMPS cell phones (800MHz) Also called Wavelength DMA (WDMA) for fiber phone call freq guard bands Pros and Cons? bershad // CSE/EE 461.17

(STATIC) Time Division Multiplexing Slice up the given frequency band between users Speaking at different times Staying at different times Digital: used extensively inside the telephone network T1 (1.5Mbps) is 24 x 8 bits/125us; also E1 (2Mbps, 32 slots) timeslot time Pros and Cons? bershad // CSE/EE 461.18

Statistical Multiplexing Static partitioning schemes (which assume peak rate) are not wellsuited to data communications because peak rate >> average rate. In other words, it s rare for the whole family to show up in a given week. Much more likely is nobody shows up, or just a few do. Consequently rooms, or whole vacation homes, go unused. Consider one condo, multiple floors, but only one bathroom. If we share on demand we can support more users Based on the statistics of their transmissions If you need more, you get more. If you need less, you get less. It s all supposed to balance out in the end Occasionally we might be oversubscribed This is called statistical multiplexing Statistical multiplexing is heavily used in data networks bershad // CSE/EE 461.19

Statistical Multiplexing Consider: 10 Mbps peak bandwidth (p) Each node sends at 1 Mbps (b) Each node is idle 90% of the time. Prob[Node is sending] = 10% =.1 How many nodes (n) can this system support? Static partitioning: n = p/b First mbps to first node, second to second node, Can support 10 nodes with probability 1 Q: what is probability of supporting 11 nodes? Statistical multiplexing: n is defined with some probability pn = # peak nodes (nodes required to saturate) Pr[Node_i can send] = 1-Pr[saturated] Pr[saturated] = Pr[p/b nodes are sending] For example, consider a network with 10 nodes» Pr[saturated] = 10-10 = 0.0000000100%» Not likely! So keep adding users bershad // CSE/EE 461.20

How many nodes can we add? Equivalent to asking what is the probability that at least p/b of n nodes are sending at the same time? how many different ways can k = p/b nodes be sending at once? But order doesn t matter --> C(n,k) = P(n,k) / k! Or, how many different ways can k = p/b nodes be sending at once? Pr[saturated] = Pr[p/b nodes are sending] * C(n,k) For n = 20, there are C(n,k) = 184756 ways in which 10 nodes can be sending, so Pr[saturated] =.000018. bershad // CSE/EE 461.21

Turning the crank Many users NOTE: this assumes =p/b, not >= p/b! bershad // CSE/EE 461.22

Key Concepts Scalability Networks are comprised of links, switches and hosts Networks are used to share distributed resources Multiplexing lets multiple users share a resource Static multiplexing is simple, but not efficient unless the workloads are static Statistical multiplexing is more complicated and not guaranteed to work but well-suited to data communications (bursty traffic) bershad // CSE/EE 461.23