Display Disk Activity – More gadget graphics trouble
Re: Display Disk Activity – More gadget graphics trouble
PS: The same issue appears when I attach the HDD onto USB2.0 port.
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
Yes, personally I expected that.
The problem may be the following: when Hard Disk Sentinel detects the change of the configuration (for example the insertion of the USB drive), it tries to re-detect the performance counters of Windows. Sometimes Windows does not create the performance object for the new device as should and this causes the troubles.
Moreover, to get the new counters, Hard Disk Sentinel need to clear the performance object cache of Windows (otherwise the newly inserted device would not have performance information displayed at all).
I suspect this cache-clear (and the re-build of disk-related performance objects) may require too much time and causes that "Perflib" disables the performance monitoring automatically.
To fix the situation, you may try to
A) disable Perflib from this (see links in above posts)
B) disable Hard Disk Sentinel from clearing the performance object cache this way:
1) click "start" (Windows) button and to the search field enter REGEDIT
2) open REGEDIT
3) navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel
(on 32 bit OS HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel )
4) create a new STRING key named DisablePerfCacheClear and specify value of 1 for that.
If this is configured, after restart, HDS will not issue this special function to clear performance cache when it detects the change of configuration
so hopefully you'll see that the counters will continue working (on other hard disks / SSDs).
The problem may be the following: when Hard Disk Sentinel detects the change of the configuration (for example the insertion of the USB drive), it tries to re-detect the performance counters of Windows. Sometimes Windows does not create the performance object for the new device as should and this causes the troubles.
Moreover, to get the new counters, Hard Disk Sentinel need to clear the performance object cache of Windows (otherwise the newly inserted device would not have performance information displayed at all).
I suspect this cache-clear (and the re-build of disk-related performance objects) may require too much time and causes that "Perflib" disables the performance monitoring automatically.
To fix the situation, you may try to
A) disable Perflib from this (see links in above posts)
B) disable Hard Disk Sentinel from clearing the performance object cache this way:
1) click "start" (Windows) button and to the search field enter REGEDIT
2) open REGEDIT
3) navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel
(on 32 bit OS HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel )
4) create a new STRING key named DisablePerfCacheClear and specify value of 1 for that.
If this is configured, after restart, HDS will not issue this special function to clear performance cache when it detects the change of configuration
so hopefully you'll see that the counters will continue working (on other hard disks / SSDs).
Re: Display Disk Activity – More gadget graphics trouble
My problem occurred after a reboot and after resuming from sleep. Win7x64.
My fix was to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel then create a new STRING key named DisablePerfCacheClear and specify value of 1 AND also create a new STRING key named DetectPerf and specify value of 1.
I needed to add both. When I first tried just the DisablePerfCacheClear String it didn't work, and DetectPerf String alone didn't work.
Hope this helps anyone who need it
My fix was to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel then create a new STRING key named DisablePerfCacheClear and specify value of 1 AND also create a new STRING key named DetectPerf and specify value of 1.
I needed to add both. When I first tried just the DisablePerfCacheClear String it didn't work, and DetectPerf String alone didn't work.
Hope this helps anyone who need it
Last edited by front360 on 2012.04.29. 05:26, edited 2 times in total.
Re: Display Disk Activity – More gadget graphics trouble
Thank you for share.front360 wrote:My problem occurred after a reboot and after resuming from sleep. Win7x64.
My fix was to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel then create a new STRING key named DisablePerfCacheClear and specify value of 1 AND also create a new STRING key named DetectPerf and specify value of 1.
Hope this helps anyone who need it
I'll have a try...
Re: Display Disk Activity – More gadget graphics trouble
After I do this, no disk activity display...hdsentinel wrote:
"Also To prevent Perflib from disabling counters, set the 0x2 (10) bit in the value of the Configuration Flags entry."
http://technet.microsoft.com/en-us/libr ... 10%29.aspx
0x2 (10 bit) = Do not disable counters
Maybe this helps somehow ....
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
This is interesting ... This should prevent _disable_ of the counters.
Do you now see the "Disable Performance Counters" = 1 in Regedit?
Just then the counters may remain disabled and it is required to manually enable them.
Do you now see the "Disable Performance Counters" = 1 in Regedit?
Just then the counters may remain disabled and it is required to manually enable them.
Re: Display Disk Activity – More gadget graphics trouble
I have the same problem hdsentinel.
I don't know when it happens, as I set HDS months ago, and just forgot about it(as it's job is to keep those things, not me ). But now when I was opening the tray I've noticed, no Ok/NotOK icons for my hard drives. When I went to the configuration I could not set the icons, it told me "not supported" somethng. I went here to look for the answer and I found it in this thread. Indeed this key "Disable Performance Counters" was set for me to 1. When I changed it to 0, the icons could be set again and all is working as normal.
Just to give more intel. I also have usb3.0 ports, and have usb3.0 pendrives.
Did any of you guys found a working solution?
cheers
I don't know when it happens, as I set HDS months ago, and just forgot about it(as it's job is to keep those things, not me ). But now when I was opening the tray I've noticed, no Ok/NotOK icons for my hard drives. When I went to the configuration I could not set the icons, it told me "not supported" somethng. I went here to look for the answer and I found it in this thread. Indeed this key "Disable Performance Counters" was set for me to 1. When I changed it to 0, the icons could be set again and all is working as normal.
Just to give more intel. I also have usb3.0 ports, and have usb3.0 pendrives.
Did any of you guys found a working solution?
cheers
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
The solution is to either prevent Windows from automatic "Disable" of the counters if they respond slowly or
disabling the extended function of Hard Disk Sentinel which caused Windows to clear and re-build the performance counters when the USB device is inserted.
Above ( viewtopic.php?f=32&p=2597#p2566 ) discussed these options, hope these helps ....
disabling the extended function of Hard Disk Sentinel which caused Windows to clear and re-build the performance counters when the USB device is inserted.
Above ( viewtopic.php?f=32&p=2597#p2566 ) discussed these options, hope these helps ....
Re: Display Disk Activity – More gadget graphics trouble
Thanks.hdsentinel wrote:The solution is to either prevent Windows from automatic "Disable" of the counters if they respond slowly or
disabling the extended function of Hard Disk Sentinel which caused Windows to clear and re-build the performance counters when the USB device is inserted.
Above ( viewtopic.php?f=32&p=2597#p2566 ) discussed these options, hope these helps ....
I'll try first disabling the HDSentinel default behaviour, before going more extreme and disable this behaviour of windows in general.
With that said, I wanted to ask you if I also have to do what front360 said:
My fix was to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel then create a new STRING key named DisablePerfCacheClear and specify value of 1 AND also create a new STRING key named DetectPerf and specify value of 1.
I needed to add both. When I first tried just the DisablePerfCacheClear String it didn't work, and DetectPerf String alone didn't work.
?
cheers
Lucas
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
Hi Lucas,
When you used "DetectPerf" = "1", Hard Disk Sentinel does not use any kind of real-time performance detection (the "Performance" page should show no performance data for any hard disk / SSD) as this option completely disables accessing Windows Performance Counter objects.
So if the "HKLM\System\CurrentControlSet\services\PerfDisk\Performance\Disable Performance Counters" changes even after this setting applied, it is caused by something else, not really related to Hard Disk Sentinel.
Do you have 64 bit OS? If not, you will need to use
HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel
in the registry (without the "Wow6432Node\", it is required only under 64 bit Windows).
When you used "DetectPerf" = "1", Hard Disk Sentinel does not use any kind of real-time performance detection (the "Performance" page should show no performance data for any hard disk / SSD) as this option completely disables accessing Windows Performance Counter objects.
So if the "HKLM\System\CurrentControlSet\services\PerfDisk\Performance\Disable Performance Counters" changes even after this setting applied, it is caused by something else, not really related to Hard Disk Sentinel.
Do you have 64 bit OS? If not, you will need to use
HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel
in the registry (without the "Wow6432Node\", it is required only under 64 bit Windows).
Re: Display Disk Activity – More gadget graphics trouble
I see. Thanks for the info. I removed this key based on your answer.hdsentinel wrote:Hi Lucas,
When you used "DetectPerf" = "1", Hard Disk Sentinel does not use any kind of real-time performance detection (the "Performance" page should show no performance data for any hard disk / SSD) as this option completely disables accessing Windows Performance Counter objects.
So if the "HKLM\System\CurrentControlSet\services\PerfDisk\Performance\Disable Performance Counters" changes even after this setting applied, it is caused by something else, not really related to Hard Disk Sentinel.
I do have 64bit OS.Do you have 64 bit OS? If not, you will need to use
HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel
in the registry (without the "Wow6432Node\", it is required only under 64 bit Windows).
Ok, I left only the key you suggested and we'll see if the problem comes again.
cheers
Lucas
Re: Display Disk Activity – More gadget graphics trouble
Hdsentinel, I disagree. I believe that when "DetectPerf" = "1", it forces HDS to use Performance Data and when it is set "0", then Performance Data is Disabled.hdsentinel wrote: When you used "DetectPerf" = "1", Hard Disk Sentinel does not use any kind of real-time performance detection (the "Performance" page should show no performance data for any hard disk / SSD) as this option completely disables accessing Windows Performance Counter objects.
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
Yes, you are correct, excuse me for the confusion!
"DetectPerf" = "0"
disables the detection of performance data for all drives.
Sorry again, it was my mistake.
"DetectPerf" = "0"
disables the detection of performance data for all drives.
Sorry again, it was my mistake.
front360 wrote:Hdsentinel, I disagree. I believe that when "DetectPerf" = "1", it forces HDS to use Performance Data and when it is set "0", then Performance Data is Disabled.
Re: Display Disk Activity – More gadget graphics trouble
So, just to be sure, after all both keys have to be added?
cheers
Lucas
cheers
Lucas
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
No, "DetectPerf" = "0" alone completely disables performance monitoring in Hard Disk Sentinel, this is the last choice if you prefer to have the performance monitoring disabled in Hard Disk Sentinel.
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
Let's summarize:
1) if you encounter any kind of problem related to real-time performance monitoring (for example the "Performance" tab), the first thing is to check if Windows have a problem with performance counter objects, either if they are disabled or corrupted. See: http://www.hdsentinel.com/faq.php#perf ( No Performance information displayed. What is wrong? )
2) if you encounter problems on specific events, for example when a removable hard disk/pendrive is inserted/removed or when the computer restores from standby: it is possible that the function of Hard Disk Sentinel (to clear the performance object cache of Windows, forcing Windows to re-build the performance counter objects) may take too much time. If this happens, "Peflib" in Windows may disable the performance monitoring completely.
To prevent this situation, you may
2a) configure Perflib to _not_ disable the counters as discussed on
http://technet.microsoft.com/en-us/libr ... 10%29.aspx
2b) disable this special function of Hard Disk Sentinel by using regedit, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel (or HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel on 32-bit systems)
then create a new STRING key named DisablePerfCacheClear and specify value of 1
This way Hard Disk Sentinel will continue detection of performance counter objects and reporting real time performance data - but only for devices present on startup of the system, not for new devices inserted.
3) if you prefer to completely disable Hard Disk Sentinel to access Windows performance objects, you can use regedit, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel (or HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel on 32-bit systems)
then create a new STRING key named DetectPerf and specify value of 0
Then the "Performance" page will not show any kind of information for all hard disks.
Hope this helps
1) if you encounter any kind of problem related to real-time performance monitoring (for example the "Performance" tab), the first thing is to check if Windows have a problem with performance counter objects, either if they are disabled or corrupted. See: http://www.hdsentinel.com/faq.php#perf ( No Performance information displayed. What is wrong? )
2) if you encounter problems on specific events, for example when a removable hard disk/pendrive is inserted/removed or when the computer restores from standby: it is possible that the function of Hard Disk Sentinel (to clear the performance object cache of Windows, forcing Windows to re-build the performance counter objects) may take too much time. If this happens, "Peflib" in Windows may disable the performance monitoring completely.
To prevent this situation, you may
2a) configure Perflib to _not_ disable the counters as discussed on
http://technet.microsoft.com/en-us/libr ... 10%29.aspx
2b) disable this special function of Hard Disk Sentinel by using regedit, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel (or HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel on 32-bit systems)
then create a new STRING key named DisablePerfCacheClear and specify value of 1
This way Hard Disk Sentinel will continue detection of performance counter objects and reporting real time performance data - but only for devices present on startup of the system, not for new devices inserted.
3) if you prefer to completely disable Hard Disk Sentinel to access Windows performance objects, you can use regedit, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HD Sentinel (or HKEY_LOCAL_MACHINE\SOFTWARE\HD Sentinel on 32-bit systems)
then create a new STRING key named DetectPerf and specify value of 0
Then the "Performance" page will not show any kind of information for all hard disks.
Hope this helps
Re: Display Disk Activity – More gadget graphics trouble
Fantastic. Yes this helps a lot.
Just couple questions. If I disable the hdsentinel option as I did already, when I plug in say external usb hard drive, will it be monitored for bad sectors etc, or "disabling performance monitor" means that nothing will be examined?
Cause if that's the case I will opt for disabling it in windows.
cheers
Lucas
Just couple questions. If I disable the hdsentinel option as I did already, when I plug in say external usb hard drive, will it be monitored for bad sectors etc, or "disabling performance monitor" means that nothing will be examined?
Cause if that's the case I will opt for disabling it in windows.
cheers
Lucas
- hdsentinel
- Site Admin
- Posts: 3128
- Joined: 2008.07.27. 17:00
- Location: Hungary
- Contact:
Re: Display Disk Activity – More gadget graphics trouble
Of course the device are examined for bad sectors and further problems. Complete status (including the Health %, Performance % shown on the "Overview" page, the "Temperature" page, etc...) are detected and displayed - just the real-time performance (the "Performance" page) is not displayed.
All other information are detected and reported.
All other information are detected and reported.
Re: Display Disk Activity – More gadget graphics trouble
Fantastic. The real time performance is not important to me, so I will go with just disabling hdsentinel's behaviour in this regard.
Thanks a lot for clarification.
Thanks a lot for clarification.
Re: Display Disk Activity – More gadget graphics trouble
Soyo, did you try my fix?