Solution
a)
0 2 1 3 5 4 6 3 7 4 7 3 3 5 5 3 1 1 1 7 2 3 4 1
FIFO
0 |
5 |
5 |
5 |
5 |
3 |
3 |
3 |
3 |
4 |
2 |
2 |
4 |
4 |
4 |
4 |
5 |
5 |
5 |
5 |
1 |
1 |
1 |
6 |
6 |
6 |
6 |
1 |
1 |
1 |
3 |
3 |
3 |
3 |
7 |
7 |
7 |
7 |
2 |
2 |
4 1 1 1 1 1 1 1 1 1
Total Number of Page fault is 13
B)
LRU
0 |
5 |
5 |
5 |
7 |
7 |
7 |
7 |
7 |
1 |
2 |
2 |
4 |
4 |
4 |
4 |
1 |
1 |
4 |
4 |
1 |
1 |
1 |
6 |
6 |
5 |
5 |
2 |
2 |
2 |
3 |
3 |
3 |
3 |
3 |
3 |
3 |
3 |
3 |
3 |
4 1 1 1 1 1 1 1 1 1
Total Number of Page fault is 13
C)Optimal
OPTIMAL
0 |
5 |
5 |
5 |
5 |
1 |
1 |
2 |
2 |
4 |
4 |
4 |
4 |
4 |
1 |
1 |
1 |
6 |
7 |
7 |
2 |
3 |
3 |
3 |
3 |
3 |
3 |
3 |
4 1 1 1 1 1 1
Total Number of Page fault is 10
--
answered one question as per policy,really sorry for that
please post remaining question,love to answer
all the best
Name Olbinna COSC414/514 Quiz3 (1) Suppose a computer has 4 physical pages, and a process referen...
Implement the frame replacement algorithm for virtual memory Assume a computer system have 10 memory frames available inside the physical memory and is required to execute a process containing 20 pages. Assume a process P has been executed in the system and produced a sequence of 40 page demands as follows: Page demands trace of process P Demand 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cont. Page...
III. Consider a process that has been allocated 5 pages of memory: P1, P2, P3, P4, and P5. The process accesses these pages in the following order: P1 P2 P3 P4 P1 P2 P5 P1 P2 P3 P4 P5 (i) Illustrate Belady’s anomaly by precisely describing the execution of the FIFO page eviction algorithm in two cases: a) where the machine has 3 pages of physical memory, and b) where the machine has 4 pages of physical memory, and by...
Consider the following virtual page reference sequence: page 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3. This indicates that these particular pages need to be accessed by the computer in the order shown. Consider each of the following 4 algorithm-frame combinations: LRU with 3 frames FIFO with 3 frames LRU with 4 frames FIFO with 4 frames . For each of the 4 combinations, below, move from left to right as the virtual page numbers are...
3. Assume a virtual memory system with the following properties: • The physical memory available to an application consists of four-page frames, with frame numbers 0, 1, 2, and 3. The application has six pages of data in its virtual address space, using page numbers 0, 1, 2, 3, 4, and 5. Build a table showing which frame is used to bring in each page for the following sequences of page references using FIFO, MIN, and LRU as page replacement...
Shot step by step. When a running process experiences a page fault, the frame to hold the missing page can only come from those frames allocated to that process, not from frames used by any other process. The memory system chooses which frame to use using a simple first-in-first-out technique. That is, the first time it must choose a frame to use to hold a page being loaded to resolve a page fault, it chooses the first frame it loaded...
Exercise l: Suppose that we have a virtual memory space of 28 bytes for a given process and physical memory of 4 page frames. There is no cache. Suppose that pages are 32 bytes in length. 1) How many bits the virtual address contain? How many bits the physical address contain? bs Suppose now that some pages from the process have been brought into main memory as shown in the following figure: Virtual memory Physical memory Page table Frame #...
4. Perform a SWOT analysis for Fitbit. Based on your
assessment of these, what are some strategic options for Fitbit
going forward?
5. Analyze the company’s financial performance. Do trends
suggest that Fitbit’s strategy is working?
6.What recommendations would you make to Fitbit management to
address the most important strategic issues facing the
company?
Fitbit, Inc., in 2017: Can Revive Its Strategy and It Reverse Mounting Losses? connect ROCHELLE R. BRUNSON Baylor University MARLENE M. REED Baylor University in the...