Page 1 of 2 12 LastLast
    Change Split Threshold for svchost.exe in Windows 10

    Change Split Threshold for svchost.exe in Windows 10

    How to Change Split Threshold for svchost.exe in Windows 10
    Published by Category: General Tips
    02 Oct 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,184

    Show Printable Version 


    How to Change Split Threshold for svchost.exe in Windows 10

    information   Information
    Starting with Windows 10 Creators Update build 14942, service hosts (svchost.exe) are split into separate processes on PCs with 3.5 GB or more of RAM.

    If your PC has 3.5+ GB of memory, you may notice an increased number of processes in Task Manager. While this change may look concerning at first glance, many will be excited to find out the motivation behind this change. As the number of preinstalled services grew, they began to get grouped into processes known as service hosts (svchost.exe’s) with Windows 2000. Note that the recommended RAM for PC’s for this release was 256 MB, while the minimum RAM was 64MB. Because of the dramatic increase in available memory over the years, the memory-saving advantage of service hosts has diminished. Accordingly, ungrouping services on memory-rich (3.5+ GB of RAM) PCs running Windows now offers us the opportunity to do the following:

    1. Increase reliability: When one service in a service host fails, all services in the service host fail. In other words, the service host process is terminated resulting in termination of all running services within that process. Individual service failure actions are then run. As you may have noticed in Task Manager before, service hosts can contain a lot of services:
    Name:  services_1.png
Views: 424
Size:  10.8 KB

    2. Increase transparency: Task Manager will now give you a better view into what is going on behind the scenes. You can now see how much CPU, Memory, Disk & Network individual services are consuming.

    To see the name of the service, click on the left-most arrow such that the Display name drops down. Alternatively, right-click on the header and select ‘Command Line’ to add the Command Line column. Service names will be listed in the format ‘svchost.exe -k <svchost name> -s <service name>.’
    Click image for larger version. 

Name:	services_2.png 
Views:	16 
Size:	18.9 KB 
ID:	156029
    Name:  svchost.exe.png
Views: 443
Size:  63.6 KB

    3. Reduce servicing costs: Following reports of instability, service engineers, IT admins, and Microsoft engineers can rapidly pinpoint issues to the exact service and fix it.

    4. Increase security: Process isolation and individual permission sets for services will increase security.

    Note that critical system services (services whose recovery require system restarts), as well as a couple of select service hosts, will remain grouped.

    If your PC has less than 3.5 GB of RAM, the classic service management model will be used. Services will be grouped like in previous versions of Windows.



    If wanted, you can configure how Windows 10 splits up svchost.exe processes by changing the value of the SvcHostSplitThresholdInKB DWORD. This DWORD can be used to reduce the amount of svcshost.exe processes by increasing the threshold for when the service processes split.

    The default and recommended behavior is having more svcshost.exe processes for the reasons above by leaving the SvcHostSplitThresholdInKB DWORD set to 380000.

    This tutorial will show you how to change the split threshold for svchost.exe processes for all users in Windows 10.

    You must be signed in as an administrator to change the SvcHostSplitThresholdInKB value.


    Here's How:

    1. Press the Win+R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    2. Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

    Name:  SvcHostSplitThresholdInKB_regedit-1.jpg
Views: 390
Size:  83.1 KB

    3. In the right pane of the Control key, double click/tap on the SvcHostSplitThresholdInKB DWORD to modify it. (see screenshot above)

    4. Type the value from the table below based on the amount of RAM (memory) in KB your PC has or if you want to restore this back to default, and click/tap on OK. (see screenshot below)
    Note   Note
    Example formula for value:

    8 GB = 8x1024 MB = 8x1024x1024 KB = 8388608 KB

    RAM Value
    (default) 380000
    4 GB 4194304
    6 GB 6291456
    8 GB 8388608
    12 GB 12582912
    16 GB 16777216
    24 GB 25165824
    32 GB 33554432
    64 GB 67108864
    Name:  SvcHostSplitThresholdInKB_regedit-2.png
