System clock resolution 1ms

Post Reply
Alik
Posts: 1
Joined: Jul 26th, 2014, 1:43 pm

System clock resolution 1ms

Post by Alik »

Hi,
I am wondering why USB Safely Remove changes system clock resolution,
default timer interval of 15ms is changed to 1ms.

ClockRes was used to find out
http://technet.microsoft.com/cs-cz/sysi ... 97568.aspx

This might lead to higher battery consumption on laptops. It shouldn't
be needed as this very short time would not influence anything.

Thanks for info
Techland
Posts: 43
Joined: Aug 23rd, 2010, 2:07 am

Re: System clock resolution 1ms

Post by Techland »

I can confirm this finding. As soon as USR is started and sitting in the dock (doing nothing...) the timer is changed to 1 ms. That should indeed not be necessary.

And just in case you missed why this topic suddenly comes up:

http://www.forbes.com/sites/ianmorris/2 ... p-battery/
User avatar
Igor
Developer
Posts: 602
Joined: Nov 1st, 2007, 12:44 pm
Location: Saint Petersburg
Contact:

Re: System clock resolution 1ms

Post by Igor »

Hello guys,

Clearly it's a bug in the program since there's no need in changing of this global option. I have traced this issue and found that one of the thirdparty library (VirtualTreeView) that program uses changes this setting, but this problem has already fixed in its newer version. So in the following version we will fix the problem.

P.S. But unfortunately fixing this bug doesn't help a lot in saving energy. At least two of the running applications on my computer are also decreasing timer interval to 1 ms and one of them is Firefox.
Techland
Posts: 43
Joined: Aug 23rd, 2010, 2:07 am

Re: System clock resolution 1ms

Post by Techland »

Hello Igor,

thanks for replying quickly and giving out all the details. Much appreciated!

Question: when will the update of USR be available? This being a minor update I fear it will not be easy to find out as you no longer openly communicate the versions and updates of USR. I dare to say that because:

- you removed all version information from the home page and download page

- the only version information is on the totally outdated blog page, celebrating version 5.2

This will have caused many regular users to miss the update from 5.2.2 to the current 5.2.3 (1205) already, that you get when downloading it.

Regarding Firefox: not here with FF 25 and FF 31 under Windows 7. Also confirmed by several magazines. You either have a plug-in or add-on that causes this, or were on a website with video content.

Thanks for keeping USR on top of my can't-live-without-it tools!
User avatar
Igor
Developer
Posts: 602
Joined: Nov 1st, 2007, 12:44 pm
Location: Saint Petersburg
Contact:

Re: System clock resolution 1ms

Post by Igor »

Techland wrote: Question: when will the update of USR be available? This being a minor update I fear it will not be easy to find out as you no longer openly communicate the versions and updates of USR. I dare to say that because:
I hope in a month approximately.
Techland wrote: - you removed all version information from the home page and download page

- the only version information is on the totally outdated blog page, celebrating version 5.2
The blog contains an actual information and is not outdated. And yes, we accidentally removed the version information from the download section while reworked the web-site. We will restore that. Thanks for mention it!
Techland wrote: This will have caused many regular users to miss the update from 5.2.2 to the current 5.2.3 (1205) already, that you get when downloading it.
Actually the version 5.2.3 contain no changes from 5.2.1 it's fixed only one bug that affected only registered users with newer keys (they keys weren't accepted). Therefore we haven't notified about this version since it won't add value.
Techland wrote: Regarding Firefox: not here with FF 25 and FF 31 under Windows 7. Also confirmed by several magazines. You either have a plug-in or add-on that causes this, or were on a website with video content.
Probably you are right, at least browsing the plugin list I found some strange plugins.
Techland
Posts: 43
Joined: Aug 23rd, 2010, 2:07 am

Re: System clock resolution 1ms

Post by Techland »

2 months already...
Techland
Posts: 43
Joined: Aug 23rd, 2010, 2:07 am

Re: System clock resolution 1ms

Post by Techland »

3 months already...

That's quite disappointing.
User avatar
Igor
Developer
Posts: 602
Joined: Nov 1st, 2007, 12:44 pm
Location: Saint Petersburg
Contact:

Re: System clock resolution 1ms

Post by Igor »

Techland wrote:3 months already...

That's quite disappointing.
Hi Techland,
I haven't promised we will release a new version in a month, I just hoped it will be released in a month but unfortunately it won't happened. Software building is a kind of work where it's hard to estimate dates since there are lots of research work. Anyway we are working on the new version and I hope it'll be released soon.

As for this bug. Despite there were lots of articles with scary titles like one in Forbes, no one actually measured how much power consume increasing of the system clock resolution. I doubt it's so much (e.g my own laptop work time does not increase at all after we fix the bug) therefore we do not consider this as critical and do not release any hot-fix.
Techland
Posts: 43
Joined: Aug 23rd, 2010, 2:07 am

Re: System clock resolution 1ms

Post by Techland »

Igor, thanks for version 5.3.2, released as small Christmas gift for us USR addicted! Timer is now 15 ms - case closed.

Any more changes than that? I did not find a history list somewhere...

Edit: found it: http://safelyremove.com/blog/en/usbsafelyremove-5-3

Merrry Christmas!
User avatar
Igor
Developer
Posts: 602
Joined: Nov 1st, 2007, 12:44 pm
Location: Saint Petersburg
Contact:

Re: System clock resolution 1ms

Post by Igor »

You are welcome and happy holidays to you too!
jis
Posts: 4
Joined: Feb 4th, 2009, 10:36 pm

Re: System clock resolution 1ms

Post by jis »

Code: Select all

C:\Program Files\SysinternalsSuite>Clockres.exe

ClockRes v2.0 - View the system clock resolution
Copyright (C) 2009 Mark Russinovich
SysInternals - www.sysinternals.com

Maximum timer interval: 15.625 ms
Minimum timer interval: 0.500 ms
Current timer interval: 15.626 ms
That's great, thank to Alik to point it out and to the dev to rectify it.
Post Reply