Question: Assume that you have a program to run on a Little Man-type computer that provides virtual storage paging. Each page holds ten locations (in other

Assume that you have a program to run on a Little Man-type computer that provides virtual storage paging. Each page holds ten locations (in other words, one digit). The system can support up to one hundred pages of memory. As Figure 18E.3 shows, your program is sixty-five instructions long. The available frames in physical memory are also shown in the diagram. All blocked-in areas are already occupied by other programs that are sharing the use of the Little Man.

Figure 18E.3

90 100 230 20 250 40 670 60 65 680 999

a. Create a starting page table for your program. Assume that your program will start executing at its location 0.
b. Suppose a page fault occurs in your program. The OS has to decide whether to swap out one of your older pages, or one of somebody else€™s pages. Which strategy is less likely to cause thrashing? Why?

90 100 230 20 250 40 670 60 65 680 999

Step by Step Solution

3.49 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Here are two sample starting page tables The left one simply loads as much of the program as fits ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1806_60b8c12141048_722380.pdf

180 KBs PDF File

Word file Icon

1806_60b8c12141048_722380.docx

120 KBs Word File

Students Have Also Explored These Related Computer Architecture Questions!