1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 23 Performance of Computer Systems.

Slides:



Advertisements
Similar presentations
I/O Management and Disk Scheduling
Advertisements

Section 6.2. Record data by magnetizing the binary code on the surface of a disk. Data area is reusable Allows for both sequential and direct access file.
I/O Management and Disk Scheduling
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
Measuring and Modeling Hyper-threaded Processor Performance Ethan Bolker UMass-Boston September 17, 2003.
CS 241 Spring 2007 System Programming 1 Queuing Framework for Process Management Evaluation Lecture 20 Klara Nahrstedt.
1 Part II Web Performance Modeling: basic concepts © 1998 Menascé & Almeida. All Rights Reserved.
CS CS 5150 Software Engineering Lecture 19 Performance.
1 History of Computers Module 1 Section 1 Source: nfo.lindows.com/examples/powerpoint_example2.ppt.
1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 19 Performance of Computer Systems.
1 CSSE 477 – A bit more on Performance Steve Chenoweth Friday, 9/9/11 Week 1, Day 2 Right – Googling for “Performance” gets you everything from Lady Gaga.
CS CS 5150 Software Engineering Lecture 24 Reliability 4.
CS 501: Software Engineering Fall 2000 Lecture 19 Performance of Computer Systems.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Server Platforms Week 11- Lecture 1. Server Market $ 46,100,000,000 ($ 46.1 Billion) Gartner.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
Web Server Software Architectures Author: Daniel A. Menascé Presenter: Noshaba Bakht.
Performance Evaluation
CS CS 5150 Software Engineering Lecture 25 Performance.
Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg.
Device Management.
1 CS 501 Spring 2007 CS 501: Software Engineering Lecture 22 Performance of Computer Systems.
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
1 Software Testing and Quality Assurance Lecture 40 – Software Quality Assurance.
1 CS 501 Spring 2005 CS 501: Software Engineering Lecture 22 Performance of Computer Systems.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
Exponential and Chi-Square Random Variables
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
Mark Franklin, S06 CS, CoE, EE 362 Digital Computers II: Architecture Prof. Mark Franklin: Course Assistants: –Drew Frank:
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 16 System Architecture and Design II.
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
1 CS 501 Spring 2006 CS 501: Software Engineering Lecture 22 Performance of Computer Systems.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February Session 6.
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
CS 5513 Computer Architecture Lecture 2 – More Introduction, Measuring Performance.
L7: Performance Frans Kaashoek Spring 2013.
SIMULATION OF A SINGLE-SERVER QUEUEING SYSTEM
Computer Organization & Assembly Language © by DR. M. Amer.
CS 360 Lecture 11.  In most computer systems:  The cost of people (development) is much greater than the cost of hardware  Yet, performance is important.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
1 CS 501 Spring 2008 CS 501: Software Engineering Lectures 25 and 26 Performance of Computer Systems.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part II System Performance Modeling: basic concepts, operational analysis (book, chap. 3)
Understanding Performance Testing Basics by Adnan Khan.
Storage Systems CSE 598d, Spring 2007 Lecture ?: Rules of thumb in data engineering Paper by Jim Gray and Prashant Shenoy Feb 15, 2007.
Parallel IO for Cluster Computing Tran, Van Hoai.
10/15: Lecture Topics Input/Output –Types of I/O Devices –How devices communicate with the rest of the system communicating with the processor communicating.
Software System Performance CS 560. Performance of computer systems In most computer systems:  The cost of people (development) is much greater than.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
Introduction to Computers - Hardware
OPERATING SYSTEMS CS 3502 Fall 2017
Processing Device and Storage Devices
Software Architecture in Practice
OPERATING SYSTEMS CS 3502 Fall 2017
Copyright ©: Nahrstedt, Angrave, Abdelzaher
Architecture & Organization 1
Queuing Theory Queuing Theory.
Architecture & Organization 1
Five Key Computer Components
Computer Evolution and Performance
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Presentation transcript:

1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 23 Performance of Computer Systems

2 CS 501 Spring 2003 Administration Final presentations Sign up now. Available time slots are on the Web site.

3 CS 501 Spring 2003 Performance of Computer Systems In most computer systems The cost of people is much greater than the cost of hardware Yet performance is important Future loads may be much greater than predicted A single bottleneck can slow down an entire system

4 CS 501 Spring 2003 Moore's Law Original version: The density of transistors in an integrated circuit will double every year. (Gordon Moore, Intel, 1965) Current version: Cost/performance of silicon chips doubles every 18 months.

5 CS 501 Spring 2003 Moore's Law: Rules of Thumb Planning assumptions: Every year: cost/performance of silicon chips improves 25% cost/performance of magnetic media improves 30% 10 years = 100:1 20 years = 10,000:1

6 CS 501 Spring 2003 Moore's Law and System Design Design system: 2003 Production use: 2006 Withdrawn from production: 2016 Processor speeds: Memory sizes: Disk capacity: System cost:

7 CS 501 Spring 2003 Parkinson's Law Original: Work expands to fill the time available. (C. Northcote Parkinson) Planning assumptions: (a) Demand will expand to use all the hardware available. (b) Low prices will create new demands. (c) Your software will be used on equipment that you have not envisioned.

8 CS 501 Spring 2003 False Assumptions from the Past Unix file system will never exceed 2 Gbytes (2 32 bytes). AppleTalk networks will never have more than 256 hosts (2 8 bits). GPS software will not last 1024 weeks. Nobody at Dartmouth will ever earn more than $10,000 per month. etc., etc.,.....

9 CS 501 Spring 2003 Moore's Law and the Long Term 1965 What level? 2003

10 CS 501 Spring 2003 Moore's Law and the Long Term 1965 When? What level? 2003? Within your working life?

11 CS 501 Spring 2003 Predicting System Performance Mathematical models Simulation Direct measurement Rules of thumb All require detailed understanding of the interaction between software and systems.

12 CS 501 Spring 2003 Understand the Interactions between Hardware and Software Example: execution of Client Servers domain name service TCP connection HTTP get

13 CS 501 Spring 2003 Understand the Interactions between Hardware and Software :Thread:Toolkit:ComponentPeertarget:HelloWorld run callbackLoop handleExpose paint

14 CS 501 Spring 2003 DecompressStream audioStream video fork join start state stop state Understand Interactions between Hardware and Software

15 CS 501 Spring 2003 Look for Bottlenecks Possible areas of congestion Network load Database access how many joins to build a record? Locks and sequential processing CPU performance is rarely a factor, except in mathematical algorithms. More likely bottlenecks are: Reading data from disk Moving data from memory to CPU.

16 CS 501 Spring 2003 Look for Bottlenecks: Utilization utilization = mean service time mean inter-arrival time When the utilization of any hardware component exceeds 30%, be prepared for congestion.

17 CS 501 Spring 2003 Techniques for Eliminating Bottlenecks Serial and Parallel Processing Single thread v. multi-thread e.g., Unix fork Granularity of locks on data e.g., record locking Network congestion e.g., back-off algorithms

18 CS 501 Spring 2003 Mathematical Models: Queues arrivewait in lineservicedepart Single server queue

19 CS 501 Spring 2003 Queues arrivewait in line service depart Multi-server queue

20 CS 501 Spring 2003 Mathematical Models Queueing theory Good estimates of congestion can be made for single- server queues with: arrivals that are independent, random events (Poisson process) service times that follow families of distributions (e.g., negative exponential, gamma) Many of the results can be extended to multi-server queues.

21 CS 501 Spring 2003 Behavior of Queues: Utilization mean delay utilization 10

22 CS 501 Spring 2003 Simulation Model the system as set of states and events advance simulated time determine which events occurred update state and event list repeat Discrete time simulation: Time is advanced in fixed steps (e.g., 1 millisecond) Next event simulation: Time is advanced to next event Events can be simulated by random variables (e.g., arrival of next customer, completion of disk latency)

23 CS 501 Spring 2003 Timescale Operations per second CPU instruction:1,000,000,000 Disk latency: 60 read: 25,000,000 bytes Network LAN: 10,000,000 bytes dial-up modem: 6,000 bytes

24 CS 501 Spring 2003 Measurements on Operational Systems Benchmarks: Run system on standard problem sets, sample inputs, or a simulated load on the system. Instrumentation: Clock specific events. If you have any doubt about the performance of part of a system, experiment with a simulated load.

25 CS 501 Spring 2003 Example: Performance of Disk Array Each transaction must: wait for specific disk platter wait for I/O channel signal to move heads on disk platter wait for I/O channel pause for disk rotation read data Close agreement between: results from queuing theory, simulation, and direct measurement (within 15%).