Here is something that might be interesting.
While I was looking at differnet things on the machines where PS is having performance problems and the one that does not have those problem here at work I noticed the following:
On the machine where I am having no problems the Task Manager shows the following 5 sub processes always running under the main process:
But on the other two machines where I am having problem the Task Manager shows only 1 sub process:
Let me know what you think.
PrimalScript is SLOW on Windows 10 Enterprise
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- FrankAndrew
- Posts: 164
- Last visit: Sat Apr 01, 2023 1:52 am
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: PrimalScript is SLOW on Windows 10 Enterprise
In one of them you have the console visible, in the other one you don't.
Make sure they all have the same settings and re-compare. Can you launch a PowerShell console on all the machines affected?
Make sure they all have the same settings and re-compare. Can you launch a PowerShell console on all the machines affected?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- FrankAndrew
- Posts: 164
- Last visit: Sat Apr 01, 2023 1:52 am
Re: PrimalScript is SLOW on Windows 10 Enterprise
Hi Alex,
I don't see where I have any consoles open, through the PS instance, on that machine where I am not having performance problems or on the other machines for that matter.
I have not knowingly changed any configuration about any console windows inside of PS.
Where should I look and where are they configured?
As to your other question yes I can open PowerShell and CMD.exe console windows on all machines.
With the proper rights I can also, as needed, open such consoles with other UserIDs and ad local Admin when needed.
I don't see where I have any consoles open, through the PS instance, on that machine where I am not having performance problems or on the other machines for that matter.
I have not knowingly changed any configuration about any console windows inside of PS.
Where should I look and where are they configured?
As to your other question yes I can open PowerShell and CMD.exe console windows on all machines.
With the proper rights I can also, as needed, open such consoles with other UserIDs and ad local Admin when needed.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: PrimalScript is SLOW on Windows 10 Enterprise
You would see that here:
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- FrankAndrew
- Posts: 164
- Last visit: Sat Apr 01, 2023 1:52 am
Re: PrimalScript is SLOW on Windows 10 Enterprise
Hi Alex,
Thanks for the info.
After taking another look at the machine that is not having performance problems I looked for those open consoles and could not find them.
Here is a screenshort of that machine with PS running and the Task Manager Processes list visible: Then I opened a PowerShell console as you show above: As you can see opening the PowerShell console explicitly does not add another process to the list in Task Manager.
What can or should I check now?
Thanks for the info.
After taking another look at the machine that is not having performance problems I looked for those open consoles and could not find them.
Here is a screenshort of that machine with PS running and the Task Manager Processes list visible: Then I opened a PowerShell console as you show above: As you can see opening the PowerShell console explicitly does not add another process to the list in Task Manager.
What can or should I check now?
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: PrimalScript is SLOW on Windows 10 Enterprise
It does. You may not see it, but I know it does. Since you covered the actual console window in the screenshot I can't see which one you opened
On the machine with the problem, close the console. Close PrimalScript. Rename cachecheck.exe to cachecheck-disabled.exe
Then start PrimalScript. It does not look like it adds a lot of CPU cycles but hey, we have to start somewhere.
On the machine with the problem, close the console. Close PrimalScript. Rename cachecheck.exe to cachecheck-disabled.exe
Then start PrimalScript. It does not look like it adds a lot of CPU cycles but hey, we have to start somewhere.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- FrankAndrew
- Posts: 164
- Last visit: Sat Apr 01, 2023 1:52 am
Re: PrimalScript is SLOW on Windows 10 Enterprise
On my machine that has the performance problem the renaming of the CacheChecker.exe had no effect, the problem still occurs.
On the machine that has no problems there are no visible console windows/dialog open anywhere I can "see".
Going to the Task Manager details reveals the following: Maybe that tells you where they come from and what they are doing.
I sill cannot see where they are.
Here is the Desktop with PS minimised: I imagine that they were flagged at startup to be non-visible (Windows Style Value= 0 (Hide the window)) but that is just a guess.
On the machine that has no problems there are no visible console windows/dialog open anywhere I can "see".
Going to the Task Manager details reveals the following: Maybe that tells you where they come from and what they are doing.
I sill cannot see where they are.
Here is the Desktop with PS minimised: I imagine that they were flagged at startup to be non-visible (Windows Style Value= 0 (Hide the window)) but that is just a guess.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: PrimalScript is SLOW on Windows 10 Enterprise
Well, I guess that is the wrong tree to bark up anyway. I'll see if any inspiration hits me today what to try next.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: PrimalScript is SLOW on Windows 10 Enterprise
Have you made any progress on this? I was wondering if you can turn off any network hardware on the machine where that happens?
It still very much smells like network timeouts to me.
It still very much smells like network timeouts to me.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- FrankAndrew
- Posts: 164
- Last visit: Sat Apr 01, 2023 1:52 am
Re: PrimalScript is SLOW on Windows 10 Enterprise
Hi Alex,
I cannot turn off the network hareware because I am working from home using Citrix GoToMyPC functionality.
Our Client OS guys want to investigate this further when I am back in the office but that will be awhile and I don't know how long.
There is, as mentioned before one of my machines where this is not happening and I am connecting to it also through GoToMyPC from the other machines that I am controlling from the outside through GoToMyPC.
So we still have no idea what is causing this.
I will update this theme as soon as I have any new information for you and anyone else this might be effecting.
I know this is not great information but that is all I have right now.
I cannot turn off the network hareware because I am working from home using Citrix GoToMyPC functionality.
Our Client OS guys want to investigate this further when I am back in the office but that will be awhile and I don't know how long.
There is, as mentioned before one of my machines where this is not happening and I am connecting to it also through GoToMyPC from the other machines that I am controlling from the outside through GoToMyPC.
So we still have no idea what is causing this.
I will update this theme as soon as I have any new information for you and anyone else this might be effecting.
I know this is not great information but that is all I have right now.