IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2006, 4:52:37 PM (20 years ago)
Author:
eugene
Message:

divided test macros into macros by leveltests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/doc/pcontrol.txt

    r8185 r8297  
     1
     22006.08.11
     3
     4I have nearly finished the conversion of pcontrol to use a background
     5thread for monitoring the remote machines.  A few questions are still
     6outstanding: 
     7
     8- currently, we are thread-safe for interactions with the stacks.  As
     9  long as an operation is only working with a single job/host, and all
     10  jobs/hosts are selected by pulling them from the stacks, there will
     11  never be a contention between threads for the same job/host.
     12  However, are there problems for commands which require a specific
     13  job or host but are unable to find it because the job/host may be in
     14  flight from one stack to another. 
     15
     16- The CheckIdleHost command needs to join a job and a host.  In this
     17  case, it is necessary to lock the job PENDING stack while searching
     18  for a job to give to a host.  The host is pulled off of the IDLE
     19  stack before being past to CheckIdleHost.
     20
     21o CheckIdleHost currently does not have a way to send a WANTHOST job
     22  to any host other than the WANTHOST.  What should the rule be by
     23  which a job is run on an alternative machine? (partial fix)
     24
     25- we are not starting any of the job or host timers?
     26
     272006.08.09
     28
     29working on pcontrol CheckSystem background thread.  One thread runs
     30the readline interaction and performs all of the user commands.  The
     31second thread runs the CheckSystem loop and tests the hosts and jobs.
     32We need to be sure these two do not interfere with one another.  Here
     33is a list of all of the user commands and the ways in which they
     34interact with the Job / Host queues:
     35
     36
    137
    2382006.08.04
    339
    4 pcontrol get a large delay every time it tries to connect to a host.
     40pcontrol gets a large delay every time it tries to connect to a host.
    541this is because the readline interrupt has to wait for the connection
    642to complete.  I probably need to fix this by using a threaded model
Note: See TracChangeset for help on using the changeset viewer.