Processes P1 and P2 have a producer-consumer relationship, communicating by the use of a set of shared buffers. P1: repeat                 Obtain a full buffer                 Empty it                 Return an empty buffer forever P2 P2P2: repeat             Obtain a full buffer             Empty it             Return an empty buffer          forever Increasing the number of buffers is likely to do which of the following? I. Increase the rate at which requests are satisfied (throughput) II. Decrease the likelihood of deadlock III. Increase the ease of achieving a correct implementation 

Processes P1 and P2 have a producer-consumer relationship, communicating by the use of a set of shared buffers. P1: repeat                 Obtain a full buffer                 Empty it                 Return an empty buffer forever P2 P2P2: repeat             Obtain a full buffer             Empty it             Return an empty buffer          forever Increasing the number of buffers is likely to do which of the following? I. Increase the rate at which requests are satisfied (throughput) II. Decrease the likelihood of deadlock III. Increase the ease of achieving a correct implementation  Correct Answer I only

Concept

  • Increasing the size of the memory allocated to the process or increasing buffer requirement does not change the likelihood of the deadlock and doesn't affect the implementation of the system.
  •  It can increase the rate at which the requests are satisfied(throughput) larger will be the size of the buffer, larger will be throughput. Therefore the only statement correct is I.

Hence option 3 is the correct answer

Related Questions

In the question below, are given a statement followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the suggested courses of action logically follow (s) for pursuing. Statement: With one year to go for 2019 parliamentary elections, Prime Minister Narendra Modi has stepped in to ensure results can be seen on the ground. The Centre has asked states to focus on impactful and public-private-partnership based smart city projects, which would show results over the next one year and have a review mechanism in place. Ministry of housing and urban affairs, the nodal ministry for Smart Cities Mission has identified 261 impactful ventures worth Rs. 31,000 crore and PPP projects worth Rs. 32,000 crore for the states to work on. Courses of Action: I. The move follows directives from the Prime Minister. During a review of Smart Cities mission last week, PM Modi had emphasized on early implementation of projects and suggested that the chief secretaries of all states should review the progress of the implementation. II. These identified projects account for an investment of Rs. 31,112 crore. The states have also been asked to work on 370 PPP projects that involve an investment of Rs. 32,410 crore The impactful projects identified range from building 40 outdoor fitness centres in New Delhi Municipal Council area at a cost of Rs. 1.31 crore to redevelopment of 340 acre area in Bhopal at a cost of Rs. 3,000 crore.  III. Secretary (housing and urban affairs) D. S. Mishra has written to chief secretaries of states and asked them to focus on the belated implementation of smart city projects that have a visible and transformative impact in the lives of citizens in identified smart cities.
A statement is given below in the question followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the following suggested courses of actions logically follow(s) for pursuing. Statement: Hindustan Unilever and Nestlé plan to selectively increase prices of their products to take into account higher crude oil and petrol costs, the rupee’s depreciation against the dollar and more expensive commodities such as wheat. If crude remains where it is and if the rupee has depreciated, of course, there are headwinds as far as costs are concerned. I. Nestlé India’s logistics providers are looking to renegotiate rates after record-high petrol and diesel prices. Nestlé declined to comment on when and by how much prices would increase.  II. Nestlé commented that HUL had dropped prices in November after the Goods & Services Tax was introduced last year and an increase in prices now would likely not hurt consumers.  III. Petrol prices have crossed Rs 90 a litre in Mumbai on increasing global prices of crude oil, of which India is a net importer, further impacted by the falling rupee. Crude derivatives, which are key inputs for FMCG companies, and petroleum derivatives used in packaging material including bottles and tubes, have also become more expensive.