Is there a way to change the windows dirty page threshold?

Discussion in 'Windows 10' started by superciliousdude, Jan 18, 2018.

  1. superciliousdude

    superciliousdude MDL Novice

    Dec 21, 2012
    33
    19
    0
    Hi,

    In earlier versions of Windows (up to Server 2003), the Windows kernel used the registry entry at
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
    "SystemCacheDirtyPageThreshold"=dword:x
    to set the kernel value of CcDirtyPageThreshold. It used to be possible to reduce this value to prevent the kernel caching too much data and making the system slow, but at least Windows 8.1 and 10 (LTSB) as well as server 2016 do not read the SystemCacheDirtyPageThreshold from the registry, and the CcDirtyPageThreshold is not affected. On client systems it is set to 10% of memory and on servers it is set to 50%.

    I can change this value via windbg - but obviously I don't want to enable kernel debugging on a server, and of course this setting does not persist across reboots. Is there a persistent way to change this without a debugger?

    Thanks
     
  2. rockyanexpert

    rockyanexpert MDL Junior Member

    Mar 6, 2010
    87
    56
    0
    Yamicsoft Windows 10 Manager has a setting for the same.
     
  3. superciliousdude

    superciliousdude MDL Novice

    Dec 21, 2012
    33
    19
    0
    Thanks for your response to my post.

    Can you please point out where in the program this setting or option exists? I looked all over but I wasn't able to find anything that allowed a change to this value. I also looked in the program files and found it has no drivers. I don't think this value can be changed from userspace, but I would love to be wrong about that.