Views: 387
Size:  18.4 KB

    5. Close Registry Editor.

    6. Restart the computer to apply.


    That's it,
    Shawn
  1.    01 Oct 2017 #1
    Join Date : Mar 2017
    Posts : 5,704
    64-bit Windows 10 Pro

    Thanks Shawn, I have been using this but the value I used was close to yours but not spot on.
      My ComputerSystem Spec
  2.    01 Oct 2017 #2
    Join Date : Oct 2013
    Posts : 25,184
    64-bit Windows 10 Pro build 17040
    Thread Starter

      My ComputersSystem Spec
  3.    01 Oct 2017 #3
    Join Date : May 2017
    somewhere between 0 and 1
    Posts : 15
    Windows 10 Pro

    really nice post... thanks for the valuable information
      My ComputerSystem Spec
  4.    02 Oct 2017 #4
    Join Date : Oct 2014
    Arnold, MD
    Posts : 28,956
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)

    Shawn, I have 32GB mem, mine is currently set to 380000 (default) in registry and there are no grouped services showing in task manager. Total processes vary from 195-220. I'm not clear on what affect changing the Reg to the 32GB value of 33554432 would do. I have not tried it yet.
      My ComputersSystem Spec
  5.    02 Oct 2017 #5
    Join Date : Oct 2014
    Trnava
    Posts : 2,857
    Windows 10.4 Home 1709 x64

    You can disable splitting svchost per a service in case of problems, like when Xbox's sign-in fails:
    Code:
    reg add "HKLM\System\CurrentControlSet\Services\XblAuthManager" /v "SvcHostSplitDisable" /t REG_DWORD /d "1" /f
      My ComputerSystem Spec
  6.    02 Oct 2017 #6
    Join Date : Mar 2017
    Posts : 5,704
    64-bit Windows 10 Pro

    Quote Originally Posted by f14tomcat View Post
    Shawn, I have 32GB mem, mine is currently set to 380000 (default) in registry and there are no grouped services showing in task manager. Total processes vary from 195-220. I'm not clear on what affect changing the Reg to the 32GB value of 33554432 would do. I have not tried it yet.
    I have been using it for quite some time, it reduces my processes from 120 to around 70 + when Idle. See the image below but that is with Firefox running.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	15 
Size:	80.1 KB 
ID:	156139
      My ComputerSystem Spec
  7.    02 Oct 2017 #7
    Join Date : Oct 2014
    Arnold, MD
    Posts : 28,956
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)

    Quote Originally Posted by Josey Wales View Post
    I have been using it for quite some time, it reduces my processes from 120 to around 70 + when Idle. See the image below but that is with Firefox running.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	15 
Size:	80.1 KB 
ID:	156139
    Thanks, Josey. But I thought the whole purpose was to create more, smaller SVCHOST processes, to isolate and manage and protect from 1 service taking down 20 or more. Maybe I just don't fully understand the purpose.
      My ComputersSystem Spec
  8.    02 Oct 2017 #8
    Join Date : Mar 2017
    Posts : 5,704
    64-bit Windows 10 Pro

    Quote Originally Posted by f14tomcat View Post
    Thanks, Josey. But I thought the whole purpose was to create more, smaller SVCHOST processes, to isolate and manage and protect from 1 service taking down 20 or more. Maybe I just don't fully understand the purpose.
    Here it is at Idle. I think it just combines processes much the same way Firefox used to compared to Chrome.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	12 
Size:	80.8 KB 
ID:	156142
      My ComputerSystem Spec
  9.    02 Oct 2017 #9
    Join Date : Oct 2013
    Posts : 25,184
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Hello Dick,

    SvcHostSplitThresholdInKB DWORD is used to reduce the amount svcshost.exe processes by increasing the threshold for when the service processes split.

    The default and recommended behavior is having more svcshost.exe processes by leaving the SvcHostSplitThresholdInKB DWORD set to 380000 for the reasons at the top of the tutorial.
      My ComputersSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Tutorial Category
How to install windows 10 from a split hard drive?
I have a PC with 1tb hard drive. Currently am running windows 7 from it. I want to update to windows 10. I have tried windows media creation tool but it failed giving me some error. Is there anyway to install windows 10 from an iso by splitting my...
Installation and Upgrade
User Accounts Change Account Lockout Threshold for Local Accounts in Windows 10
How to Change Account Lockout Threshold for Local Accounts in Windows 10 The Account lockout threshold policy setting determines the number of failed sign-in attempts that will cause a local account to be locked. A locked account cannot be used...
Tutorials
Solved Windows 10 svchost virus
Hi. I have recently started having CPU problems. Apparently, it's because of a trojan virus called svchost.exe. Anytime I use an internet browser (any) I get a message from my web protection that it's blocking the virus but my CPU still gets...
AntiVirus, Firewalls and System Security
Desktop icon label drop shadows always on after split windows
https://www.youtube.com/watch?v=wW1TY5jDGrk As shown in this video (you might have to set the quality to 720p), you can switch on and off the drop shadows of your Windows 10 desktop icon labels. However, after using the auto arrange snap...
General Support
Customization Change Taskbar Thumbnail Threshold to Show List in Windows 10
How to Change Threshold of Taskbar Thumbnails to Show List in Windows 10 When you hover over the icon or button on the taskbar of opened items, it will show either thumbnail previews or a list of the opened windows or tabs for that item. The...
Tutorials
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 03:43.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums