GPU/CPU utilization

187 views
Skip to first unread message

Allan Tuxen

unread,
Apr 15, 2021, 5:47:13 AM4/15/21
to pt...@googlegroups.com
Hi PTGUI
When I make highly anamorphic images does it takes a very long time and neither GPU, disks nor CPU are utilized. For the first 45 min. is  e.g. only 1 to 2 core out of 24 in CPU and no GPU. And at the end of the stitching process, all CPU core and GPU are used as well. Can I change something in some settings to improve CPU / GPU utilization

image.png
And after 45 min
image.png

image.png

PTGui Support

unread,
Apr 15, 2021, 9:52:58 AM4/15/21
to pt...@googlegroups.com
Hi Allan,

Are you saying the problem is specific to this projection, other
projections run much faster? If so there's not much you can do, I would
need to look into this.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 15/04/2021 11:46, Allan Tuxen wrote:
> Hi PTGUI
> When I make highly anamorphic images does it takes a very long time and
> neither GPU, disks nor CPU are utilized. For the first 45 min. is  e.g.
> only 1 to 2 core out of 24 in CPU and no GPU. And at the end of the
> stitching process, all CPU core and GPU are used as well. Can I change
> something in some settings to improve CPU / GPU utilization
>
> image.png
> And after 45 min
> image.png
>
> image.png
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/CAFrtJozbyMfVLX%3D-LHhgk8aZfvHU5sgzddaOX9hBAFo2CRHQtA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ptgui/CAFrtJozbyMfVLX%3D-LHhgk8aZfvHU5sgzddaOX9hBAFo2CRHQtA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Allan Tuxen

unread,
Apr 15, 2021, 2:46:57 PM4/15/21
to pt...@googlegroups.com
Hi Joost
It is on all stitching projects that its only use 1 core in the beginning off the stitchning process. but it is of course only a problem with big project. My project is from a drone with 46 Tiiff 16 bit image approx 20mpixel where all exept one is VP. A normal 25000x12000 equirectangular image takes less than 2 min but if and when I make a little planet where center has a offset, the does it take for ever 20-60 min. and here can I see at the first 95% off the time does it only use one or two CPU core and 1%GPU. and the last 5% of the time all the 24 CPU cores and about 30% off the GPU is in use.
Below is the type I make
image.png
Best regards
Allan Tuxen




To unsubscribe from this group and stop receiving emails from it, send an email to ptgui+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com.

PTGui Support

unread,
Apr 16, 2021, 7:11:00 AM4/16/21
to pt...@googlegroups.com
Hi Allan,

I've tried but couldn't find a problem. If I stitch a tiny planet at the
same number of pixels as the equivalent equirectangular image, it takes
about the same time.

But if you stitch at the optimum size, please note that the tiny planet
might have 10x the number of pixels as the equirectangular file. This is
because PTGui attempts to keep the same center resolution. The edges of
the tiny planet will be extremely stretched.

For example my 27284 x 13642 optimum size equirect becomes a 64826 x
64826 little planet.

Stitching 10x more pixels will take much longer. And if the panorama no
longer fits in RAM, PTGui will start swapping to disk. If you don't have
a fast NVME SSD, this will become the bottleneck.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 15/04/2021 20:46, Allan Tuxen wrote:
> Hi Joost
> It is on all stitching projects that its only use 1 core in the
> beginning off the stitchning process. but it is of course only a problem
> with big project. My project is from a drone with 46 Tiiff 16 bit image
> approx 20mpixel where all exept one is VP. A normal 25000x12000
> equirectangular image takes less than 2 min but if and when I make a
> little planet where center has a offset, the does it take for ever 20-60
> min. and here can I see at the first 95% off the time does it only use
> one or two CPU core and 1%GPU. and the last 5% of the time all the 24
> CPU cores and about 30% off the GPU is in use.
> Below is the type I make
> image.png
> Best regards
> Allan Tuxen
>
>
>
>
> Den tor. 15. apr. 2021 kl. 15.52 skrev 'PTGui Support' via PTGui Support
> <pt...@googlegroups.com <mailto:pt...@googlegroups.com>>:
>
> Hi Allan,
>
> Are you saying the problem is specific to this projection, other
> projections run much faster? If so there's not much you can do, I would
> need to look into this.
>
> Kind regards,
>
> Joost Nieuwenhuijse
> www.ptgui.com <http://www.ptgui.com>
>
> On 15/04/2021 11:46, Allan Tuxen wrote:
> > Hi PTGUI
> > When I make highly anamorphic images does it takes a very long
> time and
> > neither GPU, disks nor CPU are utilized. For the first 45 min.
> is  e.g.
> > only 1 to 2 core out of 24 in CPU and no GPU. And at the end of the
> > stitching process, all CPU core and GPU are used as well. Can I
> change
> > something in some settings to improve CPU / GPU utilization
> >
> > image.png
> > And after 45 min
> > image.png
> >
> > image.png
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "PTGui Support" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>
> > <mailto:ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>>.
> <https://groups.google.com/d/msgid/ptgui/CAFrtJozbyMfVLX%3D-LHhgk8aZfvHU5sgzddaOX9hBAFo2CRHQtA%40mail.gmail.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ptgui/CAFrtJozbyMfVLX%3D-LHhgk8aZfvHU5sgzddaOX9hBAFo2CRHQtA%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com
> <https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Allan Tuxen

