PTBatcherGUI temp folder and best performance?

65 views
Skip to first unread message

Jan Martin

unread,
Jul 20, 2013, 3:01:03 PM7/20/13
to hugi...@googlegroups.com
Hi all,

this is about PTBatcherGUI from the command line on Windows 7.

Is there a way to set the tmp folder for the .tiff files?
So far they are in the same folder as the resulting .jpg images.

Performance:
I am using --parallel with as many .pto files as there are cores.
Each .pto files is ony 6 files with 5 MB each. But a real lot of .pto files.

Is that the right setting for best performance?

Thanks,

Jan




dmg

unread,
Jul 20, 2013, 3:13:17 PM7/20/13
to hugi...@googlegroups.com
Hi Jan,

Try setting the environment variable TMP or TMPDIR to where you want
the files (at least they are supposed to work for PTmender and other
PT tools).

--dmg
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hugin-ptx+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/CAOgyrB6zB%2BhavDbLb7dh-%2Bp-FrpwhOoRp0KnWRs8U_iHoqC8%3DQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
--dmg

---
Daniel M. German
http://turingmachine.org

Jan Martin

unread,
Jul 20, 2013, 3:18:20 PM7/20/13
to hugi...@googlegroups.com
these are the command line options:

  • /h, --help show this help message
  • /b, --batch run batch immediately
  • /p, --parallel run batch projects in parallel
  • /d, --delete delete *.pto files after stitching
  • /o, --overwrite overwrite previous files without asking
  • /s, --shutdown shutdown computer after batch is complete
  • /v, --verbose show verbose output when processing projects

Nothing about temp.

Anyone got first-hand experience?

Thanks.


T. Modes

unread,
Jul 23, 2013, 11:58:39 AM7/23/13
to hugi...@googlegroups.com


Am Samstag, 20. Juli 2013 21:01:03 UTC+2 schrieb Jan Martin:

Performance:
I am using --parallel with as many .pto files as there are cores.
Each .pto files is ony 6 files with 5 MB each. But a real lot of .pto files.

Is that the right setting for best performance?


The single programs are not designed to run in several instances parallel.
They (nona, enblend, enfuse) are using as much threads as there are cores and consume a lot of memory.
For the first point you can limit the number of threads to one in the Hugin settings. But this does not solve the problem with the memory usage.
So I would not recommend to run several instances parallel (except you have a lot of free memory, a very fast hard disc and a 64-bit version).

Thomas

Jan Martin

unread,
Jul 23, 2013, 12:13:47 PM7/23/13
to hugi...@googlegroups.com
Hi Thomas,

you nailed it.

I have
- 64 bit Windows,
- lots of RAM,
- fast SSD.

Running as many batches in parallel as there are cores is the most permanent setup I found.

I just posted a bounty today for a command-line option to "shut down PTBatcherGUI when done" at this list.
An option for the temp folder would be nice too.

Jan



--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.

Frederic Da Vitoria

unread,
Jul 23, 2013, 12:33:20 PM7/23/13
to hugin-ptx
2013/7/23 Jan Martin <janm...@diy-streetview.org>

Hi Thomas,

you nailed it.

I have
- 64 bit Windows,
- lots of RAM,
- fast SSD.

Running as many batches in parallel as there are cores is the most permanent setup I found.

I just posted a bounty today for a command-line option to "shut down PTBatcherGUI when done" at this list.
An option for the temp folder would be nice too.

Jan



On Tue, Jul 23, 2013 at 5:58 PM, T. Modes <Thomas...@gmx.de> wrote:


Am Samstag, 20. Juli 2013 21:01:03 UTC+2 schrieb Jan Martin:

Performance:
I am using --parallel with as many .pto files as there are cores.
Each .pto files is ony 6 files with 5 MB each. But a real lot of .pto files.

Is that the right setting for best performance?


The single programs are not designed to run in several instances parallel.
They (nona, enblend, enfuse) are using as much threads as there are cores and consume a lot of memory.
For the first point you can limit the number of threads to one in the Hugin settings. But this does not solve the problem with the memory usage.
So I would not recommend to run several instances parallel (except you have a lot of free memory, a very fast hard disc and a 64-bit version).

Thomas

I don't use PTBactherGUI, simply because I always do 1 panorama at a time and my panoramas are small enough that I can wait a few seconds for Hugin to finish. So that I could be completely wrong, but I don't understand: I thought that the point of a tool like PTBatcherGUI was precisely to feed it new jobs before it has finished the previous ones. Why parallelize the jobs? Why not instead use your machine's hose power to handle each panorama faster. Intuitively, I'd think that parallelizing would lead to an increase in HD head thrashing and an increase in total execution time.

--
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
Reply all
Reply to author
Forward
0 new messages