Does any one know about pagefile

Nezmond

New member
Ive been told to turn my pagefile off because they slow your pc down, so i did. only to notice after running my pc 4 a short while that windows says that its low on virtual memory and my programs stop responding any ideas folkees?
 
Dont turn it off no matter how much ram you have. There are tweaks you can perform to optimise usage of the pagefile if you have x amount of ram in your system, but don't turn it off.
 
Disable Paging Of Core Files

You can improve Core System Performance in Windows NT/2k/2k3 on systems with large amount of RAM, by forcing the core Windows system files to be kept in memory and not paged to disk.

To appply this tweak, open the Registry and edit the value in the key below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

To enable: DisablePagingExecutive=dword:00000001 (Data Type: REG_DWORD, set to 1 to enable tweak and stop core processes from being paged to disk)

To disable: DisablePagingExecutive=dword:00000000 (Data Type: REG_DWORD, set to 0 to disable tweak, this is the Windows default setting)



Optimize the Pagefile


If you have more than one hard drive, it is a good idea to put your pagefile on the non-windows drives. Also, it is not a bad idea to set the pagefile to a constant size (1 to 2 times the available RAM), so it wont get fragmented.

Right-click on My Computer -> select Properties -> the Advanced tab -> Performance, Settings button -> Advanced tab, Virtual memory, Change button -> choose the drives and size available for pagefile(s).

I usually use a non-windows drive, and same Initial/Maximum size to avoid fragmentation of the pagefile. Another method to avoid fragmentation is to clear the pagefile on shutdown, by changing the following Registry setting:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\

"ClearPageFileAtShutdown=1" (1 clears the pagefile at shutdown, 0 is the Windows default).

There's a couple, other than that google's your friend :D
 
This is where RamDisk comes handy :D , maybe i should write a comprehensive tutorial with benchmarks on this.
 
Back
Top