Author Topic: multi... task  (Read 3939 times)

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
multi... task
« on: 2014 October 27 10:01:18 »
Hello PI team


I explain... ::)


Sometimes (or maybe too often), I launch a function which can be long (several minutes to complete, like deconvolution, imageintegration, HDRsomething)
During this process, I would like to do something like a small process on a 2nd image, or analyse some result...
In fact, I would like PI to be ready to work even during a long process.


Is it something realistic ?  :-\ 

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: multi... task
« Reply #1 on: 2014 October 28 00:54:42 »
Just a workaround: you may launch a second instance of PixInsight to keep working on other images.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: multi... task
« Reply #2 on: 2014 October 28 03:36:36 »
here one way to open a second instance from the console.
Saludos, Alejandro

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: multi... task
« Reply #3 on: 2014 October 29 04:31:14 »
Thank you, I will see how it works

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: multi... task
« Reply #4 on: 2014 October 31 04:58:49 »
Hi Philippe,

You can control the multi threading in PixInsight. You have the command "parallel" which can set the maximum number of allowed parallel threads. For instance, if you have a 4-core processor, you can run "parallel -p=6" to use only three cores. This way you have more processing power for the second PixInsight instance.


Best regards,
Vicent.