Forum

Author Topic: Assigning processor core(s) to Photoscan has no effect?  (Read 7458 times)

Marko

  • Newbie
  • *
  • Posts: 2
    • View Profile
Assigning processor core(s) to Photoscan has no effect?
« on: December 23, 2014, 03:58:32 PM »
I am often processing large datasets that may take 10s of hours to finish. It's a bit annoying that during that time the CPU is totally locked to Photoscan; even mouse movements are very sketchy. My idea was to commit only part of total CPU cores to Photoscan (say, 6 of 8 ) and leave the rest free for doing everyday tasks like running office programs and email client. I am not in a hurry so I don't mind if processing will take longer that way.

Following the instructions (e.g. http://technet.microsoft.com/en-us/magazine/ee851672.aspx) I used Task Manager to assign the desired number of cores to photoscan.exe process.

To my surprise, computer remains totally unresponsive. Performance graphs in Task Manager (or in other CPU utilities) clearly show that two cores are not doing any work, but I see absolutely no difference in computer responsiveness compared to normal scenario when all cores were dedicated to Photoscan. For testing, I tried running a YouTube music video along Photoscan. YouTube used only ~22% of the free cores, however playback was interrupted all the time - it would play for 1-2 minutes, then it would go silent for 1 minute, then resume... and so on.

What is going on? Is it possible at all to set Photoscan to leave some of the processing power to other tasks?
My usual strategy is otherwise to pause Photoscan when I want to do some work, but this is quite annoying as due to computer unresponsiveness it takes me up to several minutes to position the mouse cursor on the Pause button and wait for Photoscan to react to the mouse click.

I am running Win 7 Pro on a machine with 32 GB RAM, of which only ~35% is used by Photoscan and all other processes.


Marko

mobilexcopter

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • mobileXcopter
Re: Assigning processor core(s) to Photoscan has no effect?
« Reply #1 on: December 23, 2014, 04:33:34 PM »
Hello,

you should be able to set number of cores used by PhotoScan under program Preferences - check PhotoScan manual.

Best regards,

Alex



Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15659
    • View Profile
Re: Assigning processor core(s) to Photoscan has no effect?
« Reply #2 on: December 23, 2014, 04:38:01 PM »
Hello,

you should be able to set number of cores used by PhotoScan under program Preferences - check PhotoScan manual.

Best regards,

Alex
This option is only valid for Depth Maps estimation step, so if you need to disable several cores from the processing completely, then using Affinity option seems to be the right way. Also you can lower the task priority in the Task Manager.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Shade3

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: Assigning processor core(s) to Photoscan has no effect?
« Reply #3 on: December 23, 2014, 05:29:33 PM »
I got gtx 980 im unable to use!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15659
    • View Profile
Re: Assigning processor core(s) to Photoscan has no effect?
« Reply #4 on: December 23, 2014, 05:32:08 PM »
Hello Shade3,

It's better to use GPU related topic or start the new one. But anyway, could you please try installing version 1.1.0 (http://www.agisoft.com/forum/index.php?topic=2883.0) and inform us if everything is fine with your GPU.
Best regards,
Alexey Pasumansky,
Agisoft LLC