RTT 60.5 msec receiver window size: 32 KB



Similar documents
Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Based on Computer Networking, 4 th Edition by Kurose and Ross

11/22/

Introduction to Ethernet

Direct Link Networks. Introduction. Physical Properties. Lecture - Ethernet 1. Areas for Discussion. Ethernet (Section 2.6)

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Controlled Random Access Methods

ECE 358: Computer Networks. Homework #3. Chapter 5 and 6 Review Questions 1

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

Data Link Layer. Page 1. Ethernet

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Gigabit Ethernet: Architectural Design and Issues

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

EPL 657 Wireless Networks

Collision of wireless signals. The MAC layer in wireless networks. Wireless MAC protocols classification. Evolutionary perspective of distributed MAC

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

CSMA/CA. Information Networks p. 1

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

1 Which network type is a specifically designed configuration of computers and other devices located within a confined area? A Peer-to-peer network

WIRELESS ETHERNET (IEEE )

CSE 123A Computer Networks

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Gigabit Ethernet. Abstract. 1. Introduction. 2. Benefits of Gigabit Ethernet

CS263: Wireless Communications and Sensor Networks

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Wired & Wireless LAN Connections

Network Categories. Network Types for the Local Range. Ethernet

LAN Performance Measurements Lab

What is it all about? Some simple solutions. Multiple Access. Contexts for the multiple access problem. Outline. Contexts

Performance Evaluation of Wired and Wireless Local Area Networks

COMPUTER NETWORKS HANDOUTS LECTURERS # PREPARED BY: HAMMAD KHALID KHAN. Copyright Virtual University of Pakistan

Network Categories. Network Types for the Local Range. Ethernet. Carrier Sense Multiple Access

LAN / WAN Technologies

frequency experienced by mobile is not f but distorted version of f: call it f

... neither PCF nor CA used in practice

Data Link Protocols. Link Layer Services. Framing, Addressing, link access: Error Detection:

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Ethernet, VLAN, Ethernet Carrier Grade

How To Make A Multi-User Communication Efficient

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Chapter 7 Low-Speed Wireless Local Area Networks

Industrial Networks & Databases. Protocols and Networks - Device Bus - - Field Bus -

Introduction, Rate and Latency

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

RESOURCE ALLOCATION FOR INTERACTIVE TRAFFIC CLASS OVER GPRS

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

IT Data Communication and Networks (Optional)

ECE/CS 372 introduction to computer networks. Lecture 13

RFC 2544 Testing of Ethernet Services in Telecom Networks

Final for ECE374 05/06/13 Solution!!

IT4405 Computer Networks (Compulsory)

Random Access Protocols

Performance Measurement of Wireless LAN Using Open Source

Local Area Network. OSI Seven Layer Model. Whole Building Network

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Ring Local Area Network. Ring LANs

CSCI Topics: Internet Programming Fall 2008

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Network Technologies

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

- Hubs vs. Switches vs. Routers -

Supporting VoIP in IEEE Distributed WLANs

Lesson 2-3: Ethernet Basics

Wireless LAN Concepts

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

Selecting a Web Server Connection Rate Gilbert Held

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Lecture 7 Multiple Access Protocols and Wireless

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

CWNA: Official Certification Guide Unit 1 Introduction to Wireless LANs

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

First Semester Examinations 2011/12 INTERNET PRINCIPLES

Cabling LANs and WANs

Mobile Communications Exercise: Satellite Systems and Wireless LANs. Georg von Zengen, IBR, TU Braunschweig,

Introduction To Computer Networks

Wireless LAN Protocol CS 571 Fall Kenneth L. Calvert All rights reserved

Frame Burst Adjusting for Transmitting Video Conference in Gigabit Ethernet

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

First Midterm for ECE374 03/09/12 Solution!!

ECE 428 Computer Networks and Security

Local-Area Network -LAN

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Ethernet Passive Optical Networks EPON

Chapter 4 Connecting to the Internet through an ISP

Improving Throughput Performance of the IEEE MAC Layer Using Congestion Control Methods

How To Communicate With A Token Ring Network (Dihon)

Exhibit n.2: The layers of a hierarchical network

Algorithms for Interference Sensing in Optical CDMA Networks

Introduction to Computer

Transcription:

