8 votes 8 votes When a process is rolled back as a result of deadlock the difficulty which arises is Starvation System throughput Low device utilization Cycle stealing Operating System isro2009 deadlock-prevention-avoidance-detection + – ajit asked Oct 5, 2015 edited Dec 9, 2022 by Lakshman Bhaiya ajit 6.8k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply air1ankit commented Dec 1, 2017 reply Follow Share please explain me meaning of this line if possible give me a best example for this line " process is rolled back as a result of deadlock " 0 votes 0 votes Kamal Pratap commented Dec 6, 2017 reply Follow Share In situations where deadlock is a real possibility, the system can periodically make a record of the state of each process and when deadlock occurs, roll everything back to the last checkpoint, and restart, but allocating resources differently so that deadlock does not occur. 0 votes 0 votes air1ankit commented Dec 6, 2017 reply Follow Share any example ?? 0 votes 0 votes Please log in or register to add a comment.
Best answer 11 votes 11 votes We can see the example of bridge crossing, in which bridge has only one lane. Deadlock will occur when 2 cars of opposing direction meet. one or more cars may have to backed up if deadlock occurs. Then starvation(indefinite waiting) is possible. ayushigupta answered Oct 5, 2015 selected Jun 20, 2016 by Desert_Warrior ayushigupta comment Share Follow See all 4 Comments See all 4 4 Comments reply Tendua commented Oct 5, 2015 reply Follow Share why not system throughput. it will also get affected 5 votes 5 votes Arjun commented Jun 20, 2016 reply Follow Share Yes, it does. But starvation is a better answer here. 4 votes 4 votes l0k3ndr commented Oct 29, 2019 reply Follow Share True, lower throughput sounds like a lesser problem than starvation. 0 votes 0 votes `JEET commented Oct 29, 2019 reply Follow Share I think starvation is the only perfect answer here. 0 votes 0 votes Please log in or register to add a comment.
3 votes 3 votes I guess starvation should be the answer if we rollback the process there may be possiblity again deadlock occur so it may goes in starvation. OPTION A Umang Raman answered Oct 5, 2015 Umang Raman comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes 1. Starvation might happen for the process but can be avoided. 2. System throughput will be affected as the whole execution of the process till the rollback is going waste. 3. Device is used in rollback - actually more than the ideal case. 4 Cycle stealing is not a related concept. So, answer is 2- System throughput as starvation might not always be there. Arjun answered Oct 10, 2015 Arjun comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes So here also answer should be c . Ryt ? priti sharma answered Oct 10, 2015 priti sharma comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments priti sharma commented Oct 10, 2015 reply Follow Share And sir but of all those 3 System thoughput is most importnat one right ? Because all the computation done so far has to done again . This is the reason why you said B ? Computaion matter more rather than no of process queue for starvation and low device utilization 0 votes 0 votes Arjun commented Oct 10, 2015 reply Follow Share yes. but it is not just the better option. And you should read the words in question clearly for GATE- starvation "might" happen. But we can't say starvation "will" happen. But "system throughput" will be affected. 0 votes 0 votes Sanjay Sharma commented Aug 29, 2018 reply Follow Share here https://gateoverflow.in/18583/isro2009-77 ans is A so which one is correct also system throughput might increase if deadlock is resolved 0 votes 0 votes Please log in or register to add a comment.