IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2007, 3:18:27 PM (19 years ago)
Author:
eugene
Message:

removed usleep from job and task threads; increased controller timeout; added verbosity; fixed quit controller; added check points to pcontrol thread

File:
1 edited

Legend:

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

    r8190 r11898  
     1
     2- task spawning speed
     3
     4  I have been examining things which affect the speed of the pantasks
     5  processing. I have learned some interesting things:
     6
     7  * pcontrol was being slammed with requests for status by pantasks.
     8    this may account for Paul's controller hang-ups.  I have added a
     9    long (500ms) sleep to the controller thread to limit the rate at
     10    which controller checks are run
     11
     12  * adding even a small usleep to the task_thread or job_thread puts
     13    them to sleep for a long time (>> 10ms).  it seems longer than the
     14    linux time slicer.  I have removed sleeps from the task and job
     15    threads.
     16
     17  * the job submit rate is apparently limited by two things:
     18
     19    * when the job is submitted (SubmitJob) the interaction with
     20      the controller seems to take ~30ms or more.
     21
     22    * some thread (controller thread? main readline thread?) seems to
     23      introduce timeouts which are very long (up to 100ms).  These
     24      introduce bit delays if when they happen during the task_thread
     25      loop.
    126
    227- updates for queues:
Note: See TracChangeset for help on using the changeset viewer.