Real-World ARQ Performance: TCP Ex.: Purdue UCSD Purdue (NSL): web server UCSD: web client traceroute to planetlab3.ucsd.edu (132.239.17.226), 30 hops max, 40 byte packets 1 switch-lwsn2133-z1r11 (128.10.27.250) 0.483 ms 0.344 ms 0.362 ms 2 lwsn-b143-c6506-01-tcom (128.10.127.251) 0.488 ms 0.489 ms 0.489 ms 3 172.19.57.1 (172.19.57.1) 0.486 ms 0.488 ms 0.489 ms 4 tel-210-m10i-01-campus.tcom.purdue.edu (192.5.40.54) 0.614 ms 0.617 ms 0.615 ms 5 gigapop.tcom.purdue.edu (192.5.40.134) 1.743 ms 1.679 ms 1.727 ms 6 * * * 7 * * * 8 * * * 9 hpr-lax-hpr--nlr-packenet.cenic.net (137.164.26.130) 56.919 ms 56.919 ms 57.658 ms 10 hpr-ucsd-10ge--lax-hpr.cenic.net (137.164.27.165) 60.326 ms 60.198 ms 60.196 ms 11 nodeb-720--ucsd-t320-gw-10ge.ucsd.edu (132.239.255.132) 60.326 ms 60.370 ms 75.130 ms RTT 60.5 msec receiver window size: 32 KB

10 8 1s aggregation (receive window)/(rtt) = 32KB / (60.5ms) throughput (Mbps) 6 4 2 0 0 2 4 6 8 10 12 14 16 time (second) 0 0.1 0.2 0.3 0.4 0.5 0.5 0.6 0.7 0.8 0.9 1 1 1.1 1.2 1.3 1.4 1.5 1.5 1.6 1.7 1.8 1.9 2 2 2.1 2.2 2.3 2.4 2.5 2.5 2.6 2.7 2.8 2.9 3 3 3.1 3.2 3.3 3.4 3.5 3.5 3.6 3.7 3.8 3.9 4 4 4.1 4.2 4.3 4.4 4.5 4.5 4.6 4.7 4.8 4.9 5

Ex.: Purdue Rutgers Purdue: web server Rutgers: web client traceroute to planetlab1.rutgers.edu (165.230.49.114), 30 hops max, 40 byte packets 1 switch-lwsn2133-z1r11 (128.10.27.250) 12.336 ms 0.339 ms 0.362 ms 2 lwsn-b143-c6506-01-tcom (128.10.127.251) 0.489 ms 0.491 ms 0.488 ms 3 172.19.57.1 (172.19.57.1) 0.490 ms 0.488 ms 0.489 ms 4 tel-210-m10i-01-campus.tcom.purdue.edu (192.5.40.54) 0.614 ms 0.615 ms 0.614 ms 5 switch-data.tcom.purdue.edu (192.5.40.166) 2.864 ms 2.865 ms 2.864 ms 6 abilene-ul.indiana.gigapop.net (192.12.206.249) 2.988 ms 13.608 ms 3.113 ms 7 chinng-iplsng.abilene.ucaid.edu (198.32.8.76) 6.740 ms 6.875 ms 6.859 ms 8 ge-0-0-0.10.rtr.chic.net.internet2.edu (64.57.28.1) 7.113 ms 6.975 ms 6.986 ms 9 so-3-0-0.0.rtr.wash.net.internet2.edu (64.57.28.13) 29.349 ms 24.086 ms 23.626 ms 10 ge-1-0-0.418.rtr.chic.net.internet2.edu (64.57.28.10) 44.786 ms 28.822 ms 28.839 ms 11 local.internet2.magpi.net (216.27.100.53) 30.723 ms 30.818 ms 30.744 ms 12 phl-02-09.backbone.magpi.net (216.27.100.229) 31.045 ms 36.644 ms 30.839 ms 13 remote.njedge.magpi.net (216.27.98.42) 33.221 ms 33.021 ms 33.087 ms 14 er01-hill-ext.runet.rutgers.net (198.151.130.233) 33.229 ms 33.207 ms 33.217 ms RTT 34 msec receiver window size: 32 KB

10 1s aggregation (receive window) / (RTT) = 32KB / (34ms) throughput (Mbps) 8 6 4 2 0 0 1 2 3 4 5 6 7 8 9 time (second) 0 0.1 0.2 0.3 0.4 0.5 0.5 0.6 0.7 0.8 0.9 1 1 1.1 1.2 1.3 1.4 1.5 1.5 1.6 1.7 1.8 1.9 2 2 2.1 2.2 2.3 2.4 2.5 2.5 2.6 2.7 2.8 2.9 3 3 3.1 3.2 3.3 3.4 3.5 3.5 3.6 3.7 3.8 3.9 4 4 4.1 4.2 4.3 4.4 4.5 4.5 4.6 4.7 4.8 4.9 5