unread,
May 10, 2021, 2:33:36 AM5/10/21
to pt...@googlegroups.com
Hi sorry for the late reply. 
I appreciate the fact that a lot has to be interpolated with heavily distorted images. But that does not explain why only one CPU core is used, in these calculations. I have attached an example. and here it can also be seen that none of the 5 SSDs and only half of the memory are used. Additional info is that this also happens in the Panorama editor when "find optimum seams" is activated.
My work around is to find the composition while all blending is disabled, and then before rendering I turn it on, so it is not a big problem, but would be nice to get fixed, if possible :-)
with best regards
Allan Tuxen
image.png

To unsubscribe from this group and stop receiving emails from it, send an email to ptgui+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ptgui/bb7e23f5-47be-da70-fcc8-954addccded0%40ptgui.com.
20210410-080359-047 Panorama-lp4-v2.pts

PTGui Support

unread,
May 10, 2021, 4:22:05 AM5/10/21
to pt...@googlegroups.com
Hi Alan,

Optimum seam finding is run on the CPU, and part of the algorithm is
limited to one core. So I think this is to be expected.

See 3.31:
https://www.ptgui.com/support.html#3_31

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 10/05/2021 08:33, Allan Tuxen wrote:
> Hi sorry for the late reply.
> I appreciate the fact that a lot has to be interpolated with heavily
> distorted images. But that does not explain why only one CPU core is
> used, in these calculations. I have attached an example. and here it can
> also be seen that none of the 5 SSDs and only half of the memory are
> used. Additional info is that this also happens in the Panorama editor
> when "find optimum seams" is activated.
> My work around is to find the composition while all blending is
> disabled, and then before rendering I turn it on, so it is not a big
> problem, but would be nice to get fixed, if possible :-)
> with best regards
> Allan Tuxen
> image.png
>
> Den fre. 16. apr. 2021 kl. 13.10 skrev 'PTGui Support' via PTGui Support
> <pt...@googlegroups.com <mailto:pt...@googlegroups.com>>:
>
> Hi Allan,
>
> I've tried but couldn't find a problem. If I stitch a tiny planet at
> the
> same number of pixels as the equivalent equirectangular image, it takes
> about the same time.
>
> But if you stitch at the optimum size, please note that the tiny planet
> might have 10x the number of pixels as the equirectangular file.
> This is
> because PTGui attempts to keep the same center resolution. The edges of
> the tiny planet will be extremely stretched.
>
> For example my 27284 x 13642 optimum size equirect becomes a 64826 x
> 64826 little planet.
>
> Stitching 10x more pixels will take much longer. And if the panorama no
> longer fits in RAM, PTGui will start swapping to disk. If you don't
> have
> a fast NVME SSD, this will become the bottleneck.
>
> Kind regards,
>
> Joost Nieuwenhuijse
> www.ptgui.com <http://www.ptgui.com>
>
> On 15/04/2021 20:46, Allan Tuxen wrote:
> > Hi Joost
> > It is on all stitching projects that its only use 1 core in the
> > beginning off the stitchning process. but it is of course only a
> problem
> > with big project. My project is from a drone with 46 Tiiff 16 bit
> image
> > approx 20mpixel where all exept one is VP. A normal 25000x12000
> > equirectangular image takes less than 2 min but if and when I make a
> > little planet where center has a offset, the does it take for
> ever 20-60
> > min. and here can I see at the first 95% off the time does it
> only use
> > one or two CPU core and 1%GPU. and the last 5% of the time all
> the 24
> > CPU cores and about 30% off the GPU is in use.
> > Below is the type I make
> > image.png
> > Best regards
> > Allan Tuxen
> >
> >
> >
> >
> > Den tor. 15. apr. 2021 kl. 15.52 skrev 'PTGui Support' via PTGui
> Support
> > <pt...@googlegroups.com <mailto:pt...@googlegroups.com>
> <mailto:pt...@googlegroups.com <mailto:pt...@googlegroups.com>>>:
> >
> >     Hi Allan,
> >
> >     Are you saying the problem is specific to this projection, other
> >     projections run much faster? If so there's not much you can
> do, I would
> >     need to look into this.
> >
> >     Kind regards,
> >
> >     Joost Nieuwenhuijse
> > www.ptgui.com <http://www.ptgui.com> <http://www.ptgui.com
> >     <mailto:ptgui%2Bunsu...@googlegroups.com
> <mailto:ptgui%252Buns...@googlegroups.com>>
> >      > <mailto:ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>
> >     <mailto:ptgui%2Bunsu...@googlegroups.com
> <mailto:ptgui%252Buns...@googlegroups.com>>>.
> >     <mailto:ptgui%2Bunsu...@googlegroups.com
> <mailto:ptgui%252Buns...@googlegroups.com>>.
> >     To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com
> <https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com>
> >
>  <https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com <https://groups.google.com/d/msgid/ptgui/f164538d-9088-bfca-2d05-fc26acf0b4aa%40ptgui.com>>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "PTGui Support" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>
> > <mailto:ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com>
>
> >
> <https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ptgui/CAFrtJowL160BVaHQLwjK7_b2q%3DsfePj%2Biin77QSzGNV13R%2BVWg%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/bb7e23f5-47be-da70-fcc8-954addccded0%40ptgui.com
> <https://groups.google.com/d/msgid/ptgui/bb7e23f5-47be-da70-fcc8-954addccded0%40ptgui.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/CAFrtJozT6cU-iLFC16zp2Oi8XBkCABrU2uY%2BGsU6sZrQ2Z4xsw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ptgui/CAFrtJozT6cU-iLFC16zp2Oi8XBkCABrU2uY%2BGsU6sZrQ2Z4xsw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Tim Hufnagl

