← Back to team overview

hugin-devs team mailing list archive

Re: [Bug 792781] Re: Manage Scheduling Priority of PTBatcherGUI

 

On June 4, 2011 10:36:44 AM tmodes wrote:
> > 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.

I suspected that the started child processes were all running with normal 
priority.  Managing scheduling priority is a wish.  Maybe it needs to be 
implemented at the make level and not at the PTBatcherGUI level.

Ideally I would like a system that gives priority to the user's interaction 
with the GUI, rather than treating all processes equal and making the user 
wait.

-- 
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.


References