CS457 - System Performance Evaluation - Winter 2008
Lecture 7 - Abstraction Example II
In Lecture 5, I asked you to read this system
description. Today we will complete analysing it as an example of how to
make a system abstraction.
We do this as methodically and mechanically as possible.
1. Study goal and System description
1a. Simplifications
2. Services Provided
3. Metrics
Load Balancing
- Reponse to client requests
- Delay in redirection
- Utilization
Consistency
- Time data is stale
- catalogue item
- shopping cart
Failure
- System availability for login
- Time to complete redirections
4. List Parameters
System Parameters
These describe system propertis that might be expected to affect the
performance of the system in dimensions described by the goals of the
study
- network delay
- frequency of transmission of shopping cart content
- frequency of server failure
- downtime on server failure
- load balancing algorithm
- service capacity: how many services a server can provide per second
Workload Parameters
- arrival rate of requests of each type
Hybrid Parameters
- service (response) time, which depends on service capacity and arrival
rate of requests
5. Choose Factors
Falls under the heading of experiment design which, for now, remains
outside the scope ofr system abstraction.
Queueing Theory
An extreme example of abstraction.
1a. Study Goals
Get analytic results under as general a set of assumptions as possible.
Results will be in the following areas:
- Response Time
- Throughput
- Utilization
1b. System Description
- A server that processes requests
- A queue that holds requests currently being processed
- A client that makes requests.
Note. `Request', these notes, and `job', textbook, are
exactly the same thing for the purposes of this course. `Request' better
characterizes what the client does and is both a noun and a verb, which is
handy when writing and speaking; `job' better describes the actual thing that
is requested and has a narrower range of meanings in English, which can
reduce misunderstanding.
1c. Simplifications
YES!
2. Services Provided
Handling requests.
- A request is completely abstract: we are uninterested in what is
requested.
- The only specified property of a request is the consumption of a set
amount of resources during processing
3. Metrics
- Statistics of response times, such as
- average
- median
- minimum
- maximum
- percentiles
- etc.
- Statistics of throughput
- Statistics of utilization
4. Parameters
System Parameters
- Service statistics
Workload Parameters
- Arrival statistics
- Think time, which is really part of arrival statistics
- Number of users, which is really part of arrival statistics.
5. Factors
Same as parameters
Return to: