Suppose you are aware of the page-replacement strategy used by the multiuser tim
ID: 3576405 • Letter: S
Question
Suppose you are aware of the page-replacement strategy used by the multiuser timesharing system on which you are running. For each of the page-replacement strategies discussed in this class, what countermeasures might you take to force the operating system to give your process(es) favored treatment, when in fact the operating system might normally do otherwise? What measures might an operating system take to detect such processes and prevent them from obtaining such preferred treatment? Prepare a half-page paper describing your viable solution.
Explanation / Answer
if we are working on the multi user environment the cpu and the input/output time can be shared among the different users.for a particular user we need to assgine the time slot with in the time slot the particular user work with the system after his time expires the control goes to other user the user do the same and after the time expires control goes to some other user and so on.
>>if time slot too small the user need wait until his next turn or if the time slot is too long then the remaining users need to wait untill the users work completion....
so we need to maintaine the moderate time slot for the particular user
>>actually this type of system is devoleped and that is called as round robbin algorithm
>>if the processes or the users has any priorities we need to take care of that also.
>>if the user spent more time on the io we need to take care of those things also.
>>