• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

PatchMyPCService high CPU usage during publishing

Started by merlinfrombelgium, February 05, 2020, 05:03:32 AM

Previous topic - Next topic

merlinfrombelgium

What CPU usage is everyone seeing for the PatchMyPCService during publishing?
Running on the Primary Site Server which is also the WSUS/SUP. Only 2 vCPUs @2.6Ghz
Process uses both CPUs and uses about 40-60% CPU usage.

Infra changes are planned to better scale for ConfigMgr. But I'd like to know what others see.

Justin Chalfant (Patch My PC)

Hey Merlin,

I would say that's probably about normal if you are only running 2 cores. When we call the WSUS API, it will perform a full hash calculation of the downloaded binary file to ensure it's a match. The CPU will see a little spike during this operation.

Please be aware you are only running 25% of the recommended hardware requirement for a SUP: https://docs.microsoft.com/en-us/configmgr/core/plan-design/configs/recommended-hardware#bkmk_RemoteSiteSystem

Site system role               CPU (cores)   Memory (GB)   Disk space (GB)
Software update point1        8                       16                 As required by the operating system and to store updates that you deploy

I would probably try to bump up to at least 4 CPU cores and see how that looks :).

Quote from: merlinfrombelgium on February 05, 2020, 05:03:32 AM
What CPU usage is everyone seeing for the PatchMyPCService during publishing?
Running on the Primary Site Server which is also the WSUS/SUP. Only 2 vCPUs @2.6Ghz
Process uses both CPUs and uses about 40-60% CPU usage.

Infra changes are planned to better scale for ConfigMgr. But I'd like to know what others see.


merlinfrombelgium

Thanks for your reply Justin.

We've made the customer fully aware of that! Changes are planned for coming months.

I appreciate your technical insight. Not really seeing spikes though. Rather a consistent usage while downloads and publishing is ongoing.

Justin Chalfant (Patch My PC)


merlinfrombelgium

Build 1.5.9.0

Yes, there's activity as this is the first publishing run since implementation. So resource usage is expected, just didn't expect it to be this high, is all.

Justin Chalfant (Patch My PC)

Gotcha, yeah I don't believe the WSUS hash checking is the most efficient method anymore. For example, if you publish a large update say > 500MB, you may notice it will probably take 5+ minutes to complete the publishing API. We've run a procmon during this phase and you can see as its hashing through the entire binary relatively slowly.

Quote from: merlinfrombelgium on February 05, 2020, 05:43:14 AM
Build 1.5.9.0

Yes, there's activity as this is the first publishing run since implementation. So resource usage is expected, just didn't expect it to be this high, is all.

tajeke

The PatchMyPCService during publishing typically uses about 40-60% CPU usage. However, this can vary based on factors such as hardware configuration and workload. Since you're running it on the Primary Site Server with only 2 vCPUs @2.6GHz, this usage level seems reasonable. Keep in mind that the recommended hardware requirement for a Software Update Point (SUP) is 8 CPU cores and 16GB of memory1. If you plan to scale for ConfigMgr, consider increasing the CPU cores to at least 4 and monitor the impact. 😊

tajeke

The CPU usage you're experiencing with PatchMyPCService is within the expected range given your current hardware setup. If you're considering scaling up for ConfigMgr, increasing the CPU cores to at least 4 could indeed help manage the load more efficiently. Unlock the full potential of BIM with Autodesk Revit 2024 at ProCADIS.com. Monitoring the system's performance after the upgrade will be crucial to ensure that it meets the demands of your environment. Remember, the recommended specs are a guideline, and the actual requirements can vary based on your specific usage patterns and the number of clients being served. 😊