Ch1a Slides
Ch1a Slides
c
1994 Raj Jain 1.2
Basic Terms
• System: any collection of hardware, software, and
firmware
• Metrics: the criteria used to evaluate the performance of
the system. components.
• Workloads: The requests made by the users of the system.
c
1994 Raj Jain 1.3
Part I: An Overview of Performance Evaluation
1. Introduction
2. Common Mistakes and How To Avoid Them
3. Selection of Techniques and Metrics
c
1994 Raj Jain 1.4
Example I
c
1994 Raj Jain 1.5
Part II: Measurement Techniques and Tools
1. Types of Workloads
2. Popular Benchmarks
3. The Art of Workload Selection
4. Workload Characterization Techniques
5. Monitors
6. Accounting Logs
7. Monitoring Distributed Systems
8. Load Drivers
9. Capacity Planning
10. The Art of Data Presentation
11. Ratio Games
c
1994 Raj Jain 1.6
Example II
c
1994 Raj Jain 1.7
Part III: Probability Theory and Statistics
1. Probability and Statistics Concepts
2. Four Important Distributions
3. Summarizing Measured Data By a Single Number
4. Summarizing The Variability Of Measured Data
5. Graphical Methods to Determine Distributions of
Measured Data
6. Sample Statistics
7. Confidence Interval
8. Comparing Two Alternatives
9. Measures of Relationship
10. Simple Linear Regression Models
11. Multiple Linear Regression Models
12. Other Regression Models
c
1994 Raj Jain 1.8
Example III
c
1994 Raj Jain 1.9
Part IV: Experimental Design and Analysis
1. Introduction to Experimental Design
2. 2k Factorial Designs
3. 2k r Factorial Designs with Replications
4. 2k−p Fractional Factorial Designs
5. One Factor Experiments
6. Two Factors Full Factorial Design without Replications
7. Two Factors Full Factorial Design with Replications
8. General Full Factorial Designs With k Factors
c
1994 Raj Jain 1.10
Example IV
c
1994 Raj Jain 1.11
Part V: Simulation
1. Introduction to Simulation
2. Types of Simulations
3. Model Verification and Validation
4. Analysis of Simulation Results
5. Random-Number Generation
6. Testing Random-Number Generators
7. Random-Variate Generation
8. Commonly Used Distributions
c
1994 Raj Jain 1.12
Example V
c
1994 Raj Jain 1.13
Part VI: Queueing Theory
1. Introduction to Queueing Theory
2. Analysis of A Single Queue
3. Queueing Networks
4. Operational Laws
5. Mean Value Analysis and Related Techniques
6. Convolution Algorithm
7. Advanced Techniques
c
1994 Raj Jain 1.14
Example VI
c
1994 Raj Jain 1.16
Three Solutions
1. Compare the average:
System Workload 1 Workload 2 Average
A 20 10 15
B 10 20 15
Cnclusion: The two systems are equally good.
2. Compare the ratio with system B as the base
System Workload 1 Workload 2 Average
A 2 0.5 1.25
B 1 1 1
Conclusion: System A is better than B.
c
1994 Raj Jain 1.17
3. Compare the ratio with system A as the base
System Workload 1 Workload 2 Average
A 1 1 1
B 0.5 2 1.25
Conclusion: System B is better than A.
c
1994 Raj Jain 1.18
Professional Organizations
• ACM SIGMETRICS
• ACM SIGSIM
• IEEE Computer Society: Technical committee on
simulation.
• CMG: The Computer Measurement Group, Inc.
– Practical uses of computer performance
– Regional groups in the United States and abroad.
– International regional groups in Australia, Canada,
Japan, United Kingdom, Belgium, West Germany,
France, and Italy.
c
1994 Raj Jain 1.19
• IFIP Working Group 7.3
– IFIP=International Federation for Information
Processing
– Multinational federation of technical societies
– American Federation of Information Processing
Societies (AFIPS) represents the United States.
– ACM, IEEE, etc are members of AFIPS
– Several technical committees (TCs) and working groups
(WGs)
– WG 7.3 is devoted to computer systems modeling
c
1994 Raj Jain 1.20
Professional Organizations (Continued)
• The Society for Computer Simulation (SCS)
– Publishes simulation books, journals
– Regional councils in the United States, Canada and the
United Kingdom.
– Sponsors:
∗ Summer Computer Simulation Conference
∗ SCS Multiconference
∗ Eastern Simulation Conferences
∗ Winter Simulation Conference
• The Society for Industrial and Applied Mathematics
(SIAM)
– Development of new mathematical techniques
c
1994 Raj Jain 1.21
– Journals:
∗ SIAM Journal on Control and Optimization
∗ SIAM Journal on Numerical Analysis
∗ SIAM Journal on Computing
∗ SIAM Journal on Scientific and Statistical Computing
∗ Theory of Probability and Its Applications.
c
1994 Raj Jain 1.22
Professional Organizations (Continued)
• The Operations Research Society of America (ORSA)
– Interests:
∗ Operation research
∗ Queueing theory
∗ Game theory
∗ Network analysis
∗ Replacement and inventory theories
∗ Scheduling
∗ Simulation
– Geographical sections, technical sections, special
interest groups, and student sections.
– Represents the US in the International Federation of
Operational Research Societies (INFORS)
c
1994 Raj Jain 1.23
– Journals:
∗ Operations Research
∗ ORSA Journal on Computing
∗ Mathematics of Operations
∗ Research (jointly with TIMS)
∗ Operations Research Letters
∗ Stochastic Models
– Address: ORSA Business Office, Mount Royal &
Guilford Avenues, Baltimore, MD 21202.
c
1994 Raj Jain 1.24
Conferences
• SIGMETRICS: Published as Performance Evaluation
Review
• CMG
• PERFORMANCE (18 months)
Alternately in Europe and in North America.
• EDP Performance and Capacity Management
Applied Computer Research, Inc.
• ACM SIGSIM and IEEE Computer Society Technical
Committee
• Pittsburgh Conference on Modeling and Simulation:
University of Pittsburgh’s School of Engineering and IEEE
c
1994 Raj Jain 1.25
Journals
1. Performance Evaluation Review: Quarterly by ACM
SIGMETRICS.
2. CMG Transactions: Quarterly by CMG.
3. Performance Evaluation: Twice a year by Elsevier Science
Publishers B. V. (North-Holland)
4. EDP Performance Review: Monthly by Applied Computer
Research, Inc. Survey in the annual reference issue.
5. Simulation: Monthly by SCS.
6. Transactions of the Society for Computer Simulation:
Quarterly
7. Simulation Digest: Quarterly by ACM SIGSIM and IEEE
Computer Society Technical Committee on Simulation.
c
1994 Raj Jain 1.26
8. SIAM Review: Quarterly by SIAM.
9. Operations Research: Bimonthly by ORSA.
10. See also computer systems journals.
• Communications of the ACM.
• IEEE Transactions on Software Engineering
• IEEE Transactions on Computers
• ACM Transactions on Computers
c
1994 Raj Jain 1.27
Related Courses
c
1994 Raj Jain 1.28
Performance Projects
• Select a system:
– Network mail program
– Operating system
– Language compiler
– Text editor
– Processor
– Database
• Do:
– Perform measurements
– Analyze the collected data
– simulate
– analytically model the subsystem
c
1994 Raj Jain 1.29
Example of Projects
1. Measure the performance of a remote procedure call
mechanism used in a distributed system.
2. Measure and compare the performance of window systems
of two artificial intelligence systems.
3. Simulate and compare the performance of two processor
interconnection networks.
4. Measure and analyze the performance of two
microprocessors.
5. Characterize the workload of a campus timesharing
system.
6. Compute the effects of various factors and their
interactions on the performance of two text-formatting
programs.
7. Measure and analyze the performance of a distributed
information system.
c
1994 Raj Jain 1.30
8. Simulate the communications controllers for an intelligent
terminal system.
9. Measure and analyze the performance of a
computer-aided design tool.
10. Measure and identify the factors that affect the
performance of an experimental garbage collection
algorithm.
11. Measure and compare the performance of remote
procedure calls and remote pipe calls.
12. Analyze the effect of factors that impact the performance
of two RISC processor architectures.
13. Analyze the performance of a parallel compiler running on
a multiprocessor system.
14. Develop a software monitor to observe the performance of
a large multiprocessor system.
15. Analyze the performance of a distributed game program
running on a network of artificial intelligence systems.
c
1994 Raj Jain 1.31
16. Compare the performance of several robot control
algorithms.
c
1994 Raj Jain 1.32
Exercises
1.1 The measured throughput in queries per second for two
database systems on two different workloads is as follows:
System Workload 1 Workload 2
A 30 10
B 10 30
Compare the performance of the two systems and show that:
a. System A is better
b. System B is better
c
1994 Raj Jain 1.33