Originally posted by: VirtualLarry
You people that seem to think that the pagefile is only used as a "spillover", when all available physical RAM is allocated by kernel+applications, have the wrong view of how NT's VM paging works. The pagefile is used as the primary backing-store for all anonymous allocations. Physical RAM is merely a cache (one layer of the hierarchial memory-model) for the pagefile. When an application allocates anonymous memory, it allocates it DIRECTLY out of the pagefile, NOT out of physical RAM.(*) Therefore, pragmatic use of the pagefile would suggest that pagefile size never be set smaller than physical RAM. A pagefile size of 1.5x-2x of physical RAM is generally recommended.
When you say "generally" recommended, I assume you mean not in high-RAM situations? The way I take your explanation though, the old rule-of-thumb would seemingly be applicable to low and high RAM situations alike, yet the article linked in the KB near the top of this thread states:
A common recommendation is to make the page file 1.5 times the size of the installed RAM. This recommendation makes sense only for computers with small amounts of RAM (256 MB or less). For example, there is usually not much point in allocating a page file that is 3 GB if the computer has 2 GB of RAM. The objective in such RAM rich systems is to avoid using the pagefile at all by providing sufficient RAM that all virtual memory can be in RAM all the time. If the virtual memory in use exceeds the amount of installed RAM, performance will suffer and having a larger pagefile will not help this situation.
The fairly disappointing part, at least for me, is that even in these "RAM rich systems" it doesn't seem possible to "avoid using the pagefile at all" short of doing it by force, which as we learn in this thread, is not something recommended.