Does it help to force the kernel into RAM when you've got 16+ GB RAM?


  1. Posts : 117
    Windows 10
       #1

    Does it help to force the kernel into RAM when you've got 16+ GB RAM?


    Hi,

    So I was reading on the tenforums (as well as elsewhere) that supposedly forcing the windows kernel into RAM increases performance of Windows.

    Some of the write ups that I read suggested you only do this if you have an abundance of RAM, but other things I read suggested that the Kernel is already in RAM unless a program/app requires more memory in which case the Kernel is swapped out to virtual ram on the HDD and the real RAM is allocated to the program/app.

    So, if you have 16+ GB of RAM, would it improve performance to force the kernel onto RAM or will it simply always be in RAM when you have plenty of free RAM? Looking in task manager I rarely see my computer using more than about 4GB of my 16GB SRAM, unless for certain games that I play that will actually go up as high as about 12GB (with a bunch of added add-ons), so would it be worth looking further into this subject for my use or is it just as likely that the kernel is staying in RAM anyway since I never come close to using 16GB.

    Thanks
      My Computer


  2. Posts : 234
    Windows 10 Pro (x64)
       #2

    No those settings of keeping the kernel in RAM was nothing more than myths started way back when. It does nothing. Your best option. Leave Windows to manage itself.
      My Computer


  3. Posts : 5,452
    Windows 11 Home
       #3

    I guess, that you are referring to DisablePagingExecutive
    With that amount of RAM, it is most likely using RAM only.
    Disabling pagefile would pretty much force it to RAM anyway.
    I use that setting with no pagefile as well with 6 GB, no problems.
      My Computer


  4. Posts : 1,255
    Windows 10 Pro
       #4

    The kernel will always run in RAM. There is no way it could run anywhere else.
    The setting in question is "DisablePagingExecutive" in
    "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"

    How that became "load the kernel in RAM" is a mystery to me.

    In any modern OS the memory manager will always attempt to keep frequently accessed code and data in RAM and anything else can remain in the original files or the pagefile. If you have a reasonable amount of RAM the memory manager won't have to work very hard to do this. With 16 GB RAM data that was accessed even once could remain in RAM for long periods of time simply because there is no other need for it. This applies to all pageable code and data.

    The setting is of no relevance to normal computer users. It may be useful to developers working with device drivers. The amount of memory concerned is quite trivial in a modern OS. I tried the setting experimentally and was unable to detect any significant difference in performance or memory usage. And that was using tools more advanced than Task Manager.

    My advice would be to forget about this setting. Most of what has been written about it is wrong. Many people have claimed great performance gains from using it but I suspect they have been influenced by the placebo effect, which incidentally can be very strong.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:13.
Find Us




Windows 10 Forums