Share via

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows - csrss.exe MaxRequestThreads= range?

Anonymous
2021-12-21T17:03:44+00:00

Greetings:

I had been trying to search for documentation on this but does anyone know for the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows registry key which involves csrss.exe, what is the range or limit for the MaxRequestThreads= variable?

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

24 answers

Sort by: Most helpful
  1. Igor Leyko 111K Reputation points Independent Advisor
    2021-12-22T20:53:58+00:00

    resmon shows 212 MB free memory not 6 GB.

    Where to find MVP - yes, this is a hard task. You may look for them at LinkedIn for example.

    What exactly causes high CPU usage? Could it be system interrupts? Please sort Process explorer picture by CPU usage.

    And please trust me, server versions are much more adapted to 500 processes running simultaneously then client OSes.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-12-22T19:37:36+00:00

    Well, the free ram is 6GB now and the tool is not incorrect because if I don't run Windows 11 Pro under Hyper-V early after system bootup, Hyper-V will not run that VM because it will complain about insufficient memory. I am also using Windows Subsystem for Linux 2 and also Windows Subsystem for Android at the same time.

    Process Hacker, Process Explorer all show the same information. The high CPU load has to do with the CPU throttling due to the heat from the CPU as the CPU runs at nearly 85-90C which is causing the CPU to throttle. All processes will have high CPU times because of that as basically the CPU ends up running at a slower speed.

    https://www.ultrabookreview.com/14875-fix-throttling-xps-15/

    Desktop computer with the same things running will not have the issue as cooling can easily be fixed with more fans, etc.

    Now I know what you mean about source code but isn't that information only someone who works for Microsoft would have access to? Besides, where will I find a MVP with access to the source code?

    Believe me, it has nothing to do with if it's Windows Server or the Client OS as remember, the problem only exists with notebooks due to the limitations in the cooling.

    Was this answer helpful?

    0 comments No comments
  3. Igor Leyko 111K Reputation points Independent Advisor
    2021-12-22T00:22:08+00:00

    Can you show resmon tool screen with same 4 GB free RAM? Seems your tool may give incorrect information, sorry. And please use resmon or Process Explorer to check what exactly causes high CPU load.

    Mentioning source code I want to say the answer can be found only in source code now unfortunately (this is my opinion). I may try to look at old KB articles but this may take some time.

    And seems your task is more suitable for Windows server not for Windows 10.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-12-21T23:28:39+00:00

    Well, the links are where the postings that mentions someone using larger sizes than 16 is and I do not control the forums.

    The 4GB free ram is real because there is 32GB of physicial ram. I am running another Windows 11 Developers Channel under Hyper-V. And remember like I told you before, I am monitoring over 1800 stocks in real time plus the few hundred tabs in both Google Chrome and Microsoft EDGE so those do take up memory if you run enough of them.

    I mean it seems like there is always a limit except I don't want to keep trying a higher limit because as I said, I remember when I tried too high for the Windows SharedSection=1024,20480,8192 when I had other computers available, the BSOD required booting into the command prompt and then importing that section of the registry back in using another computer but that was easier because at least floppies were still available while right now, there is no removable media I am able to use.

    This is not about a source code as remember this is a registry key that I am talking about that is a parameter for csrss.exe but all discussions is about the Windows SharedSection and there is nothing about the MaxRequestThreads part of the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows key.

    As for CPU load, Process Explorer and Process Hacker which I am using shows the same exact information. The CPU is higher as like I said, it's related to it being in a notebook where Dell designed a poor thermal design so when the CPU is heated up, the CPU's utilization is higher. There is no workaround for it like there was in Windows 10 as neither Intel XTU or Throttlestop works since Microsoft has blocked access to things those two apps need access to, to use undervolt to fix the problem.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-12-21T19:19:46+00:00

    A lot of things are using the CPU as the other problem is the CPU is thermal throttling because of the problem. I run a lot of things like ThinkorSwim and a few hundred browser tabs in both Chrome and Edge. I mean it seems like increasing MaxRequestThreads is what's making the difference in how long the system is usable but without documentation, I don't want to go outside of the range of numbers that is safe.

    Image

    Here are links to various MaxRequestThreads=
    80 and 96:
    https://titanwolf.org/Network/Articles/Article?AID=f535d4a8-bdfa-47a6-8185-709308112fd6

    256 and 1024:
    https://bbs.kakaku.com/bbs/K0000185738/ClassCD=6/SortRule=2/ResView=all/

    Was this answer helpful?

    0 comments No comments