CSC410 - Computer Systems Performance & Evaluation
CSC410 - Computer Systems Performance & Evaluation
Computer Systems
Performance & Evaluation
Answer:
Throughput = Total Work/Execution Time
Throughput = 500 tasks/10 seconds
Throughput = 50 tasks per second
Worked Examples -Let's go over these performance
assessment calculation questions and answers:
Answer :
Response Time = Service Time + Wait Time
Response Time = 5 seconds + 2 seconds
Question 3: Speedup
Question 4: Efficiency
Answer:
Efficiency = Speedup / Number of Processors
Efficiency = 3 / 4 = 0.75 or 75%
Worked Examples -Let's go over these performance
assessment calculation questions and answers:
Question 5: Utilization
Answer:
Utilization = Busy Time / Total Time
Utilization = 80 seconds/100 seconds
Answer:
Response Time = Number of Users /
(Throughput - Arrival Rate)
Response Time = 5 / (8 - 5) = 1.67 seconds
Worked Examples -Let's go over these performance assessment
calculation questions and answers:
Question 7: Relative Performance
System A processes 200 tasks in 50 seconds, and System B
processes the same tasks in 40 seconds. Calculate the
relative performance of System A compared to System B.
Answer:
Worked Examples -Let's go over these performance
assessment calculation questions and answers:
Question 8: Cost Performance
System X has a throughput of 100 tasks per second and
costs N5000, while System Y has a throughput of 80 tasks
per second and costs N4000. Calculate the cost performance
of each system and determine which system is more cost-
effective.
Answer:
Cost Performance = Throughput / Cost
Cost Performance for System X = 100/5000 = 0.02 tasks
per naira
Cost Performance for System Y = 80/4000 = 0.02 tasks per
naira
Both systems have the same cost performance.
Lecture 3
• Performance Measurement:
o Tools and techniques for measuring performance.
o Profiling and instrumentation.
o Sampling and statistical techniques
Performance Evaluation
Methods:
1. Load Testing: Simulating user activity to
evaluate system behavior under various
levels of load.
2. Stress Testing: Assessing system performance
beyond normal operating conditions to
identify failure points.
3. Benchmark Suites: Using standardized sets of
tests to compare and evaluate system
performance.
Performance Measurement -Methods:
2. Lack of Standardization:
Challenge: Benchmarks may lack
standardized metrics or methodologies,
making it difficult to establish consistent
comparisons across different industries or
sectors.
Limitation: Without standardization,
organizations may struggle to interpret
benchmarking results accurately.
Challenges & Limitations of Benchmarking
4. Resistance to Change:
Challenge: Employees and stakeholders
may resist changes suggested by
benchmarking initiatives.
Limitation: The success of benchmarking
relies on the organization's ability to
implement recommended improvements,
and resistance can hinder effective
implementation.
Challenges & Limitations of Benchmarking
5. Overemphasis on Competition:
Challenge: Focusing too much on
competitive benchmarks may lead to a lack
of innovation and a narrow perspective.
• Limitation: Organizations should balance
competition-focused benchmarks with a
broader view that considers collaboration
and innovation.
Lecture 6
Exercises
Question 1:
A manufacturing company is benchmarking its production efficiency
against industry standards. The industry benchmark for a particular
production metric is set at 90 units per hour. The company produces
80 units per hour. Calculate the company's efficiency relative to the
industry benchmark.
Answer:
Exercises
Question 2:
A retail company is
benchmarking its financial
performance against
industry standards. The
industry average return on
investment (ROI) is 15%.
The company's ROI is
$500,000 on an
investment of $3,000,000.
Calculate the company's
ROI and assess its
performance relative to
the industry benchmark.
Exercises
Question 3:
A customer service
department is benchmarking
its performance in resolving
customer issues. The
industry benchmark for
resolving customer
complaints is 24 hours. The
department resolves 80% of
complaints within this
timeframe. Calculate the
department's performance
against the benchmark.
Exercises
Question 4:
An e-commerce website is benchmarking its page load
time against industry standards. The industry
benchmark for page load time is 3 seconds. The
website's average load time is 2.5 seconds. Calculate
the website's performance relative to the benchmark.
Answer:
o Analytical modeling.
o Queueing models.
o Simulation models.
o Empirical models.
Performance Models
Applications:
Useful for predicting performance under
different conditions and analyzing the impact
of changes to system parameters.
Examples include closed-form formulas and
mathematical expressions used to estimate
response time or throughput.
Here are four types of performance models: ..
Queueing Models
2. Queueing Models: They focus on modeling
the queuing behavior of entities within a
system, considering waiting times, service rates,
and resource utilization.
Characteristics:
a. Utilizes concepts from queuing theory to
represent how tasks or requests wait in
queues before being processed by resources.
b. Parameters include arrival rates, service rates,
and the number of servers.
Here are four types of performance models: ..
Queueing Models
Applications:
• Applications:
a. Ideal for situations where direct
measurements of system
performance are available.
b. Allows for the identification of
patterns and trends based on
historical data.
Lecture 8
Exercises
• Question 1: Consider a computer system with a single
processor. The processor can execute 100 instructions
per second. If the average execution time for a program
is 10 milliseconds, what is the throughput of the system?
• Answer: Throughput is calculated as the number of tasks
completed per unit of time. In this case, the throughput
(T) can be calculated using the formula:
So, the energy efficiency for System P is 1200 kWh per benchmark, and for System Q, it is
1000 kWh per benchmark.
Exercises
• Question 6: A software development team estimates that
doubling the number of developers working on a project
will halve the time required to complete the project. If
the original completion time was 12 months, calculate
the estimated time with the doubled number of
developers.
• Answer: The empirical model suggests a linear relationship
between the number of developers (N) and the completion
time (T):
• Benefits:
a. Provides a realistic representation of
actual system behavior.
b. Useful for evaluating system performance,
identifying bottlenecks, and optimizing
resource allocation.
Characterizing Real-World Workloads
• Characterizing real-world workloads is
essential for understanding and optimizing
the performance of computing systems.
Real-world workloads can vary widely based
on the type of application, industry, and
specific use cases.
o Data Collection:
a. Real-world workload characterization involves
collecting data on how users interact with the
system or application.
b. Data may include information on the frequency
and types of requests, response times, and
resource usage patterns.
Characterizing Real-World Workloads …
o Analysis:
a. Analyzing the collected data helps identify
trends, peak usage periods, and variations in
workload intensity.
b. Understanding the variability and characteristics
of the workload is crucial for effective system
design and resource provisioning.
Characterizing Real-World Workloads …
o Application:
a. Real-world workload characterization is essential
for designing systems that can handle the actual
usage patterns and demands of users.
b. It helps in making informed decisions about
hardware configurations, scalability
requirements, and system architecture.
Lecture 10
Exercises