Jump to content

Canada's top-tier Telescopes & Accessories
Be as specific as possible when reporting issues and *ALWAYS* include the full version number of the application you are using and your exact *CAMERA MODEL*
NEVER POST YOUR KEY IN ANY PUBLIC FORUM, INCLUDING THE O'TELESCOPE SUPPORT FORUM ::: IF YOU DO YOUR KEY WILL BE DEACTIVATED WITHOUT NOTICE!
  • 0

BETA 02e suprised by high CPU usage


andy-w-h

Question

Having got the BULB mode working with my D5300, tonight is the first night the clouds have lifted so as dusk approaches I thought I take some 600s darks.  I'm not sure  I understand why BYN is pulling around 50% CPU usage on a dual core @2.4GHz whilst seemingly doing nothing for 10 minutes (i.e. after the image transfer has completed).

 

So what is BYN upto?  A CPU core almost fully used seems a lot just to do some timing and display 1 to 600 !

 

Andy

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

5 answers to this question

Recommended Posts

Having got the BULB mode working with my D5300, tonight is the first night the clouds have lifted so as dusk approaches I thought I take some 600s darks.  I'm not sure  I understand why BYN is pulling around 50% CPU usage on a dual core @2.4GHz whilst seemingly doing nothing for 10 minutes (i.e. after the image transfer has completed).

 

So what is BYN upto?  A CPU core almost fully used seems a lot just to do some timing and display 1 to 600 !

 

Andy

 

Hi Andy,

 

Are you sure it is BYN?

 

You will get a peek of 5 to 15 seconds after an image download because I need to load the image, build the histogram, read exif data, display the image, etc. 

 

When no images are in the queue for processing, and that should be the case with 600 seconds shots BYN should be idling. It is on my computers.

 

Anyone else seen this?  I'm not seeing any evidence at my end.

 

Regards,

Link to comment
Share on other sites

Holly crap!  Found it!

 

It was a 1 millisecond error, but it had a 100% cpu usage side effect.  I had a loop timer with no sleep time between iterations; added a 1 millisecond wait and all it fine now.  Rookie mistake on my part <_>

 

It is fixed now and will be in the next release.

 

Thank you so much to reporting this, these errors are small in terms of coding but huge in terms of impact.

 

Do you want an interim build with the fix for testing?

 

Regards,

Link to comment
Share on other sites

Guylain,

 

I would love to try an interim build if possible .. saves my CPU fan doing a helicopter impression if nothing else :)

 

I have a question about the weather temperhum stuff but will raise that as another thread to stay on topic.

Link to comment
Share on other sites

Guylain,

 

I would love to try an interim build if possible .. saves my CPU fan doing a helicopter impression if nothing else :)

 

I have a question about the weather temperhum stuff but will raise that as another thread to stay on topic.

 

Ok, I'll post BETA 02f later today with the fix.

 

Thanks,

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Important Information

This site uses cookies to offer your a better browsing experience. You can adjust your cookie settings. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies, our Privacy Policy, and our Terms of Use