XP: Prevent Windows Kernel From Using PagingExecutive Function

Contributor Icon Contributed by AlexTheBeast  
Tag Icon Tagged: Windows  

Placing the XP Kernel into RAM can be quicker than allowing it to page.


If you system has more than 256MB of RAM, then you should try this tweak. In theory, the kernel (and thus XP) should run faster if it kept in RAM instead of the slower page memory.

This involves editing the registry so make a registry backup before trying this.

Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\DisablePagingExecutive

Setting the value to 1 will prevent the kernel from using slower page memory.

Changing it back to the default value of 0 will return your system back to normal.

Remember that registry changes require reboot before you will see their effects.

 

1 Comment -


  1. Spike said on December 1, 2008

    Agree with the comment that the paging process swaps out infrequently used stuff rather than trying to make the Kernel run somewhere else than in RAM.

    I have an XP system with a 2 Gb CompactFlash pretending to be a hard disk. It has about 0.9 Gb free, and the system has 0.5 Gb main memory, which I am sure is enough for my primitive needs. I would rather have XP dump infrequently used data than to try to write it to the CompactFlash.

    Whether or not I use the Control Panel to specify “no page file,” XP refuses to create a page file–not sure whether this is because it has identified C: as Removable, or whether it is unable to allocate its recommended 0.75 Gb contiguously. I have the system in a state where it no longer nags me, but I saw this Registry entry and followed a Google search here.

    Separately, Toshiba suspend/resume seems to crash on suspend if a page file is not present, and I’m hoping it will not crash if I disable the entire paging executive.

    –Spike, Brentwood NH

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -