CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).

Slides:



Advertisements
Similar presentations
EE:450 – Computer Networks
Advertisements

PERFORMANCE One important issue in networking is the performance of the networkhow good is it? We discuss quality of service, an overall measurement.
ECE358: Computer Networks Fall 2014
Assume that a file is transferred from a node A to a node B. The file has been fragmented in 5 frames (denoted as f0, f1, f2, f3, f4). Show the flow of.
Assume that a file is transferred from a node A to a node B. The file has been fragmented in 5 frames. Frame 0 is corrupted, the ACK of frame 1 is corrupted,
Computer Networks Performance Metrics Computer Networks Term B10.
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Fundamentals of Computer Networks ECE 478/578
COMT Performance of Data Communications Protocols General Protocol Concepts.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Spring 2003CS 4611 Introduction, Continued COS 461.
ECE 4450:427/527 - Computer Networks Spring 2015
Spring 2004 EE4272 EE4272: Computer Networks Instructor: Dr. Tricia Chigan Dept.: Elec. & Comp. Eng.
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.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Performance Modeling Computer Science Division Department of Electrical Engineering and Computer.
Computer Networks: Performance Measures1 Computer Network Performance Measures.
Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg.
Networks: Performance Measures1 Network Performance Measures.
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,
Calculating “a”. a Used as a term in analyzing many network characteristics Has a physical interpretation Represents the number of frames on a link.
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,
Problems.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
 Frequency Spectrum and Bandwidth  Other Definitions of Bandwidth  Digital Signals.
Chapter 3 part II Data and Signals
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
Lecture 2 Performance Metrics. Bandwidth Delay Bandwidth-delay product Latency Throughput.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 8.
1 Introduction to Networking Dr. Mahdi Nasereddin PPU.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
1 Chapter 1 Foundation Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Section 5: The Transport Layer. 5.2 CS Computer Networks John Mc Donald, Dept. of Computer Science, NUI Maynooth. Introduction In the previous section.
02 – Performance Basics 1CS Computer Networks.
COMT 4291 Performance of Data Communications Protocols General Protocol Concepts.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
Hardware Building Blocks and Encoding COM211 Communications and Networks CDA College Theodoros Christophides
IT 210: Web-based IT Winter 2012 Measuring Speed on the Internet and WWW.
Lec 17. 4/2/14 Anthony D. Joseph CS162 ©UCB Spring 2014 CS162 S ECTION 8.
Fall 2001CS 6401 Introduction to Networking Outline Networking History Statistical Multiplexing Performance Metrics.
Chapter 3 Data and Signals. 3.2 Last Lecturer Summary Bit Rate Bit Length Digital Signal as a Composite Analog Signal Application Layer Distortion Noise.
9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section.
Lecture Focus: Data Communications and Networking  Transmission Impairment Lecture 14 CSCS 311.
Internet and Intranet Protocols and Applications The Internet: Delay, Errors, Detection February, 2002 Joseph Conron Computer Science Department New York.
Chapter 11.4 END-TO-END ISSUES. Optical Internet Optical technology Protocol translates availability of gigabit bandwidth in user-perceived QoS.
Queuing Delay 1. Access Delay Some protocols require a sender to “gain access” to the channel –The channel is shared and some time is used trying to determine.
WAN Transmission Media
Computer Communication & Networks Lecture # 10. Bandwidth ϞBand Width means the width of the band (channel) ϞIt is the maximum capacity of a link ϞThat.
LECTURE 12 NET301 11/19/2015Lect NETWORK PERFORMANCE measures of service quality of a telecommunications product as seen by the customer Can.
TCP Traffic Characteristics—Deep buffer Switch
1 Chapter 1: Foundation Dr. Rocky K. C. Chang 30 January 2004.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
1 Ram Dantu University of North Texas, Practical Networking.
Performance Metrics & Network Architectures Professor Jinhua Guo CIS 427 Winter 2003.
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.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Data rate: 1 Mb/s Payload: 1000 B Header/ACK: 50 B
The University of Adelaide, School of Computer Science
PUSH Flag A notification from the sender to the receiver to pass all the data the receiver has to the receiving application. Some implementations of TCP.
CS Lecture 2 Network Performance
Net301 LECTURE 10 11/19/2015 Lect
Propagation & Transmission delay
Network Performance Definitions
Performance Metrics Neil Tang 9/10/2008
Ram Dantu University of North Texas,
Ram Dantu University of North Texas,
Presentation transcript:

CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).

Roadmap Performance metrics –bandwidth –latency –bandwidth delay product –throughput What are sockets ? APIs.

Bandwidth Bandwidth: Number of bits that can be transmitted over a certain tiem -- typically per unit time. Some people also refer it to the spectrum -- example 10 Ghz. This typically translates to a maximum data rate.

Transmission Time A function of bandwidth If bandwidth is B, transmission time is 1/B. If bandwidth is 10 Mbps, the transmission time is 1/(10 x 10 6 ) = 1  s.

Propagation Delay Once a bit is put on a link, the time it takes to go across the link. Depends on the speed with which the electromagnetic signal (light) travels in the medium -- 2 x 10 8 m/s in fiber. Propagation delay = distance/speed of signal.

Queuing Delay At each intermediate node or router, a packet is queued. Thus, it has to wait prior to transmission. How long does it have to wait ? Dependent on the load on the network -- how many packets are traversing that router ?

Latency How long does a packet take to go from one host to another. Also called “Delay”. Latency = Propagation Delay + Queueing Delay + Transmission Delay

Round Trip Time Packet is sent from sender to receiver. Receiver sends ACK (assume immediately) to sender. Total time delay incurred between the instance the packet is set to the time the ACK is received. Note if forward delay = backward delay, RTT = 2 * Latency (typically assumed -- although not always accurate).

Bandwidth Delay Product Think of this as a pipe. How much does the pipe hold in bits ? In essence, if I send a stream of bits, the first bit traverses the bit in “Delay” seconds. In the meantime, how many more bits can I send ? Bandwidth Delay

Example For a transcontinental channel -- latency = 50 milliseconds. Bandwidth = 45 Mbps. Bandwidth delay product = 50 x x 45 x 10 6 = 2.25 Mbits We can transmit 2.25 M bits before the first bit reaches the other end of the channel !

What if ACK is expected ? Note if ACK is expected, how many bits can the user transmit before he expects to have an ACK ? RTT X Bandwidth For symmetric channels 2 X Delay X Bandwidth.

Throughput Defines how efficiently channel is being used. Throughput = Transfer size/ Transfer time. What is the transfer time ? RTT + (Transfer size/Bandwidth) (ignoring queuing delays).

Example 1 MB file over a 1 Gbps network with RTT 100 milliseconds. Transfer time = 100 ms + (1 MB/1Gbps) = 100 ms + 8 ms = 108 ms. Effective throughput = 1 MB/108 ms = 74.1 Mbps.

Impact of data size If data size increases, (Transfer size/Bandwidth) increases. Could become much larger than RTT. In that case, Throughput ~ (Transfer size /(Transfer size/Bandwidth) ~ Bandwidth! Bottomline : Throughput increases with data transfer size.

APIs and Sockets Network protocols implemented as a part of the OS. API -- Interface that OS provides to the networking subsystem. This interface is exported to the user or the application process.

Socket Interface Session Presentation Application Transport Link Network Physical Appl TCP/UDP IP Device Drivers/HW User Process Kernel Process Application Details Communication Details Socket

A note about sockets Data through sockets -- similar to writing to a file. Sockets were originally in BSD (Berkeley software development) but now are popular in almost all OS. Rest of sockets: Read book, Labs.