← Back to team overview

hugin-devs team mailing list archive

[Bug 1066450] [NEW] Enblend with openmp support uses 3x more memory

 

Public bug reported:

I have just realized today, that the ubuntu 12.04 enblend package
installs enblend-mp which is compiled with openmp support. There are 16
CPU cores in my workstation, so I started to experiment. enblend-mp
blended roughly 2x as fast as enblend. However the memory usage is huge.
enblend-mp used 3x times more memory to blend the same panorama using
the same input files.

I have collected memory usage info with pidstat. The attached files
contain the memory usage every second during blending.

enblend --version
enblend 4.0-753b534c819d

enblend command:
enblend --compression=LZW -f34523x10833+331+605 -o Chengdu_2012_10_13_TianfuSquare_1.tif -- .....

enblend-mp command:
enblend-mp --compression=LZW -f34523x10833+331+605 -o Chengdu_2012_10_13_TianfuSquare_1.tif -- ....

I skipped the input filenames. I used the same set of files for both
runs.

** Affects: enblend
     Importance: Undecided
         Status: New

** Attachment added: "Memory usage of enblend and enblend-mp. Search for "+" to find the start of enblend-mp part"
   https://bugs.launchpad.net/bugs/1066450/+attachment/3397941/+files/enblend.memusage

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1066450

Title:
  Enblend with openmp support uses 3x more memory

Status in Enblend:
  New

Bug description:
  I have just realized today, that the ubuntu 12.04 enblend package
  installs enblend-mp which is compiled with openmp support. There are
  16 CPU cores in my workstation, so I started to experiment. enblend-mp
  blended roughly 2x as fast as enblend. However the memory usage is
  huge. enblend-mp used 3x times more memory to blend the same panorama
  using the same input files.

  I have collected memory usage info with pidstat. The attached files
  contain the memory usage every second during blending.

  enblend --version
  enblend 4.0-753b534c819d

  enblend command:
  enblend --compression=LZW -f34523x10833+331+605 -o Chengdu_2012_10_13_TianfuSquare_1.tif -- .....

  enblend-mp command:
  enblend-mp --compression=LZW -f34523x10833+331+605 -o Chengdu_2012_10_13_TianfuSquare_1.tif -- ....

  I skipped the input filenames. I used the same set of files for both
  runs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1066450/+subscriptions


Follow ups

References