r/AskComputerScience • u/recyclops18505 • Apr 16 '26
Is this information correct?
I am studying and this excerpt from the study guide I was given isn't matching up with some of my other sources. Could someone please verify if any of this is correct/misleading? For instance, it says paging divides virtual memory and physical memory into pages, but isnt physical memory divided into frames?
Excerpt:
"Virtual RAM: also known as virtual memory, is a memory management technique used by operating systems to extend the apparent amount of RAM available to applications. This is done by using a portion of a computer's storage (such as an SSD or HDD) to simulate additional RAM.
Paging: The operating system divides physical memory and virtual memory into small fixed-sized blocks called pages. When the system runs out of physical RAM, it can swap inactive pages to the storage device, freeing up RAM for active processes.
Pagefile/Swap Space: On Windows systems, this is often referred to as a pagefile, while on Unix-like systems, it is called swap space. This file or partition on the storage device is used to store pages that are moved out of physical RAM.
Address Translation: The CPU uses a memory management unit (MMU) to translate virtual addresses (used by programs) into physical addresses (used by the hardware). This allows applications to use more memory than is physically available."
View all comments
Show parent comment
2
u/vanderZwan Apr 17 '26
I personally found https://pages.cs.wisc.edu/~remzi/OSTEP/ very accessible and introducing the various concepts in a sensible order. Virtualization happens to be the first book too,