CISC 437 Quiz 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

28 Terms

1
New cards

users, applications, concurrent, multi-threaded

Sources of contention for resources:

  • Multiple ________ of an application or transaction executing at one time, e.g. several ATM customers do a withdrawal simultaneously - will compete for the same resources (CPU, hardware, network, etc.)

  • Multiple ________________ or systems executing on the same hardware resources at one time

  • The application under consideration can have separate ______________ processes

  • The application may be _______________ (all threads sharing same space will create contention delay) to handle concurrent requests for different external purposes


2
New cards

system execution model

The _________________________ characterizes the software’s performance in the presence of dynamic factors, such as other work loads or multiple users

3
New cards

system execution model

The _____________________________ aims to solve the contention for resources

4
New cards

software execution model

If the ___________________________ indicates that there are no problems, then you are ready to construct and solve the system execution model to account for contention efforts

5
New cards

system execution model

Benefits of ________________________

  • More precise metrics that account for resource contention

  • Sensitivity of performance metrics to variations in workload composition

  • Scalability of the hardware and software to meet future demands

  • Effect of new software on service level objectives of other systems

  • Identification of bottleneck resources

  • Comparative data on performance improvement options (for new software, calculate new performance metrics and compare with baseline)


6
New cards

server, queue

The system execution model represents the key computer system resources as queues and servers

  • A __________ represents a component of the environment that provides some service to the software (e.g. a processor, a disk, or a network element)

  • A _________ represents jobs (any requests required for computation) waiting for service (e.g. when a request arrives, if the server is busy, the job making the request must wait until the server is free)


7
New cards

queue, server, wait time, service time, residence time

knowt flashcard image
8
New cards

residence time, utilization, throughput, queue length

Performance metrics of interest for each server are

  • ________________ RT: the average time (not a dynamic time that changes per job) jobs spend in the server, in service and waiting

  • _______________ U: the average percentage of the time the server is busy, should be <= 1 (e.g. if U = 200, we know it should be reduced to fit workload)

  • _______________ X: the average rate at which jobs complete service

  • ________________ N: the average numbers of jobs at the server (receiving service and waiting)


9
New cards

performance

The value of ________________ metrics depend on

  • The number of jobs (e.g. more jobs = high utilization - more busy)

  • The amount of service they need

  • The time required for the server to process individual jobs

  • The policy used to select the next job from the queue (e.g. the first-come-first-served or priority scheduling)


10
New cards

T, C, B

Calculation of performance metrics:

  • ____ = total period

  • ____ = completed

  • ____ = busy time


11
New cards

B/T

Calculation of performance metrics

  • Utilization U = ______


12
New cards

C/T

Calculation of performance metrics

  • Throughput X = ______


13
New cards

B/C

Calculation of performance metrics

  • Mean service time S = ______


14
New cards

time

Calculation of performance metrics

  • Area under graph W = sum of ______ for the number of jobs (add up all of the shaded area under graph)


15
New cards

W/C

Calculation of performance metrics

  • Residence time RT = _______


16
New cards

W/T

Calculation of performance metrics

  • Queue length N = _______


17
New cards

U

Calculation of performance metrics

  • Variable for utilization


18
New cards

X

Calculation of performance metrics

  • Variable for throughput


19
New cards

S

Calculation of performance metrics

  • Variable for mean service time


20
New cards

W

Calculation of performance metrics

  • Variable for area under graph


21
New cards

RT

Calculation of performance metrics

  • Variable for residence time


22
New cards

N

Calculation of performance metrics

  • Variable for queue length


23
New cards

workload intensity

Solving the queuing model:

  • ____________________ is a measure of the number of requests made by a workload in a given time interval


24
New cards

service requirements

Solving the queuing model:

  • __________________________ are the amount of time that the workload requires from each of the devices in the processing facility


25
New cards

throughput, arrival rate, jobs-flow balance

Solving the queuing model:

  • Assume that the system is fast enough to handle the arrivals, and thus the completion rate or _______________ equals the ________________

  • This property is called ____________________


26
New cards

XS, XS/m

Utilization on multiple resources

  • U_total = ______

  • U_i = _________


27
New cards

N = XR

Little’s law is defined as ___________

28
New cards

throughput, residence time, average

Little’s law:

  • Queue length = ______________ x ___________________

  • The specifications and results from the simple model are __________ values

  • The metrics for a specific job may differ from the average

  • The difference depends on the distribution of arrivals and service requirements