Exercise. Pagination
Statement.
System memory size is 64 units and Operating
System size is 4 units. The processes are allocated in the exercise
table order. Page size is 2 units.
Given exercise processes data, answer the questions:
- Create the table of the pages of each process at simulation end:
| Process |
| Page |
Frame |
Valid Bit |
|
|
|
|
|
|
|
|
|
| etc... |
- What is the formula used to know the physical address
corresponding to the logical address of a process in pagination memory
management?
- Swap out the following pages: P1 page 2, P3 pages 0 and 3
Indicate the corresponding physical address of processes in the table.
If the address does not match the logical address space of the process
indicate an error, and if the address is in a swapped page
indicate page error
| Proceso |
Location
logic |
Location
physical |
| P1 |
@ 3 |
|
| P1 |
@ 6 |
|
| P3 |
@ 0 |
|
| P3 |
@ 8 |
|
Data
| Process |
Size |
Duration
Time |
| P1 |
5 u. |
∞ |
| P2 |
4 u. |
∞ |
| P3 |
11 u. |
∞ |
| P4 |
5 u. |
∞ |
| P5 |
7 u. |
∞ |
| P6 |
3 u. |
∞ |
Are allocated into memory in the table order.