Author Topic: StarAlignment seems to ignore thread priority  (Read 4548 times)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
StarAlignment seems to ignore thread priority
« on: 2011 January 01 13:18:56 »

Hi,

I was registering an image while listening to some music. The playback started to stutter while in the 'Structure Map' phase. This did not change as I lowered the maximum thread priority. Somehow PI still thinks it's appropriate to run at 'critical' priority which is absurd in itself. My PC is a general purpose machine and resources are to be shared. Music playback should continue, email should still be processed etc. Oh well, we had the discussion a long time ago but I guess it didn't stick.

In any event, even at priority 'high' PI interrupts music playback on my i7-920 based system. It should not do that. It must be a good citizen on my PC.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: StarAlignment seems to ignore thread priority
« Reply #1 on: 2011 January 01 13:40:12 »
ACDNR same thing. Looks like this is a generic problem with PI not honoring the selected thread priority. This should be fixed quickly if it turns out this is indeed happening.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: StarAlignment seems to ignore thread priority
« Reply #2 on: 2011 January 01 14:28:50 »
We already had this, and I was hoping it was fixed. http://pixinsight.com/forum/index.php?topic=1256.0
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: StarAlignment seems to ignore thread priority
« Reply #3 on: 2011 January 01 14:36:49 »
I think it used to be fixed but it got 'unfixed'. At least I don't remember this being a problem before installing the latests version.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: StarAlignment seems to ignore thread priority
« Reply #4 on: 2011 January 01 14:49:54 »
Hi,

This is strange since I have not changed anything (intentionally at least) related to thread execution priorities in version 1.6.9. Could be a regression. I'll take a deep look and will release an update as required.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: StarAlignment seems to ignore thread priority
« Reply #5 on: 2011 January 01 14:53:44 »
Thanks Juan.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: StarAlignment seems to ignore thread priority
« Reply #6 on: 2011 January 09 18:14:03 »
I'm trying to figure out what the actual thread priority is as the threads execute on my system. No easy task. Process Explorer lists all threads but won't dynamically display their priority. When PI runs a deconvolution it even makes the cursor stutter. To me this means it's hogging the processors and starving even basic system functions.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity