IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27005


Ignore:
Timestamp:
Feb 19, 2010, 10:15:20 AM (16 years ago)
Author:
eugene
Message:

limit number of I/O tasks (destreak, dist); keep queues full

Location:
trunk/ippTasks
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/chip.pro

    r26950 r27005  
    127127
    128128  task.exec
     129    # if we are unable to run the 'exec', use a long retry time
     130    periods -exec $RUNEXEC
     131
    129132    book npages chipPendingImfile -var N
    130133    if ($N == 0) break
     
    189192      echo command $run
    190193    end
     194    # if we are unable to run the 'exec', use a long retry time
     195    periods -exec 0.05
    191196    command $run
    192197  end
  • trunk/ippTasks/destreak.pro

    r26447 r27005  
    132132
    133133  task.exec
    134     $run = magicdstool -todestreak -limit 120 -stage $DS_STAGE:$magicDSStage
     134    $run = magicdstool -todestreak -limit 20 -stage $DS_STAGE:$magicDSStage
    135135    $magicDSStage ++
    136136    if ($magicDSStage >= $DS_STAGE:n) set magicDSStage = 0
     
    149149      end
    150150    end
    151     add_poll_args run
     151    # add_poll_args run
    152152    add_poll_labels run
    153153    command $run
     
    189189    stdout $LOGSUBDIR/destreak.run.log
    190190    stderr $LOGSUBDIR/destreak.run.log
     191
     192    # if we are unable to run the 'exec', use a long retry time
     193    periods -exec $RUNEXEC
     194
     195    if ($NETWORK == 0) break
    191196    book npages magicToDS -var N
    192197    if ($N == 0) break
    193     if ($NETWORK == 0) break
    194    
     198
    195199    # look for new images (pantaskState == INIT)
    196200    book getpage magicToDS 0 -var pageName -key pantaskState INIT
     
    237241      echo command $run
    238242    end
     243
     244    # if we are ready to run, drop the retry timeout low so we fill up the queue
     245    periods -exec 0.05
    239246    command $run
    240247  end
     
    322329
    323330  task.exec
    324     $run = magicdstool -torevert -stage $DS_STAGE:$magicDSRevertStage
     331    $run = magicdstool -limit 20 -torevert -stage $DS_STAGE:$magicDSRevertStage
    325332    $magicDSRevertStage ++
    326333    if ($magicDSRevertStage >= $DS_STAGE:n) set magicDSRevertStage = 0
     
    340347      end
    341348    end
    342     add_poll_args run
     349    # add_poll_args run
    343350    add_poll_labels run
    344351    command $run
     
    468475
    469476  task.exec
    470     $run = magicdstool -completedrevert
     477    $run = magicdstool -limit 20 -completedrevert
    471478    if ($DB:n == 0)
    472479      option DEFAULT
     
    480487      if ($magicDSCompletedRevert_DB >= $DB:n) set magicDSCompletedRevert_DB = 0
    481488    end
    482     add_poll_args run
     489    # add_poll_args run
    483490    add_poll_labels run
    484491    command $run
  • trunk/ippTasks/diff.pro

    r26987 r27005  
    160160
    161161  task.exec
     162    # if we are unable to run the 'exec', use a long retry time
     163    periods -exec $RUNEXEC
     164
    162165    book npages diffSkyfile -var N
    163166    if ($N == 0) break
     
    210213      echo command $run
    211214    end
     215    periods -exec 0.05
    212216    command $run
    213217  end
  • trunk/ippTasks/dist.pro

    r26985 r27005  
    158158     # stderr $LOGSUBDIR/dist.process.load.log
    159159
    160     $run = disttool -pendingcomponent -stage $DIST_STAGE:$currentStage
     160    $run = disttool -limit 15 -pendingcomponent -stage $DIST_STAGE:$currentStage
    161161    $currentStage ++
    162162    if ($currentStage >= $DIST_STAGE:n) set currentStage = 0
     
    176176      end
    177177    end
    178     add_poll_args run
     178    # add_poll_args run
    179179    add_poll_labels run
    180180    command $run
  • trunk/ippTasks/pantasks.pro

    r27003 r27005  
    2121
    2222$RUNPOLL  = 0.5
    23 $RUNEXEC  = 1.0
     23$RUNEXEC  = 2.5
    2424
    2525$EXIT_SUCCESS     = 0
  • trunk/ippTasks/survey.pro

    r26999 r27005  
    454454  periods      -exec $SURVEY_EXEC
    455455  periods      -timeout $SURVEY_TIMEOUT
    456   trange       12:00:00 13:00:00
    457   npending     1
     456  trange        13:00:00 14:00:00
     457  npending      1
    458458
    459459  stdout $LOGDIR/survey.SSdiff.log
  • trunk/ippTasks/warp.pro

    r26950 r27005  
    165165
    166166  task.exec
     167    # if we are unable to run the 'exec', use a long retry time
     168    periods -exec $RUNEXEC
     169
    167170    book npages warpInputExp -var N
    168171    if ($N == 0) break
     
    203206      echo command $run
    204207    end
     208    periods -exec 0.05
    205209    command $run
    206210  end
     
    292296
    293297  task.exec
     298    # if we are unable to run the 'exec', use a long retry time
     299    periods -exec $RUNEXEC
     300
    294301    book npages warpPendingSkyCell -var N
    295302    if ($N == 0) break
     
    342349      echo command $run
    343350    end
     351    periods -exec 0.05
    344352    command $run
    345353  end
Note: See TracChangeset for help on using the changeset viewer.