unread,
May 10, 2021, 10:37:25 AM5/10/21
to PTGui Support
i'd like to add my experiences/observations as well as recommendations based on my personal quest for the "best" system:

TL;DR:

- only for perfectly isolated and prioritized use cases you can have the "best" system. (one tool for the job), however you have options that can provide an adequate balance of .e.g multicore vs. single core as well as GPU compute performance based on your usage profile.

- PTGui by now is utilizing almost all of the critical/limiting components of a system (also depending on your choice of workflow) and i consider it worst case to cater for in a custom build since you need to test/max out and figure out the weakest link (which for me turned out to be CUDA/OpenCL compute power).

- custom build implies PC platform - not exactly for the cost/benefit ratio vs. apple, which ist amost equal when picking high quality components (minus the pain of using windows), but the flexibility in shaping a hardware config to a certain processing load.


verbiage:

- since i had the possibility to get my hands on a few systems i did benchmark them with the same set of input data: HDR pano, exposure brackets (3 shots), 93 x 46MP of 8bit JPGs(for portability of the fileset), resulting in a 440MP pano. again, this is a very specific use case taxing primarily RAM and SSDs. by no means this is representative for your particular workflow and filesizes nor does it want to be. but it it helped me to put things into perspective(PT11, latest release including universal binary for M1)

system 1: mac mini (late 2018, 6core, 3.2GHz, 32GB RAM)+ blackmagic eGPU (radeon 580 pro)
align: 14 seconds
optimize (vignetting, camera curve): 6,8 seconds
render TIFF, 16bit, no alpha, 100% (440MP): 5 min 16 seconds

system 2: macbook air M1 (16GB, 8GPU cores)
align: 40 seconds
optimize: 6 sec
render: cancelled after 7 minutes

system 3: TR3970x (32 cores), 128GB RAM, NVMe, RTX 2080ti
align: 15 seconds
optimize:1 sec
render: 44 seconds
GPU: max 20% CPU load, RAM, SSD negligible, GPU hitting 99%
CPU only, CPU load hit 65%, render took 2 minutes 16 seconds

after having used system 3 as my main workstation for about 6 months now i decided to "downgrade" the system to a ryzen 9 5990x (16 cores)due to:

- my usage profile does only benefit a fraction from the massive multicore processing power as well as PTGui mostly benefiting from more CUDA/OpenCL compute power on my system.

- heat and cooling are immense and to actually take advantage of a durable multi core performance you need to go big gun custom water loop

- leave alone a sustainable energy profile when NOT being in need of 32 cores at the same time AND having software maximizing/balancing GPU/CPU in this case. HEDT my a** - this thing belongs in a server room.

- single core performance (most of a photographers software) is average at best with the TR and i'll gain more efficiency from the ryzen9 cpu while still maintaining a very reasonable performance for the multicore portion of my usage profile.

while i'll get back some of my initial invest i'll wait for apple to actually come up with a workstation SOC along with adequate GPU compute power - it will be there and killing - however for now i need to get sh** done.

best,
t
Reply all
Reply to author
Forward
0 new messages