IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 8, 2011, 2:54:20 PM (15 years ago)
Author:
eugene
Message:

add nice ability to pantasks/pcontrol/pclient; add ports to pantasks_server; minor updates to dvo skycoverage, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c

    r29540 r32632  
    55// a (temporary?) work-around for the problem that the remote pclient job tends to grow
    66// too large over time.
     7
     8/****
     9     
     10     queueing strategy:
     11
     12     We have a problem when the queue contains many jobs of different processing times.  If we
     13     start with an equal number of jobs in two classes, fast and slow, eventually, we will end
     14     up with all hosts running the slow jobs and the fast jobs completely blocked.  If J1 takes
     15     T1 and J2 takes T2, and jobs have equal probability to land in a slot... ??
     16
     17     It seems like we should boost the probability of the fast jobs over the slow jobs (of
     18     course, the end result of that will be all fast jobs draining and the slow jobs hanging
     19     around). 
     20
     21     There is also a problem related to LAP, in that chip stage has a huge number of tasks in
     22     the queue (effectively infinite).  Make the probability of the job being selected
     23     proportional to something.  In any case, we need a user-controllable way to change the
     24     probability of selection
     25
     26     As things are implemented below, the selection order depends on the queue order.  The
     27     easiest way to modify the probabilities is to re-sort based on something.
     28
     29 ****/
    730
    831static float MAX_WANTHOST_WAIT = 10.0;
Note: See TracChangeset for help on using the changeset viewer.