Had HS2 running forever (latest version) and paused to move to HS3.
With really high CPU loads after HS restarts and even higher, to the 90% level after 4-7 days, I was cautious about adding more automation.
Saw a post on board that made me think about getting a tool to review what is happening at a more specific level and went the route of the application of Systeminternals on Microsoft site. I used 1 of the many -applications - process monitor.
Selected the Homeseer process -> selected Tools -> process tree -> added to filter -> and to view auto scroll.
Next I dove in for a review. For those that have not tried this; You get the detailed call that include file open, close, read, write in detail and ms / millisecond reporting.
12:34:20.0099611 PM HomeSeer.exe 9468 CreateFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
12:34:20.0099887 PM HomeSeer.exe 9468 QueryBasicInformationFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS CreationTime: 12/15/2014 12:34:20 PM, LastAccessTime: 12/15/2014 12:34:20 PM, LastWriteTime: 12/15/2014 12:34:20 PM, ChangeTime: 12/15/2014 12:34:20 PM, FileAttributes: ATNCI
12:34:20.0100058 PM HomeSeer.exe 9468 CloseFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS
12:34:20.0101831 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\system.mdb NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
12:34:20.0102809 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2 SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
12:34:20.0103071 PM HomeSeer.exe 9468 QueryDirectory C:\Program Files (x86)\HomeSeer HS2\system.mdb NO SUCH FILE Filter: system.mdb
12:34:20.0103294 PM HomeSeer.exe 9468 CloseFile C:\Program Files (x86)\HomeSeer HS2 SUCCESS
12:34:20.0104230 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\system.mdb NAME NOT FOUND Desired Access: Generic Read/Write, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Random Access, Open No Recall, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a
12:34:20.0106405 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\Data\mcsSprinklers\mcsSprinklers.mdb SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
I found that my HS loads were from scripts and processes that were looping, churning, doing lots of CPU activity that was not functional. If you weight the amount of activity in % of all activity, then I saw a dominant loads in HS. My loads were hundreds / thousands of activities of a script that did not end and produce a result. I might be poorly written. do not know yet.
In my case I stopped a few scripts, and disabled a plugin to see the immediate changes.
Really the largest difference I have seen in years?? Now my audio and response on PC are very good and I am seeing a good approach to handling potential loads issues in the future, for automation and PC applications. (it is one of those concepts that I already knew but did not apply it to the issue at hand)
Hope this helps someone track down something that is running off track and bring it back to a better operation in automation.
See attached pictures for examples.
PC is running nicely now. HS responds much faster to events.
With really high CPU loads after HS restarts and even higher, to the 90% level after 4-7 days, I was cautious about adding more automation.
Saw a post on board that made me think about getting a tool to review what is happening at a more specific level and went the route of the application of Systeminternals on Microsoft site. I used 1 of the many -applications - process monitor.
Selected the Homeseer process -> selected Tools -> process tree -> added to filter -> and to view auto scroll.
Next I dove in for a review. For those that have not tried this; You get the detailed call that include file open, close, read, write in detail and ms / millisecond reporting.
12:34:20.0099611 PM HomeSeer.exe 9468 CreateFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
12:34:20.0099887 PM HomeSeer.exe 9468 QueryBasicInformationFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS CreationTime: 12/15/2014 12:34:20 PM, LastAccessTime: 12/15/2014 12:34:20 PM, LastWriteTime: 12/15/2014 12:34:20 PM, ChangeTime: 12/15/2014 12:34:20 PM, FileAttributes: ATNCI
12:34:20.0100058 PM HomeSeer.exe 9468 CloseFile C:\Users\Richard\AppData\Local\Temp\JET406C.tmp SUCCESS
12:34:20.0101831 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\system.mdb NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
12:34:20.0102809 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2 SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
12:34:20.0103071 PM HomeSeer.exe 9468 QueryDirectory C:\Program Files (x86)\HomeSeer HS2\system.mdb NO SUCH FILE Filter: system.mdb
12:34:20.0103294 PM HomeSeer.exe 9468 CloseFile C:\Program Files (x86)\HomeSeer HS2 SUCCESS
12:34:20.0104230 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\system.mdb NAME NOT FOUND Desired Access: Generic Read/Write, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Random Access, Open No Recall, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a
12:34:20.0106405 PM HomeSeer.exe 9468 CreateFile C:\Program Files (x86)\HomeSeer HS2\Data\mcsSprinklers\mcsSprinklers.mdb SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
I found that my HS loads were from scripts and processes that were looping, churning, doing lots of CPU activity that was not functional. If you weight the amount of activity in % of all activity, then I saw a dominant loads in HS. My loads were hundreds / thousands of activities of a script that did not end and produce a result. I might be poorly written. do not know yet.
In my case I stopped a few scripts, and disabled a plugin to see the immediate changes.
Really the largest difference I have seen in years?? Now my audio and response on PC are very good and I am seeing a good approach to handling potential loads issues in the future, for automation and PC applications. (it is one of those concepts that I already knew but did not apply it to the issue at hand)
Hope this helps someone track down something that is running off track and bring it back to a better operation in automation.

See attached pictures for examples.
PC is running nicely now. HS responds much faster to events.
Comment