Waiting processes do consume various system resources. Could someone sabotage a system by repeatedly creating processes and making them wait for events that will never happen? What safeguards could be imposed?
Waiting processes do consume various system resources. When system repeatedly create processes and some of them get very low priority resulting to starvation. When two or more processes are in waiting state and having system resources that other process needs to execute then there is a deadlock. So by deadlock and starvation anyone can sabotage a system.
There are some safeguards to prevent from sabotaging a
system.
Following are the characteristics of deadlock:
1. Mutual Exclusion: One system
resource can be allocated to one process at a time.
2. Hold and Wait: A process is holding
one or more than one resources and waiting for other resources
which are held by other waiting processes.
3. No Preemption: A resource cannot be
taken from a process unless the process releases the
resource.
4. Circular Wait: A set of processes are
waiting for each other in circular form.
To avoid deadlock any one of the above characteristic must be eliminated.
Eliminate Mutual Exclusion
Mutual exclusion can't be eliminated because there will always be
the condition of mutual exclusion in system.
Eliminate Hold and wait
To eliminate Hold and Wait, all required resources can be allocated
to the process before the execution. This will lead to low device
utilization.
Eliminate No Preemption
Withdraw resources from the process when resources required by
other high priority processes only.
Eliminate Circular Wait
Each resource can be assigned with a number. A process can request
the resources increasing or decreasing order of numbering.
Eliminating Starvation:
aging : It is the techniques where priority is gradually
increased of low priority process over time.
If the answer helped please upvote, it means a lot and for any query please comment.
Waiting processes do consume various system resources. Could someone sabotage a system by repeatedly creating processes...
Inspect various plastic components in a typical automobile, and identify the processes that could have been used in making them. It is well known that plastic forks, spoons, and knives are not particularly rigid. What suggestions would you have to make them better? Describe processes that could be used for producing them.
Describe the communication process that is involved when someone answers "Nope" to the question "Do you like ice cream?" You must discuss the anatomy and physiology for each system we discussed and how they all work together to produce a response to a question. Think about the overall process and do not just discuss the various processes independently. Be sure each idea relates to the production of "Nope" and each idea flows logically to the next idea. Think about what...
If someone could help provide a detailed explanation for this
please. There are similar posts but the explanations are a bit hard
to understand.
Exercise 3 Consider m updater processes and n browser processes concurrently accessing a database in a multiprogrammed operating system, using the pseudocode in the figure below: int count = 0; semaphore s_db(1); semaphore s_count(1); į shared void browser() void updater() P(s_db); P(s_count); count++; if (count==1) P/s_db) V(s_count); // update db V(s_db); // browse db P(s_count); count--;...
I have done the a and b, but i'm so confuse with other
questions, could someone help me to fix these questions, thanks so
much.
4 Directed graphs Directed graphs are sometimes used operating systems when trying to avoid deadlock, which is a condition when several processes are waiting for a resource to become available, but this wil never happen because Page 2 p2 T2 Figure 1: Minimal example of a resource allocation graph with deadlock other processes are holding...
pleas can someone answer these the question as 66 years old
man or woman pls could anyone help with anything
Life event- Childhood 1. Where were you born? 2. What dreams and goals did you have for your life when you graduated? 3. What responsibilities did you have at home when you were young? 4. What kinds of things did your family spend money on? Life Events - Adulthood 1. What was the first big purchase you made with your...
Economics is a social science concerned with: The best use of scarce resources to achieve the maximum satisfaction of economic wants. Increasing the level of productive resources so there is a minimum level of income. Increasing the level of productive resources so there is maximum output in society. The best use of scarce resources paid for at the minimum level of cost to consumers and businesses. Answer: A person should consume more of something when its marginal: benefit exceeds...
eBay: Creating Customers on the Move The advent of mobile commerce (m-commerce) has begun to create significant changes in the way consumers make purchasing decisions. The introduction of online shopping first began to draw customers away from brick-and-mortar retailers, changing the location of where they made their purchases. The use of mobile devices has expanded the location of purchase decisions even further, so now consumers can make purchases from almost anywhere, so long as they have a mobile device with...
a. What do you think about this paragraph? Express your thoughts Are you agree or not? Another important example of events that are shaping the business world is the huge decline on TV ad spending. In the article by Forbes it’s established that 50% of American households watch streaming media rather than traditional cable or broadcast system. Making global TV ad sales to collapse, falling 4% in 2019, reports the firm Magna Global. Vincent Letang, EVP of global market intelligence...
Could someone help me with this question please as I am kinda
lost as in how to do these type of questions
please explain each step
a) Draw a diagram of a solar hot water system and discuss the functions of its [5 marks For the solar collector, analyse the solar radiation heat gain and heat losses through different modes of heat transfer. How is the heat transfer rate to the water per unit area of the collector calculated? b)...
A new version of the operating system is being planned for installation into your department’s production environment. What sort of testing would you recommend is done before your department goes live with the new version? Identify each type of testing and describe what is tested. Explain the rationale for performing each type of testing. [ your answer goes here ] Would the amount of testing and types of testing to be done be different if you were installing a security...