Page/Swap/RAM File Implementation
Posted: Tue Aug 23, 2022 7:08 pm
As far as I know, the page file is used to extend the RAM by temporarely storing unused RAM to the disk. Marking each page as paged and loading it when a page fault occurs.
- How systems choose pages to be paged
- RAM extension using a Paging File doesn't seem to be safe and in a (brute force) case it will slow/freeze/panic the operating system.
- Memory Management Question : the FreePool() or free() function must search through a list of memory/heap segments, a (page table scheme) will be much faster but so ineffective.
- Unused memory is selected by going through the page tables and checking the accessed bit and the dirty bit to write new content to the page file
- Do you recommand loading page by page or loading the entire heap from the page file ?
- How systems choose pages to be paged
- RAM extension using a Paging File doesn't seem to be safe and in a (brute force) case it will slow/freeze/panic the operating system.
- Memory Management Question : the FreePool() or free() function must search through a list of memory/heap segments, a (page table scheme) will be much faster but so ineffective.
- Unused memory is selected by going through the page tables and checking the accessed bit and the dirty bit to write new content to the page file
- Do you recommand loading page by page or loading the entire heap from the page file ?