Display Disk Activity – More gadget graphics trouble

How, what, where and why - when using the software.
Jeidy
Posts: 7
Joined: 2012.04.23. 09:50

Re: Display Disk Activity – More gadget graphics trouble

Post by Jeidy »

PS: The same issue appears when I attach the HDD onto USB2.0 port.
b.PNG
b.PNG (54.21 KiB) Viewed 31743 times
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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).
front360
Posts: 8
Joined: 2012.04.18. 00:49

Re: Display Disk Activity – More gadget graphics trouble

Post by front360 »

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 ;)
Last edited by front360 on 2012.04.29. 05:26, edited 2 times in total.
Jeidy
Posts: 7
Joined: 2012.04.23. 09:50

Re: Display Disk Activity – More gadget graphics trouble

Post by Jeidy »

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 ;)
Thank you for share.
I'll have a try... ;-)
Jeidy
Posts: 7
Joined: 2012.04.23. 09:50

Re: Display Disk Activity – More gadget graphics trouble

Post by Jeidy »

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 ....
After I do this, no disk activity display... :roll:
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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.
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

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
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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 ....
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

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 ....
Thanks.

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
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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).
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

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 see. Thanks for the info. I removed this key based on your answer.
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).
I do have 64bit OS.

Ok, I left only the key you suggested and we'll see if the problem comes again.

cheers
Lucas
front360
Posts: 8
Joined: 2012.04.18. 00:49

Re: Display Disk Activity – More gadget graphics trouble

Post by front360 »

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, 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.
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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.
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.
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

So, just to be sure, after all both keys have to be added?

cheers
Lucas
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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.
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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 ;)
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

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
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Display Disk Activity – More gadget graphics trouble

Post by hdsentinel »

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.
soyo
Posts: 51
Joined: 2011.12.22. 12:29

Re: Display Disk Activity – More gadget graphics trouble

Post by soyo »

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.
front360
Posts: 8
Joined: 2012.04.18. 00:49

Re: Display Disk Activity – More gadget graphics trouble

Post by front360 »

Soyo, did you try my fix?
Post Reply