Paging and Segmentation Flashcards
What is a logical address?
The address generated by the CPU when a program is running.
It represents a location in the computer’s memory that the program wants to access.
What is a physical address?
A physical address is the actual location in the computer’s memory hardware (RAM) where data is stored.
What is paging?
A memory management scheme where we partition memory into small equal fixed-size chunks and divide each process into the same size chunks
The chunks of a process are called
pages
the chunks of memory are called
frames
For each process there is a page table
True
Formula for physical address
(frame*page size)+offset
Where is the page table kept?
In main memory
What is the PTBR?
Page table base register points to the page table
What indicates the size of the page table?
Page table length register
What is a TLB?
a memory cache that stores the recent translations of virtual memory to physical memory.
What is effective access time?
The total time it takes to access data from a system
EAT Formula
EAT=h(c+m)+(1-h)*(c+2m)
h=hit ratio
c=TLB access time
m=memory access time
What is a hit ratio?
percentage of times that a page number is found in the associative registers: related to the number of associative registers
What is Multilevel paging?
A paging scheme which consists of two or more levels of page tables in a hierarchical manner