×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Multithread platesolving

1 month 4 weeks ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 691
Karma: 3
More
Topic Author
Multithread platesolving #43744
I noticed that while plate solving on the Raspberry Pi 4 that it was only taxing a single core on the system. Now the Pi4 already performs much better than the Pi3. But I can't help but wonder how much faster it would solve an image if it could task all 4 cores. Is there any way to implement multithreading for astrometry?

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
The following user(s) said Thank You giorgio_ne

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Multithread platesolving #43750
That is a a good idea, unfortunately it looks like its not implemented:

github.com/dstndstn/astrometry.net/issues/160

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1089
Karma: 6
More
Multithread platesolving #43756
Isn't the inparallel option exactly what you are looking for? According to the astrometry.cfg file:

# Check the indices in parallel?
#
# -if the indices you are using take less than 2 GB of space, and you have at least
# as much physical memory as indices, then you want this enabled.
#
# -if you are using a 64-bit machine and you have enough physical memory to contain
# the indices you are using, then you want this enabled.
#
# -otherwise, leave it commented-out.

#inparallel

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Multithread platesolving #43762
Nope that option keeps multiple index files in memory at the same time so it doesn’t have to keep loading them. It still has to wait for one file to be checked before moving to the next.

The desired option would use more than one computer core at the same time to solve images. Another words, it could check several files at the same time.

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago 1 month 4 weeks ago by wvreeven.
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1089
Karma: 6
More
Multithread platesolving #43765
Thanks for the clarification. The documentation of that option is a bit misleading! "Check the indices in parallel?" should read "Load the indices in parallel?".


Wouter

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 691
Karma: 3
More
Topic Author
Multithread platesolving #43796
It just so happens I was speaking to a man at my last RASC meeting who was working on redeveloping the way astrometry.net works on Windows. If I see him again I will inquire about multithreading.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2007
Karma: 19
More
Multithread platesolving #43799
"redeveloping the way astrometry.net works on Windows"

Are you talking about ANSVR here?

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 691
Karma: 3
More
Topic Author
Multithread platesolving #43804
From the looks of it he is working on making that obsolete. Something about no longer running within a UNIX shell. I didn't have a chance to go into great detail.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1089
Karma: 6
More
Multithread platesolving #43814
ANSVR runs a simple web server within a Cygwin environment but the underlying software that performs the actual plate solving still is astrometry.net. I am afraid that it will take more than getting rid of Cygwin to make it truly mtithreading.

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

Please Log in or Create an account to join the conversation.

Time to create page: 0.562 seconds