PixInsight Forum
2010 September 07 10:06:29 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to PixInsight Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 1.6.1 ImageRegistration: hangs, can not be interrupted  (Read 55 times)
Nocturnal
PixInsight Jedi Knight
*****
Posts: 1433



View Profile WWW
« on: 2010 July 31 03:17:48 »


Hi,

I'm trying to register a downloaded HST image onto an image I took. The HST image covers only the central area of mine. It's sitting here burning up a few cores (fans howling) on iteration 16 but that doesn't seem to finish. Clicking cancel doesn't do anything, presumably because that only gets checked when it comes out of an iteration. So now I have to kill PI which means I have to reproduce it before I can grab a process icon and all that. I'll let you know when I get to that. I do notice that during the RANSAC operation it seems to cycle between using only 1 core or maybe 3. Definitely not all 8.
Logged

Best,

    Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Nocturnal
PixInsight Jedi Knight
*****
Posts: 1433



View Profile WWW
« Reply #1 on: 2010 July 31 03:19:00 »

Oh, it used up 4 GB of RAM. Sweet! Ok, a little excessive smile First time I saw my memory utilization pegged at 97%.
Logged

Best,

    Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Niall Saunders
PixInsight Guru
****
Posts: 945


Taken back in 2007


View Profile
« Reply #2 on: 2010 July 31 09:05:59 »

Time for 8GB?

With your machine's 8 cores (compared to my 4), but with only 4Gb RAM (compared to my Cool, I wonder which machine actually ends up 'more capable' in the world of astro-image processing? I suspect that RAM wins - which is good, because RAM upgrades are usually cheap and therefore cost effective.

What are your thoughts?

Cheers,
Logged

Cheers,

Niall Saunders
Clinterty Observatories
Aberdeen, SCOTLAND

LX90 Classic 8"SCT - Homebrew Wedge and Pier
Moonfish ED80 APO Piggybacked - Homebrew 3D Balance
DSI IC, IIC, IIPro+Outback TEC
F'wheel+Meade RGB Filters+Astronomik 13nm Ha
QHY9 due to be ordered - Mono? OSC? Don't know!!
Juan Conejero
PTeam Member
PixInsight Jedi Master
******
Posts: 1984



View Profile WWW
« Reply #3 on: 2010 July 31 09:30:42 »

Hey Sander,

Quote
Oh, it used up 4 GB of RAM

What's the size of your images (WxHxN and sample type)? SA doesn't hang; it's just very slow because it needs to do a lot of work on disk swap files. If you'd have the patience to wait (it seems eternal at the beginning, but once Windows organizes its swap file the process speeds up), it would complete the task.

That happens because you're using a 64-bit OS. If you were using a 32-bit OS you'd have had a nice "out of memory" error smile With 4 GB, anything exceeding 2 GB approx. requires disk swapping activity. When you reach the limit of your physical memory, everything becomes extremely slow.

As Niall says, time for an 8 GB upgrade!
Logged

Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Juan Conejero
PTeam Member
PixInsight Jedi Master
******
Posts: 1984



View Profile WWW
« Reply #4 on: 2010 July 31 09:46:00 »

Quote
I do notice that during the RANSAC operation it seems to cycle between using only 1 core or maybe 3. Definitely not all 8.

The RANSAC routine actually uses all the cores (with several parallel RANSAC threads, the probability to find the optimal registration model gets multiplied by the number of threads). It is the star matching routine that implements algorithms which cannot be parallelized so efficiently. There are parts that use all the cores but they are so brief that performance monitors interpret them as narrow peaks of partial CPU usage (that's why you're seeing only 3 cores used). The performance monitor on Windows (is it part of the Task Manager if I remember well?) isn't reporting your CPU usage in real time. The same happens with the 'top' command on Linux for example.
Logged

Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Nocturnal
PixInsight Jedi Knight
*****
Posts: 1433



View Profile WWW
« Reply #5 on: 2010 July 31 17:05:19 »

I have 6 GB, 4 of which was used by PI. The reference image is a 3000x2000 color image, the image to be registered is 3500x3500 mono. To 'help' I flipped and mirrored the image to make it match closer.

Anyway, I tried again. With a preview roughly in the center of the reference image a solution was found in 23 seconds. Without the preview it gave up after 17 iterations but didn't print how long it had taken so I don't know. When I saw the problem before I had unchecked the brightness relations and scale differences checkboxes. That led to far more potential star matches I assume.
Logged

Best,

    Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!