Ex.: Purdue Korea University (Seoul) Purdue: web server KU: web client 1 switch-lwsn2133-z1r11 (128.10.27.250) 0.513 ms 10.061 ms 0.358 ms 2 lwsn-b143-c6506-01-tcom (128.10.127.251) 0.487 ms 0.476 ms 0.364 ms 3 172.19.57.1 (172.19.57.1) 0.489 ms 0.475 ms 0.490 ms 4 tel-210-m10i-01-campus.tcom.purdue.edu (192.5.40.54) 0.613 ms 0.600 ms 0.614 ms 5 switch-data.tcom.purdue.edu (192.5.40.166) 7.982 ms 7.969 ms 14.596 ms 6 abilene-ul.indiana.gigapop.net (192.12.206.249) 8.977 ms 7.721 ms 6.857 ms 7 kscyng-iplsng.abilene.ucaid.edu (198.32.8.81) 36.860 ms 25.873 ms 29.075 ms 8 dnvrng-kscyng.abilene.ucaid.edu (198.32.8.13) 24.218 ms 23.125 ms 36.317 ms 9 snvang-dnvrng.abilene.ucaid.edu (198.32.8.1) 47.815 ms 78.440 ms 54.048 ms 10 losang-snvang.abilene.ucaid.edu (198.32.8.94) 55.080 ms 55.131 ms 60.674 ms 11 transpac-1-lo-jmb-702.lsanca.pacificwave.net (207.231.240.136) 55.165 ms 55.212 ms 59.1 12 tokyo-losa-tp2.transpac2.net (192.203.116.146) 175.068 ms 170.832 ms 170.444 ms 13 tyo-gate1.jp.apan.net (203.181.248.249) 170.488 ms 170.893 ms 171.818 ms 14 sg-so-02-622m.bb-v4.noc.tein2.net (202.179.249.5) 277.150 ms 275.966 ms 276.136 ms 15 kr.pr-v4.noc.tein2.net (202.179.249.18) 278.422 ms 276.486 ms 280.132 ms 16 61.252.48.182 (61.252.48.182) 276.170 ms 279.606 ms 279.421 ms 17 202.30.43.45 (202.30.43.45) 271.663 ms 269.492 ms 268.761 ms 18 honeungl3-seoul.kreonet.net (134.75.120.2) 269.781 ms 269.913 ms 273.516 ms 19 203.241.173.74 (203.241.173.74) 272.663 ms 278.774 ms 270.902 ms RTT 292 msec long route to Korea (via Singapore) receiver window size: 32 KB

throughput (Mbps) 10 9 8 7 6 5 4 3 2 1 0 1s aggregation (receive window)/(rtt) = 32KB / (292ms) 0 5 10 15 20 25 30 35 40 time (second) 0 0.1 0.2 0.3 0.4 0.5 0.5 0.6 0.7 0.8 0.9 1 1 1.1 1.2 1.3 1.4 1.5 1.5 1.6 1.7 1.8 1.9 2 2 2.1 2.2 2.3 2.4 2.5 2.5 2.6 2.7 2.8 2.9 3 3 3.1 3.2 3.3 3.4 3.5 3.5 3.6 3.7 3.8 3.9 4 4 4.1 4.2 4.3 4.4 4.5 4.5 4.6 4.7 4.8 4.9 5

Increase receiver window size: 128 KB 4-fold increase throughput (Mbps) 10 9 8 7 6 5 4 3 2 1 0 1s aggregation (sender window)/(rtt) = 64KB / (292ms) 0 2 4 6 8 10 12 14 16 18 time (second) why only 2-fold throughput increase?

Increase receiver window size: 8 MB also increase sender buffer size to 4 MB RTT 185 msec (short route to Korea) throughput (Mbps) 200 180 160 140 120 100 80 60 40 20 0 (sender window)/(rtt) = 4MB / 185ms 0 5 10 15 20 time (second) around 90 Mbps download time for 10 MB file? can be confused with DoS (denial-of-service) attack why less than 180 Mbps?

Link Layer: Wired Media Multi-Access Communication Bandwidth sharing: two approaches contention-free e.g., TDM, FDM, TDMA, CDMA, token ring used in telephony and broadband data networks contention-based e.g., CSMA/CD, CSMA/CA used in Ethernet, WLAN... also called MAC (medium access control)

broadband: FDM, TDMA, CDMA baseband: TDM, multiple access Contention-free MAC: how to keep discussion orderly? moderator i.e., prior allocation of bandwidth

Contention-based MAC: single carrier frequency shared by many no moderator much less structured interference between conversations

Basic features: To send data, just send If two or more users send at the same time, data can become junk (i.e., bit flips) called collision collision need not always cause bit flips Can get pretty chaotic used in real systems? yes, ALOHA (1970s) packet network connecting Univ. of Hawaii campuses 30 years before boom of wireless networks! today s technology: hasn t changed much

Additional features (optional): NIC can detect if someone else is using the channel called carrier sense (CS) rule: if someone else talks, don t talk impose gentlemanly (i.e., cooperative) behavior NIC can detect if collision has occurred called collision detection (CD) not always possible In real systems: Ethernet: CS + CD WLAN: CS Why not just use TDM?

Benefits of contention-based MAC: when not too many users, faster response time minimal coordination overhead e.g.: in TDM need to request and reserve slots decentralized minimal configuration overhead to join: just send except for security concerns (e.g., Purdue s PAL) a good idea?

Drawbacks of contention-based MAC: when many users, degraded throughput collision wastes slots, i.e., bandwidth lack of QoS (quality of service) assurances you get what you get ; called best effort problematic for real-time traffic, e.g., telephony When to use what? contention-free vs. contention-based

Ethernet copper, fiber Types: 10Base2 (ThinNet): coax, segment length 200 m, 30 nodes/segment 10Base5 (ThickNet): coax, segment length 500 m, 100 nodes/segment 10Base-T: twisted pair, segment length 100 m, 1024 nodes/segment 100Base-T (Fast Ethernet): category 5 UTP, fiber (also 100VG-AnyLAN) Gigabit & 10 Gbps Ethernet: fiber, category 5 UTP 100 Gbps Ethernet: soon

Connectivity example: NIC NIC 1 2 BNC, DB-15 RJ-45 10Base-T coax cable transceiver (MAU) HUB 10Base2, 10Base5 category 3, 5 UTP single-homed vs. multi-homed unique 48-bit Ethernet address per NIC physical network: bus vs. hub vs. switch very old vs. old vs. not-so-old

High-speed Ethernets have shorter network diameter about 2500 m for 10 Mbps Ethernet about 200 m for 100 Mbps Ethernet even shorter for 1 Gbps Ethernet distance limitations: due to Ethernet protocol creates complications for long-haul i.e., tens, hundreds, or thousands of miles 1 and 10 Gbps: popular tier-1 backbone speeds

DIX Ethernet frame: 8 6 6 2 46-1500 4 1 preamble source address dest. address body CRC type postamble IEEE 802.3 Ethernet frame: 8 6 6 2 46-1500 4 1 preamble source address dest. address body CRC length 8 postamble LLC header IEEE 802.2 LLC (Logical Link Control) two Ethernet types co-exist

Encoding: Manchester note: Ethernet is baseband Addressing: 48 bit unique address point-to-point broadcast (all 1 s) Receiver: Ethernet NIC accepts frames with relevant address. accepts only own frame address default accepts all frames: called promiscuous mode can set with root privilege useful for traffic monitoring/sniffing

Ethernet MAC protocol: CSMA/CD MA (Multiple Access): multiple nodes are allowed simultaneous access just send CS (Carrier Sense): can detect if some other node is using the link rule: if busy, wait until channel is not busy CD (Collision Detection): can detect if collision due has occured rule: if collision, retry later key question: when is later? Wired (Ethernet) vs. wireless (WLAN): CD is key difference wireless: difficult to detect collision

Signal propagation and collision: Bi-directional propagation terminator absorbs signal: prevent bounce back terminator Best-case collision: 2 stations meet in the middle: why? what is the worst-case? collision

Worst-case collision scenario: τ: one-way propagation delay sender needs to wait 2τ sec before detecting collision time for echo to bounce back for 2500 m length, 51.2 µs round-trip time (2τ) enforce 51.2 µs slot time at 10 Mbps, 512 bits; i.e., minimum frame size assures collision detection wireless: bounceback problem

Transmit at least 512 bits 6+6+2+46+4=64B=512bits When to retry upon collision: use exponential backoff 1. Wait for random 0 X 51.2 µs before 1st retry 2. Two consecutive collisions: wait for random 0 X 102.4 µs before 2nd retry 3. Three consecutive collisions: wait for random 0 X 204.8 µs before 3rd retry 2. i consecutive collisions: wait for 0 X 2 i 1 51.2 µs before next attempt 3. Give up if i>16 a form of stop-and-wait what s the ACK? guaranteed reliability? why exponential backoff?