Solved

Operating Systems Environment

Posted on 2011-03-04
5
467 Views
Last Modified: 2012-08-13
I'm doing a self study on my own and have gotten stuck on this question. Can any expert here help me out?

For the two systems described below, given that all of the devices are of the same. please help me answer these questions if you can:

a)      Determine the remaining needs for each job in each system.
b)      Determine whether each of the systems is safe or unsafe.

System A
System A has 12 devices; only 1 is available.

Job #      Devices Allocated      Maximum Required      Remaining needs
1            5                  6
2            4                  7
3            2                  6
4            0                  2

System B
System B has 14 devices; only 2 are available.

Job #      Devices Allocated      Maximum Required      Remaining needs
1            5                  8
2            3                  9
3            4                  8
0
Comment
Question by:fghabin
  • 3
  • 2
5 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 35042031
System A is safe.
System B is unsafe.

safety is determined by having a way to complete all jobs.
0
 

Author Comment

by:fghabin
ID: 35042084
IThanks for your response Arnold. I'm very new to this. how do you complete all jobs and whats the formula calculate/determine the remaining needs?
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 35043485
You have a job and the number of resources it was already allocated and the maximum number of resources it needs. Once the job is done, the resources of the job are released.

Lets say you were asked to build a shelf. You have been given a saw, and need a hammer.
Job:                           Allocated resources                              Maximum
Build shelf                          1                                                     2

Once you are given a hammer you can complete the task of building a sheld at the end of which a saw and hammer will become available for other tasks.
0
 

Author Comment

by:fghabin
ID: 35044905
Thanks Arnold, it makes more sense now and I think I get it now. So I created the question below to test my knowledge.
System A
The following system (X) has 15 devices and only 1 is available.
Job #      Devices allocated   Max. required
1                   5                               14
2                   7                               10
3                   2                                 3

System B
The following system (Y) has 19 devices and only 1 is available.
Job #      Devices allocated    Max. required
1                  10                              18
2                   3                               10
3                   5                                 6

So I think both System A and System B are UNSAFE. Do you agree?
0
 

Author Comment

by:fghabin
ID: 35045075
After reviewing this again, I think System A is safe and System B in unsafe
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question