程序代写代做代考 algorithm kernel cache Java graph Page Replacement Algorithms: FIFO, LRU

Page Replacement Algorithms: FIFO, LRU
Operating Systems
Lab Class 9 – Model Solutions
1 Page Replacement Algorithms: FIFO, LRU
PageReplacement.java
1

PageTable.java

TLB.java

ReplacementAlgorithm.java

FIFO.java

LRU.java

Number of frames:
FIFO
LRU
1
20
20
2
18
18
3
16
15
4
14
10
5
10
8
6
10
7
7
7
7
6.
7. Physical memory(RAM)
Total: physical memory installed on your computer.
Cached: the System Cache shows the current physical memory used to map pages of open files.
Available: represents the amount of free memory that is available for use.
Free:is the amount of memory that is currently unused
Kernel Memory: memory used by the operating system kernel and device drivers. Paged: is memory that can be copied to the paging file, thereby freeing the physical mem- ory. The physical memory can then be used by the operating system.
Nonpaged: is memory that remains resident in physical memory and will not be copied out to the paging file.
Value on green graphic bar + Cached + Free= Total amount of RAM Cached + Free= Available