Question
Consider a computer with 1024 Mbytes of available memory (not used by the OS), a disk, a terminal, and a printer. Three programs, JOB1, JOB2,
Consider a computer with 1024 Mbytes of available memory (not used by the OS), a disk, a terminal, and a printer. Three programs, JOB1, JOB2, and JOB3, are submitted for execution at the same time, with the attributes listed in the following Table:
JOB1 | JOB2 | JOB3 | |
---|---|---|---|
Type of job | Moderate compute (65% CPU utilization) | Heavy I/O (15% CPU utilization) | Heavy I/O (10% CPU utilization) |
Duration | 6 min | 30 min | 48 min |
Memory required | 256 M | 512 M | 128 M |
Need disk? | No | Yes | No |
Need terminal? | No | No | Yes |
Need printer? | No | Yes | No |
1. Draw the utilization histogram (uniprogramming and multiprogramming) for each of the following:
CPU
Memory
Disk
Terminal
Printer
Job History
2. Complete the following Table to show the Effects of Multiprogramming on Resource Utilization:
Uniprogramming | Multiprogramming | |
---|---|---|
Processor use |
|
|
Memory use |
|
|
Disk use |
|
|
Printer use |
|
|
Elapsed time |
|
|
Throughput |
|
|
Mean response time |
|
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started