WMPG-6 High CPU Resources on MPGClient.exe

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

spumco
Posts: 29
Joined: Sat Mar 22, 2025 5:24 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: WMPG-6 High CPU Resources on MPGClient.exe

Post by spumco »

Chaz wrote: Mon Aug 11, 2025 1:49 pm Out of interest, what was 'fixed'?
Using the original MPGClient.exe file resulted the PC's CPU being bogged down. Win Task Manager was showing 90%-100% total load, and MPGClient.exe was using 60%-75% continuously while CNC12 was running (but idle) with no other programs open.

Mouse, touchscreen, and keyboard were a bit laggy. Opening a window (such as selecting a file to run) resulted in a noticeable delay in mouse responsiveness when trying to select a file or move/resize a window.


Chaz
Posts: 797
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: WMPG-6 High CPU Resources on MPGClient.exe

Post by Chaz »

Sorry, I understand it was improved. What was actually done to improve it is my question.

I used to get odd issues with the MPG years ago, not something I see often anymore, just keen to understand.


CentroidFrog
Tech Support
Posts: 151
Joined: Wed Jan 29, 2025 9:39 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: WMPG-6 High CPU Resources on MPGClient.exe

Post by CentroidFrog »

To my understanding the MpgClient.exe is checking every so many milliseconds while idle for inputs, like turning the handwheel etc.
By default it's checking I believe every millisecond.
These other options Liviu posted change that to check for inputs every 50, 100, or 200 milliseconds while idle.
So going from every millisecond to every 200 milliseconds is of course a massive difference in performance.
Want to post your own question?
Check this out first: http://centroidcncforum.com/viewtopic.php?f=60&t=1043
Acorn CNC tech tips: viewforum.php?f=63


suntravel
Community Expert
Posts: 3706
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: WMPG-6 High CPU Resources on MPGClient.exe

Post by suntravel »

CentroidFrog wrote: Mon Aug 11, 2025 3:45 pm To my understanding the MpgClient.exe is checking every so many milliseconds for inputs, like turning the handwheel etc.
By default it's checking I believe every millisecond.
These other options Liviu posted change that to check for inputs every 50, 100, or 200 milliseconds.
So going from every millisecond to every 200 milliseconds is of course a massive difference in performance.
Yeah, but why is every ms using only 6% CPU with USB 3.1 on WIN 10 and 90% with USB3.2 on WIN 11?

Sounds like more latency for less performance...

Even worse like the short tuner joke "serial performance almost achieved" :mrgreen:

Uwe


cnckeith
Site Admin
Posts: 9029
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: WMPG-6 High CPU Resources on MPGClient.exe

Post by cnckeith »

for 5.4 we are going to parameterize the refresh rate so you can change the MPG client refresh rate via a CNC12 parameter (rather than copying files)
then we are going to look further into Windows 11 USB code for a better solution as the CPU usage on some of these win11 machines should not be this high.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Post Reply