• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

XP- Can someone explain Page File Usage in detail?

Okay. The page file is used as "virtual memory." (A real computer term.)

Each process that runs under the NT kernel is given a 4 gigabyte address space. Normally, the upper 2 gigabytes are reserved for the OS to use, and the app can use the lower 2 gigabytes.

Each process has it's own private 2gb space that other processes can't see.

Now, of course, you don't have 2gb of physical RAM for each process, and each process isn't going to use the full 2gb. The operating system keeps track of how much memory each process is using, and where in physical memory is mapped to where in each process' virtual address space.

Memory that a process is accessing needs to be in physical RAM. But memory that's not being used at the moment can be swapped out to disk. This is what the pagefile is for. The memory manager keeps track of memory usage and swaps pages out to disk to make room in physical RAM for pages that need to be accessed by running apps.

Under the i386 architecture, pages are 4K in size.

Before you wonder if you can go without a pagefile, don't. The memory manager needs a pagefile, for reasons that neither you nor I fully understand. The NT memory manager is quite mature and has been written and tweaked by some very, very smart people, and I'm not about to try to second-guess them.

For the real gritty, low level details of the memory manager, see "Inside Windows 2000, Third Edition" by Solomon and Russinovich.
 
Okay. The page file is used as "virtual memory." (A real computer term.)

Virtual Memory is the entire process and concept you decribed, the pagefile is just a pagefile or swap if you prefer to call it that.

Under the i386 architecture, pages are 4K in size.

Every x86 processor since the PPro also supports 'large' pages that are 4M.
 
Originally posted by: Nothinman
Okay. The page file is used as "virtual memory." (A real computer term.)

Virtual Memory is the entire process and concept you decribed, the pagefile is just a pagefile or swap if you prefer to call it that.

Under the i386 architecture, pages are 4K in size.

Every x86 processor since the PPro also supports 'large' pages that are 4M.

The NT memory manager uses 4K pages on the i386 platform.
 
Originally posted by: CrowDog
Im not totally clear on what Page File Usage is...can someone please explain?
As for the "PF Usage" in the Windows XP task manager, that is (afaik) the sum of the amount of RAM used plus the amount of pagefile used. Note that Windows NT/2k/XP will swap to the page file well before your physical RAM is totally filled. I'm not sure why they do this, but if you read the book such as NogginBoink recommended, it would probably tell you.

 
Back
Top