Duration Memory required
Consider a computer with 250 MB of available memory (not used by the OS), a mouse, a keyboard, and a printer. Three programs, Job1, Job2, and Job3, are submitted for execution at 5 seconds, 10 seconds, and 20 seconds, respectively.
We assume minimal processor requirements for Job1 and Job2, and continuous printer use by Job2, and keyboard and mouse use by Job1.
In a simple batch environment, these jobs will be executed in sequence. Assuming Job1 completes in 10 seconds, Job2 must wait until the 10 seconds are over and then completes 15 seconds after that. Job3 begins after 30 seconds and completes at 35 seconds.
Now, suppose that the jobs are run concurrently under a multiprogramming OS. The memory requirements for Job1, Job2, and Job3 are 100 Mb, 150 Mb, and 70 Mb, respectively.
(a) Fill out the following table:
Type of job Submission time Duration Memory required Need mouse? Need printer? Need keyboard?
Job1 Job2 Job3
Processor utilization (%) Memory usage (%) Printer usage (%) Mouse usage (%) Keyboard usage (%) Elapsed Time Throughput
Mean response time
Uniprogramming
Multiprogramming
Step by step
Solved in 3 steps