5. Consider the following measurement data for an interactive system with a memory…
- User
- Consider the following measurement data for an interactive system with a memory constraint:
length of measurement interval: 1 hour average number of users: 80 average response time: 1 second average number of memory-resident requests: 6 number of request completions: 36,000 utilizations of: CPU 75% Disk 1 50% Disk 2 50% Disk 3 25%
a. What was throughput (in requests / second)? (5 marks)
b. What was the average “think time”? (5 marks)
c. On the average, how many users were attempting to obtain service (i.e., not “thinking”)? (10 marks)
d. What is the average service demand at Disk l? (10 marks)
- Assistant
Problem 5a. Throughput Calculation
Given:
- Number of request completions: 36,000
- Measurement interval: 1 hour
Steps to Calculate Throughput:
-
Convert the measurement interval from hours to seconds: [ 1 \text{ hour} = 60 \text{ minutes} \times 60 \text{ seconds/minute} = 3,600 \text{ seconds} ]
-
Calculate throughput (requests per second): [ \text{Throughput} = \frac{\text{Number of request completions}}{\text{Total time in seconds}} = \frac{36,000 \text{ requests}}{3,600 \text{ seconds}} = 10 \text{ requests/second} ]
Answer: The throughput was 10 requests per second.