Question

In: Computer Science

uppose the following scenarios to discuss the impact effecting on the degree of multiprogrammingand context switching...

uppose the following scenarios to discuss the impact effecting on the degree of multiprogrammingand context switching time?

Scenario1:all the processes in the ready queue are classified as I/O bound –process.

Scenario 2:All the processes in the ready queue are classified as CPU bound –process.

Scenario 3:Most of the processes in the ready queue are classified asmix of I/O bound –processes and CPU-bound processes

Solutions

Expert Solution

Greetings!!

Scenario 1:

When all the processes in the ready queue are I/O bound, all will be completing their short CPU burst and enter into the I/O queue. This makes the CPU to be idle and hence the scheduler increases the number of jobs ie degree of multiprogramming is increased. Since the number of processes are high and all of these are switching frequently, the context time also is very high.

Scenario 2:

When all the processes are CPU bound, once a job is submitted it will continue executing for long time. This makes the CPU busy and hence no more new processes will be added and hence the degree of multiprogramming will be low. Since there are less number of CPU bounded processes and the frequency of switching will be very less and hence the context switch time also is less.

Scenario 3:

Since the ready queue has a good mix of processes the scheduler will not add more processes and hence the degree of multiprogramming remains average and the context switch time also remains average.

Hope this helps


Related Solutions

Discuss the impact of prejudice and persuasion within a social context. How do the emotions, beliefs,...
Discuss the impact of prejudice and persuasion within a social context. How do the emotions, beliefs, and attitudes of an individual influence his or her social behavior? Explain.
Which of the following scenarios illustrates the impact of political and legal forces on the marketing...
Which of the following scenarios illustrates the impact of political and legal forces on the marketing environment? a.   ?With the number of smartphone users on the rise, Taalia Inc., an electronics company, decides to create mobile advertisements for its products in addition to print and television advertisements. b.   ?After a shoe manufacturing company experiences an increase in demand for its products, it opens retail outlets in several locations. c.   ?The raise in the legal drinking age from 21 to 25...
For each of the following scenarios, draw the impact on the market for bagels. Label your...
For each of the following scenarios, draw the impact on the market for bagels. Label your axes and curves in each supply and demand diagram. Summarize what happens to supply, demand, price, and quantity. Does each increase, decrease, stay the same, or cannot be determined? Use arrows and/or number your curves to indicate a shift where appropriate. Consider each part separately, for example in part b, assume part a has never happened and the economy is back in its original...
Examine the various exchange rate policies implemented by Turkey since 1980 in the context of expenditure-switching...
Examine the various exchange rate policies implemented by Turkey since 1980 in the context of expenditure-switching and expenditure- changing purposes. Give specific examples and indicate the years or periods. By using data, explain which policy was more effective for each period. Answer whether changes after the 2000s can be classified under a different category. In your response, make use of proper terminalogy, evidence, ratios, and theoratical background you learned during the course.
Examine the various exchange rate policies implemented by Turkey since 1980 in the context of expenditure-switching...
Examine the various exchange rate policies implemented by Turkey since 1980 in the context of expenditure-switching and expenditure- changing purposes. Give specific examples and indicate the years or periods. By using data, explain which policy was more effective for each period. Answer whether changes after the 2000s can be classified under a different category. In your response, make use of proper terminalogy, evidence, ratios, and theoratical background you learned during the course.
Respond to ONE of the following scenarios. Identify and discuss the relevant legal issues and discuss...
Respond to ONE of the following scenarios. Identify and discuss the relevant legal issues and discuss them fully. Specifically state what you think the outcome will be and why. In Questions #1, be sure to include the applicable general rule(s) as well as any exceptions and whether they apply. 1. Jim Bowie owns a lot in Starr County and wants to build a house according to a certain set of plans and specifications. He solicits bids from three building contractors...
Discuss how organisational narrative may impact upon organisational's performance in the context of change management due...
Discuss how organisational narrative may impact upon organisational's performance in the context of change management due to globalization? Please draw upon communication theory and use example to support your claims?
Discuss how organisation narrative may impact upon organisation's performance in the context of change management due...
Discuss how organisation narrative may impact upon organisation's performance in the context of change management due to globalization?
Identify the flaws in the reasoning of the researchers in the following two scenarios, and discuss...
Identify the flaws in the reasoning of the researchers in the following two scenarios, and discuss these flaws as completely as you can given the information provided in the question. (a) Five hundred students at a randomly selected big-city elementary school are given a 25-question survey that they are to return the next day after their parents have filled it out. One of the questions asked of parents is, “Does your work schedule make it difficult to spend after-school time...
Describe the impacts and your response to the following scenarios. Scenario Impact Response A client trips...
Describe the impacts and your response to the following scenarios. Scenario Impact Response A client trips over a rug and falls to the floor hurting his arm and face One of the clients goes missing on your shift. A client is seen hitting another client over the head violently
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT