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
Get step-by-step solutions from verified subject matter experts
