← Back to team overview

hugin-devs team mailing list archive

[Bug 792781] Re: Manage Scheduling Priority of PTBatcherGUI

 

> Details in `man nice`.
This does not help me.

Short test on windows: change priority of ptbatchergui to high, but
started child processes (make/cpfind/nona) are all running with normal
priority. So at least on windows changing the process priority of
ptbatchergui would not help so much. (Nice does only change the cpu
priority, but maybe also the i/o priority needs to be changed.)

 wxExecute - which is used to start make - does not support a priority
switch.

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

Title:
  Manage Scheduling Priority of PTBatcherGUI

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  YL > Wishlist for PTBatcherGUI
  YL > * add a switch to start it "nice" (to leave priority to the user
  YL > interaction with Hugin)

  TM > What is "nice"? That's a very weak description. I don't know what you
  TM > want.

  I don't now if this exists in Windows.  In Linux (and I guess also on
  the Mac), I can start a command with `nice -n X COMMAND ARGS` and it
  has higher or lower scheduling priority depending if X is negative or
  positive.  Details in `man nice`.

  I guess I could pre-pend the nice command in the call from
  PanoPanel.cpp but I am not sure how this would (or would not) affect
  the whole thing.


Follow ups

References