Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg.

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Hui Zhang, Fall Computer Networking TCP Enhancements.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
Interactions Between Delayed Acks and Nagle’s Algorithm in HTTP and HTTPS: Problems and Solutions Arthur Goldberg Robert Buff New York University March.
1 Lecture 10: TCP Performance Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3 slides for.
Transport Layer Services –Reliable Delivery –or Not! Protocols –Internet: TCP, UDP –ISO: TP0 thru TP4.
The Transport Layer Chapter 6. The TCP Segment Header TCP Header.
The Transport Layer Chapter 6. Performance Issues Performance Problems in Computer Networks Network Performance Measurement System Design for Better Performance.
EE 122: Error detection and reliable transmission Ion Stoica September 16, 2002.
1 Web Proxies Dr. Rocky K. C. Chang 6 November 2005.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
TCP Congestion Control
5/12/05CS118/Spring051 A Day in the Life of an HTTP Query 1.HTTP Brower application Socket interface 3.TCP 4.IP 5.Ethernet 2.DNS query 6.IP router 7.Running.
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.
Advanced Network Architecture Research Group 2001/11/149 th International Conference on Network Protocols Scalable Socket Buffer Tuning for High-Performance.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Papeete, Tahiti Performance Metrics & Analysis Unix & Network Management Workshop PacNOG5 17 June 2009 Hervey Allen / Phil Regnauld Original.
Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
workshop eugene, oregon Network Performance Metrics Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA Original Materials.
Advanced Network Architecture Research Group 2001/11/74 th Asia-Pacific Symposium on Information and Telecommunication Technologies Design and Implementation.
CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
1 Mao W07 Midterm Review EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007 Acknowledgement: Some.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Analysis of Buffer Size in Core Routers by Arthur Dick Supervisor Anirban Mahanti.
1 Sonia FahmyPurdue University TCP Congestion Control Sonia Fahmy Department of Computer Sciences Purdue University
Advance Computer Networks Lecture#09 & 10 Instructor: Engr. Muhammad Mateen Yaqoob.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
Internet and Intranet Protocols and Applications The Internet: Delay, Errors, Detection February, 2002 Joseph Conron Computer Science Department New York.
2010 kigali, rwanda Network Performance Metrics Unix/IP Preparation Course May 23, 2010 Kigali, Rwanda Original Materials by.
Transport Layer: Sliding Window Reliability
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
LECTURE 12 NET301 11/19/2015Lect NETWORK PERFORMANCE measures of service quality of a telecommunications product as seen by the customer Can.
79 Sidevõrgud IRT 4060/ IRT 0020 vooruloeng 8 / 3. nov 2004 Vooülekanne Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
1 Ram Dantu University of North Texas, Practical Networking.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Data Link Layer Part II – Sliding Window Protocols.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
Computer Networking Lecture 16 – Reliable Transport.
Ch 3. Transport Layer Myungchul Kim
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
Approaches towards congestion control
Network Performance Metrics
COMP 431 Internet Services & Protocols
Chapter 6 The Transport Layer.
The Transport Layer Chapter
Transport Layer Unit 5.
Understanding Throughput & TCP Windows
Net301 LECTURE 10 11/19/2015 Lect
CS4470 Computer Networking Protocols
Network Performance Definitions
CS4470 Computer Networking Protocols
Review of Internet Protocols Transport Layer
Ram Dantu University of North Texas,
Lecture 6, Computer Networks (198:552)
Ram Dantu University of North Texas,
Presentation transcript:

Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg Computer Science Department New York University

Performance definitions Latency, delay: how long? –Ie, message transport latency Response time: how long to respond? –Ie, time from request to response Bandwidth Utilization: fraction (%) used Throughput: # processed / time

In Application Protocols, Where’s The Time Go? Trace the steps –Client issues request –Network transports request –Server receives request –Server generates and sends response –Network transports response –Client receives and displays response Complications in this model –Multiple concurrent requests (how long until the last finishes?) –Network protocol delays –Server/proxy hierarchy

Primary Components of Delay “Critical path” computation Transmission, ie signal travel time =~ (2/3)c Congestion (queueing) –Network Ie, outgoing links on routers –Servers All components: CPU, disks, memory, synchronization, etc. Protocol (and, sometimes, system) waits –Eg in TCP Delayed ACK Slow start

Tanenbaum, Section 6.6, Perf. Problems in Networks Problems –Congestion –Overload -> data loss -> retransmission Eg, bandwidth mismatch Eg, broadcast storm (errors, booting, anything synchronous) –Timeout Too short: excessive retransmissions Too long: slow recovery –Underutilization

Underutilization –An underutilized pipe has less effective bandwidth –Bandwidth – delay product: capacity of a pipe Bandwidth * delay Eg: cross country T1 line: –70 ms RTT –1.544 Mbps –Bandwidth – delay product = 108,080 bits Consider maximum bits in flight –Eg, TCP window: if 8 KB then max bw only: (T1 speed)* 64,000/108,080 = 0.91 Mbps

Delay Estimate Rule-of-Thumb Draw delay vs. load function Load ranges –Light: 0.0 to 0.5 –Moderate: about 0.5 to 0.95 –Heavy: 0.95 to 1.0 –Over: over 1.0 Under moderate load –Delay varies as 1/(1- Utilization) –(From first principles and distribution assumptions and queueing theory) Under heavy –Avoid thrashing Under over load –Shed work: Mogul and Ramakrishnan, Eliminating Receive Livelock in an Interrupt-driven Kernel.

Tanenbaum 6.6.3: System Design for Better Performance CPU speed is more important than network speed OS and protocol overhead dominates Reduce packet count to reduce software overhead –Ie, use bigger packets Minimize context switches Minimize copying Pre-compute whenever possible –Header prediction –Pre-compute partial checksum You can buy more bandwidth, but not lower delay Avoiding congestions is better than recovering from it Avoid timeouts

Impact of Fiber In the race between computing and communication, communication won. The full implications of essentially infinite bandwidth (although not at zero cost) have not yet sunk in to a generation of computer scientists and engineers taught to think in terms of the low Nyquist and Shannon limits imposed by copper wire. The new conventional wisdom should be that all computers are hopelessly slow, and networks should try to avoid computation at all costs, no matter how much bandwidth that wastes. Andrew S. Tanenbaum, Computer Networks, 1996

Padmanabhan & Mogul, Improving HTTP Latency Distribution of document sizes –Show curve Avoid extra round trips Do pipelining –How do sequential requests and pipelining interact with a proxy server?

OTHER NYU WebPerf measurements –Live WebPerf Demo? Repair of HTTP 1.0 performance bugs in HTTP 1.1. Multiple concurrent requests –Cool paper on Browser rendering Delayed ACKs Problem –Interactions Between Delayed Acks and Nagle's Algorithm in HTTP and HTTPS: Problems and Solutions In

Admin Final? Due date of Phase II Changes to Phase II

IIPA Sections Intro to Application Protocols and Socket Programming Web Vacation Network Application Performance