Modified Implementation of Fast select(): In the fast select implementation of Banga and Mogul [BM98], consider changing the implementation as follows: (a) First, Inew is set equal to S (and not to...

Modified Implementation of Fast select(): In the fast select implementation of Banga and Mogul [BM98], consider changing the implementation as follows: (a) First, Inew is set equal to S (and not to Iold ? S as before). (b) Rnew is computed as before. (c) What is returned to the user is Rnew (and not Rnew n S) as before. Answer the following questions. • Explain in words what is different from this implementation and the one proposed by Banga and Mogul. • Explain why this implementation may require one to be careful about how it removes elements from the hints set H in order not to miss state changes due to newly arriving packets. • Explain how this scheme can be inferior to the existing implementation, assuming no application changes. Find a worst-case scenario. • Explain why this implementation can sometimes be better than the existing implementation if the application is smart enough not to choose a socket in its selecting set as long as it still has unread data. (In other words, if a socket has unconsumed data, the application is smart enough not to select it until all data has been consumed.)

Dec 18, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here