Menu

[Solved]1 Assume System Three Processes P1 P2 P3 Two Files F1 F2 Process P1 Block Process P2 P3 Pr Q37241705

1. Assume that a system has three processes, p1, p2, p3, and twofiles, f1 and f2. Process p1 can block process p2 and p3. Processp2 can wakeup p3. Process p1 has read/write access rights to f2.Process p2 has the execute access to file f1 and the read accessright to f2. Process p3 owns file f1 and can write to file f2. Givethe access control list of file f2 and the capability list ofprocess p1.

2. Assume that the average time to swap a page into the memoryor swap a page out the memory is 20,000 microseconds and that amemory access takes 1 microsecond. Two level paging with all pagetables in memory is used for address translation. Assume furtherthat no cache or associative registers are used for addresstranslation and 50% of the pages being replaced are dirty. What isthe maximum page fault rate if the effective access time per memoryreference is to be 10 microseconds or less? Justify youranswer.

Expert Answer


Answer to 1. Assume that a system has three processes, p1, p2, p3, and two files, f1 and f2. Process p1 can block process p2 and p… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *