Pagefile and RAM Performance and Stablity question!

Ransome

Distinguished
Jul 24, 2012
1,163
2
19,315
So I was wondering, do I need to change the pagefile also known as virtual memory numbers from the windows auto managed (default)?

I am using Core i5-3570k, Asus GTX 670 DC2T, an SSD M4 for my system, HD WD TB Black, and 16 GB of Corsair 1600 Mhz RAM. Windows 8,1 64bit

I basically read that it is best to set the value to 0 - yes to zero. especially if you have an SSD so you save performance and protect ssd etc..

IS THAT CORRECT?
WHAT ARE THE BEST VALUES?
and what does virtual memory / pagefile do exactly? never figure the terms...



 
Solution


Contrary to popular belief, virtual...
People will always give different opinions in regards to the page file. I set my to 0 on all my computers, never encountered a single issue myself doing it.

If you have 16GB+ of memory, page file off is fine, and even if you do want it on just set it to 1GB; page-file is if you run out of memory.
 

Ransome

Distinguished
Jul 24, 2012
1,163
2
19,315
like I said, I have an SSD which the system runs on. 256 Crucial M4 which has 115 gb to spare atm. And I recently bought a 2tb WD Black (its nearly empty)
but I don't want to mess up with my system. atm its on 0. but is it safe? good for performance? any way to confirm this?

16 GB of ram, yup that's what I have. I set my BIOS to X.M.P profile - which automatically boost my ram from 1333 Mhz to 1600 Mhz. Not sure why my Corsair 1600 Mhz was reading 1333 default at bios. but X.M.P seem to fix it automatically.
Not sure if that is ok though... maybe I should manually change my ram to 1600? (sorry if this is off topic).
 

navysealbrian

Distinguished
Jan 18, 2006
214
0
18,760
I have not used a page file for about 4-5 years. Unless you have low amounts of RAM/using software that uses loads of RAM, you don't need one. I've heard some applications require a page file, I haven't personally come across one. I've ran a system with 8GB of RAM with no pagefile and almost never had an issue, other than 2-3 times when I loaded too many programs (having 5 games up at once plus running flash videos is too much for 8 GB). That is the single thing that's bad about having no pagefile, if you use up all your RAM, Windows will automatically force close a program to free up some space. If you have enough RAM (especially if you have 16GB), that shouldn't be an issue.
 
A solid state drive will of course be better than a hard drive for a page file as it's faster. Page file has no bearing on performance, it's an emergency ram allocation method for when you're out of system memory. Keeping it off is fine, or 1GB if you want to feel safe.

Your motherboard just defaults to 1333mhz too, you're good to go with XMP; as long as it remains stable that is.
 


Contrary to popular belief, virtual memory and the page file are not the same thing.

Virtual memory is an addressing mode which organizes physical memory into pages (normally 4KiB each, but in certain modes 2MiB pages can also exist) and provides each running task with its own virtual memory space. This address space starts at address 0 and spans all the way up to the top of the memory space allowed by the architecture. For an x86 machine running in 32-bit protected mode this spans from 0x0 to 0xFFFFFFFF, and for an x86 machine running in 64-bit long mode this spans from 0x0 to 0xFFFFFFFFFFFFFFFF. Naturally the address space cannot be full for each application, so most of the addresses are simply uninitialized and attempting to access them will result in an exception.

Virtual addresses are translated by the CPU into physical addresses through a process known as a page walk. The details aren't too complicated, but I'll skip over it for purposes of brevity as it's somewhat tangential to the point (if you want to know more, just ask). This translation process allows all running tasks to have their own code and data start at address 0 without worrying about collisions as they will all be mapped into different physical addresses. In essence, it allows each task to run in isolation without any knowledge of other running tasks and without the ability to read or write to memory other than its own or that which it shares with the OS.

This mode can easily be extended to swap application memory from the DRAM to a page file on a hard disk in a fashion that is transparent to the application. The swap is visible on the physical side, but invisible on the virtual side. Over time committed memory (assigned to a task) that is infrequently accessed will be moved to the hard disk such that the DRAM can be used for other running tasks. When an application accesses a memory address that's been swapped to disk, the CPU generates a page fault and the OS handles the fault by moving the desired page from the page file back into memory.

If you have gobs of DRAM in your system you can certainly disable the page file entirely. However, it is recommended to leave at least 1GiB available on a hard disk to store kernel crash dumps as these cannot persist in DRAM through a reboot.

Having a larger pagefile is fine. If I were you I'd leave about 16GiB on your HDD, and disable it on your SSD. Since you're using Windows 8.1 it may disable it on your SSD by default if your HDD was present upon installation.
 
Solution

Andy11466

Distinguished
Mar 21, 2013
465
0
19,060


 


eh?
 

Andy11466

Distinguished
Mar 21, 2013
465
0
19,060


internet glitched out.
meant to say

what he said^ xp