Stop XP Kernel Paging?

  • Thread starter Thread starter Det.John.Kimble
  • Start date Start date
D

Det.John.Kimble

Got a GB of memory. Any XP registry tweaks that'll tell XP to load into
memory and not page?
 
XP uses virtual memory no matter how much RAM you have installed. You should
read a bit about how XP uses virtual memory. Hopefully Ron Martel will
notice your post and reply - he explains this very well.

Tom Swift
 
that's OK with me but i don't want the XP paging at all. i want it always
resident and only want the other stuff paging. wouldn't that increase XP
performance?
 
Det.John.Kimble said:
Got a GB of memory. Any XP registry tweaks that'll tell XP to load into
memory and not page?

Is it actually paging, that is moving active memory pages from RAM to
the paging file, or is it just using paging file space to meet the
memory requirements for the unused portions of memory allocation
requests?

Check for actual page file usage with a free utility from
http://www.dougknox.com/xp/utils/xp_pagefilemon.htm or from
http://billsway.com/notes_public/WinXP_Tweaks/

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 
Windows task manager shows Kernel memory, Paged (30936K) and Nonpaged
(7900K). Paged is always much more than nonpaged. With a lot of memory to
spare, why not load XP and keep it in memory completely and all the time?
Why page the OS? Just more overhead.
 
Det.John.Kimble said:
Windows task manager shows Kernel memory, Paged (30936K) and Nonpaged
(7900K). Paged is always much more than nonpaged. With a lot of memory to
spare, why not load XP and keep it in memory completely and all the time?
Why page the OS? Just more overhead.
There is no way to tell from the data that Windows XP reports just how
much, if any, of the active memory content has actually been moved
from RAM to the page file.

The utility that I mentioned in my previous response will show you
exactly how much, if any, actual paging activity has occurred.

The terminology used for some of the memory related reporting
functions in Windows XP is quite ambiguous and can be interpreted in
several ways.

Here are the definitions that are used by task manager:

Kernel Memory (K)

Memory used by the operating system kernel and device drivers. Paged
is memory that can be copied to the paging file, thereby freeing the
physical memory. The physical memory can then be used by the operating
system. Nonpaged is memory that remains resident in physical memory
and will not be copied out to the paging file.


So paged memory has exactly zero relevance in terms of how much, if
any, actual paging has occurred. It just shows how much could be,
should the need ever arise.

Hope this clarifies the situation.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 
I found this... Appears to be just what I want! I'll see if it works
tonight.


http://www.billssite.com/xptweak3.htm

Memory Performance

Improving memory performance can be done simply by preventing your hard
drive from being used for cache. This is only useful with 256Mb or more of
RAM.

Everything that you'll need to edit here can be found in
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Memory
Management

So of course add
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management] to your *.reg file.

Disable Paging Executive
This will prevent pages sections from RAM going to the hard drive. If you
have a large amount of RAM at least 256Mb (I suggest 512) you might want to
keep the data in your RAM to improve your performance considerably due to
reduced amount of hard drive swappage. The entry that you will want to
modify is called DisablePagingExecutive. Changing this from 0 to 1 will keep
the data in your RAM.

"DisablePagingExecutive"=dword:00000001

System Cache Boost
The XP kernel can be loaded into your RAM with a simple registry edit. This
can greatly improve performance since the NT Kernel will always be in your
RAM. With this edit you will allocate roughly 4Mb of your RAM for the
kernel. Sometimes more RAM is used but most of the time it is only 4Mb. The
entry that you will need to find is called LargeSystemCache and you'll need
to change this from 0 to 1 in order to enable this.

"LargeSystemCache"=dword:00000001

To put both of these RAM tweaks into use you'll add something like this to
your reg file

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001
 
Det.John.Kimble said:
I found this... Appears to be just what I want! I'll see if it works
tonight.


http://www.billssite.com/xptweak3.htm

The only accurate bit of information on that page is this one
sentence:

"This may cause your system to quit booting"

Everything else is pure hokum.

See MVP Alex Nichol's article on XP Memory Management at
http://aumha.org/win5/a/xpvm.htm for some accurate information and
advice regarding memory management in Windows XP.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 
Here is a tweak.... Find your caps key and next look for
reality.... Linux isn't an option for 99% of people so
just accept it and get over it....

As for helping the original poster, just set windows to
no page file, it's a option you can set under "system
properties" then "advanced" then press the "settings"
button under "performance" yet again another "advanced"
tab then press the "change" button. Finally select the
drive with your page file on it and chane it to "no
pageing file". Press the "set" button, restart and you're
done.
 
Back
Top