SlideShare a Scribd company logo
CS 501: Software Engineering
Fall 2000
Lecture 19
Performance of Computer Systems
2
Administration
3
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.
4
Moore's Law and System Design
Design system: 2000
Production use: 2003
Withdrawn from production: 2013
Processor speeds: 1 1.9 28
Memory sizes: 1 1.9 28
Disk capacity: 1 2.2 51
System cost: 1 0.4 0.01
5
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
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.
7
False Assumptions
Unix file system will never exceed 2 Gbytes (232 bytes).
AppleTalk networks will never have more than 256 hosts (28 bits).
GPS software will not last 1024 weeks.
Nobody at Dartmouth will ever earn more than $10,000 per month.
etc., etc., .....
8
Moore's Law and the Long Term
1965 When?
What
level?
2000?
Within your
working life?
9
Predicting System Performance
• Mathematical models
• Simulation
• Direct measurement
All require detailed understanding of the
interaction between software and systems.
10
Queues
arrive wait in line service depart
Single server queue
11
Queues
arrive wait in line
service
depart
Multi-server queue
12
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.
13
Utilization: Rule of Thumb
utilization =
mean service time
mean inter-arrival time
When the utilization of any system component
exceeds 30%, be prepared for congestion.
14
Behavior of Queues: Utilization
mean
delay
utilization
1
0
15
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)
16
Timescale
Operations per second
CPU instruction: 400,000,000
Disk latency: 60
read: 25,000,000 bytes
Network LAN: 10,000,000 bytes
dial-up modem: 6,000 bytes
17
Measurements on Operational Systems
• Benchmarks: Run system on standard problem
sets, sample inputs, or a simulated load on the system.
• Instrumentation: Clock specific events.
18
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
19
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 queueing theory,
simulation, and direct measurement (within 15%).
20
The Software Process
Requirements
Definition
System and
Software design
Programming
and Unit Testing
Integration and
System Testing
Operation and
Maintenance

More Related Content

PPTX
Operating Systems Chaptebhhhr 2 (1).pptx
PDF
Cs556 section2
PPTX
Load balancing theory and practice
PPT
Lecture 2.pptMOELING AND SIMULATION BS SOFTWARE ENGNEERING
PDF
Resilient Design Using Queue Theory
PDF
Linux capacity planning
DOCX
UNIT II - CPU SCHEDULING.docx
PDF
Scheduling computer science computer network
Operating Systems Chaptebhhhr 2 (1).pptx
Cs556 section2
Load balancing theory and practice
Lecture 2.pptMOELING AND SIMULATION BS SOFTWARE ENGNEERING
Resilient Design Using Queue Theory
Linux capacity planning
UNIT II - CPU SCHEDULING.docx
Scheduling computer science computer network

Similar to Lecture19.ppt (20)

PDF
Performance engineering methodologies
PPT
Window scheduling algorithm
PDF
Scheduling
PDF
Capacity Planning for fun & profit
PDF
Scheduling
PPTX
Job Queues Overview
PDF
CPU Scheduling Part-III.pdf
PDF
DISTRIBUTED SYSTEM CHAPTER THREE UP TO FIVE.pdf
PPT
DISTRIBUTED SYSTEMS lecture notes 25 .ppt
PPTX
AABBCCDDOPERATING_SYSTEM_PARA_SUBIR.pptx
PPTX
Operating system
PDF
Os overview
PDF
PPT
ch_scheduling (1).ppt
PDF
OS_MD_1.pdffffffffffffffffffffffffffffffffffffff
PDF
OS_MD_1.pdf
PPT
scheduling
PDF
operating system
PPTX
CSE031.Lecture_11-Operating_Systems.Part_I.pptx
Performance engineering methodologies
Window scheduling algorithm
Scheduling
Capacity Planning for fun & profit
Scheduling
Job Queues Overview
CPU Scheduling Part-III.pdf
DISTRIBUTED SYSTEM CHAPTER THREE UP TO FIVE.pdf
DISTRIBUTED SYSTEMS lecture notes 25 .ppt
AABBCCDDOPERATING_SYSTEM_PARA_SUBIR.pptx
Operating system
Os overview
ch_scheduling (1).ppt
OS_MD_1.pdffffffffffffffffffffffffffffffffffffff
OS_MD_1.pdf
scheduling
operating system
CSE031.Lecture_11-Operating_Systems.Part_I.pptx

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Project quality management in manufacturing
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
web development for engineering and engineering
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
PPT on Performance Review to get promotions
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Construction Project Organization Group 2.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Current and future trends in Computer Vision.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Project quality management in manufacturing
Operating System & Kernel Study Guide-1 - converted.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
web development for engineering and engineering
CH1 Production IntroductoryConcepts.pptx
Safety Seminar civil to be ensured for safe working.
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPT on Performance Review to get promotions
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Construction Project Organization Group 2.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Foundation to blockchain - A guide to Blockchain Tech
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Current and future trends in Computer Vision.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

Lecture19.ppt

  • 1. CS 501: Software Engineering Fall 2000 Lecture 19 Performance of Computer Systems
  • 3. 3 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.
  • 4. 4 Moore's Law and System Design Design system: 2000 Production use: 2003 Withdrawn from production: 2013 Processor speeds: 1 1.9 28 Memory sizes: 1 1.9 28 Disk capacity: 1 2.2 51 System cost: 1 0.4 0.01
  • 5. 5 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. 6 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.
  • 7. 7 False Assumptions Unix file system will never exceed 2 Gbytes (232 bytes). AppleTalk networks will never have more than 256 hosts (28 bits). GPS software will not last 1024 weeks. Nobody at Dartmouth will ever earn more than $10,000 per month. etc., etc., .....
  • 8. 8 Moore's Law and the Long Term 1965 When? What level? 2000? Within your working life?
  • 9. 9 Predicting System Performance • Mathematical models • Simulation • Direct measurement All require detailed understanding of the interaction between software and systems.
  • 10. 10 Queues arrive wait in line service depart Single server queue
  • 11. 11 Queues arrive wait in line service depart Multi-server queue
  • 12. 12 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.
  • 13. 13 Utilization: Rule of Thumb utilization = mean service time mean inter-arrival time When the utilization of any system component exceeds 30%, be prepared for congestion.
  • 14. 14 Behavior of Queues: Utilization mean delay utilization 1 0
  • 15. 15 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)
  • 16. 16 Timescale Operations per second CPU instruction: 400,000,000 Disk latency: 60 read: 25,000,000 bytes Network LAN: 10,000,000 bytes dial-up modem: 6,000 bytes
  • 17. 17 Measurements on Operational Systems • Benchmarks: Run system on standard problem sets, sample inputs, or a simulated load on the system. • Instrumentation: Clock specific events.
  • 18. 18 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
  • 19. 19 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 queueing theory, simulation, and direct measurement (within 15%).
  • 20. 20 The Software Process Requirements Definition System and Software design Programming and Unit Testing Integration and System Testing Operation and Maintenance