I read some tutorial for Operating System. I really don?t understand the difference between page and frame. I think that page is frame. Correct? for virtual memory
To steal the explanation for any anyone interested from here
<<
Memory in a virtual memory environment is managed in terms of discrete chunks called "pages". In the x86 architecture pages are usually 4Kbytes (just to be complete I'll mention that there is provision for a "large page", 4Mbytes, but never mind that).
Pages in virtual address space (which is what all code running under a virtual memory OS deals with) are called simply pages, or virtual pages.
Pages in physical memory (RAM) are called physical memory, or physical pages, or... "page frames". They are referred to by page frame number (PFN), aka the physical page number. The PFN is simply the high-order bits of the physical address of any byte within its page. How many bits? Enough to get pass the "byte within page" portion of the address. With 4K pages, it takes 12 bits to address the byte within each page, so with 32-bit addresses, the PFN is 20 bits wide.
The term "page frame" therefore simply means "a page of physical memory". It's important to understand that it NEVER refers to a page of virtual memory... even though the physical page (page frame) might be realizing one, or even several, pages of virtual memory at the time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.