Changeset 31855
- Timestamp:
- Jul 10, 2011, 2:15:59 PM (15 years ago)
- Location:
- tags/ipp-20110622/ippTasks
- Files:
-
- 12 edited
-
diskbalance.pro (modified) (2 diffs)
-
dist.pro (modified) (2 diffs)
-
fake.pro (modified) (2 diffs)
-
lossy_compress.pro (modified) (4 diffs)
-
magic.cleanup.pro (modified) (1 diff)
-
magic.pro (modified) (2 diffs)
-
pstamp.pro (modified) (6 diffs)
-
rcserver.pro (modified) (2 diffs)
-
register.pro (modified) (4 diffs)
-
replicate.pro (modified) (2 diffs)
-
science.cleanup.pro (modified) (5 diffs)
-
summit.copy.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110622/ippTasks/diskbalance.pro
r31644 r31855 180 180 181 181 task.exec 182 # if we are unable to run the 'exec', use a long retry time 183 periods -exec 5 184 182 185 book npages balancePending -var N 183 186 if ($NETWORK == 0) break 184 if ($N == 0) 185 periods -exec 5 186 break 187 end 188 # Reset the speed if we're doing something 189 periods -exec 0.5 187 if ($N == 0) break 190 188 191 189 # look for new objects in balancePending … … 214 212 echo command $run 215 213 end 214 periods -exec 0.05 216 215 command $run 217 216 end -
tags/ipp-20110622/ippTasks/dist.pro
r30929 r31855 244 244 245 245 task.exec 246 periods -exec 10 247 248 book npages distToProcess -var N 249 if ($N == 0) break 246 250 if ($NETWORK == 0) break 247 book npages distToProcess -var N 248 if ($N == 0) 249 periods -exec 10 250 break 251 end 252 periods -exec 0.05 253 251 254 252 # look for new components to process (pantaskState == INIT) 255 253 book getpage distToProcess 0 -var pageName -key pantaskState INIT … … 326 324 echo command $run 327 325 end 326 periods -exec 0.05 328 327 command $run 329 328 end -
tags/ipp-20110622/ippTasks/fake.pro
r27472 r31855 121 121 122 122 task.exec 123 # if we are unable to run the 'exec', use a long retry time 124 periods -exec $RUNEXEC 125 123 126 # fake is fast, so generate a bunch of commands in a row 124 127 book npages fakePendingImfile -var N 125 if ($N == 0) 126 periods -exec $RUNEXEC 127 break 128 end 129 periods -exec 0.05 130 128 if ($N == 0) break 131 129 if ($NETWORK == 0) break 132 130 … … 172 170 echo command $run 173 171 end 172 # if we are able to run the 'exec', use a short retry time 173 periods -exec 0.05 174 174 command $run 175 175 end -
tags/ipp-20110622/ippTasks/lossy_compress.pro
r28139 r31855 122 122 123 123 task.exec 124 periods -exec $RUNEXEC 125 126 book npages compPendingCompress -var N 127 if ($N == 0) break 124 128 if ($NETWORK == 0) break 125 book npages compPendingCompress -var N126 if ($N == 0)127 periods -exec $RUNEXEC128 break129 end130 periods -exec 0.05131 129 132 130 # look for new images … … 171 169 echo command $run 172 170 end 171 periods -exec 0.05 173 172 command $run 174 173 end … … 248 247 249 248 task.exec 249 periods -exec $RUNEXEC 250 251 book npages compPendingClean -var N 252 if ($N == 0) break 250 253 if ($NETWORK == 0) break 251 book npages compPendingClean -var N252 if ($N == 0)253 periods -exec $RUNEXEC254 break255 end256 periods -exec 0.05257 254 258 255 # look for new images … … 297 294 echo command $run 298 295 end 296 periods -exec 0.05 299 297 command $run 300 298 end -
tags/ipp-20110622/ippTasks/magic.cleanup.pro
r30373 r31855 116 116 117 117 task.exec 118 periods -exec $RUNEXEC 119 118 120 book npages magicToCleanup -var N 119 if ($N == 0) 120 periods -exec $RUNEXEC 121 break 122 end 121 if ($N == 0) break 123 122 if ($NETWORK == 0) break 124 123 -
tags/ipp-20110622/ippTasks/magic.pro
r29494 r31855 269 269 270 270 task.exec 271 periods -exec 10 272 271 273 book npages magicToProcess -var N 272 if ($N == 0) 273 periods -exec 10 274 break 275 end 276 periods -exec 0.05 277 274 if ($N == 0) break 278 275 if ($NETWORK == 0) break 279 276 … … 342 339 echo command $run 343 340 end 341 periods -exec 0.05 344 342 command $run 345 343 end -
tags/ipp-20110622/ippTasks/pstamp.pro
r30799 r31855 512 512 513 513 task.exec 514 periods -exec $RUNEXEC 515 514 516 stdout NULL 515 517 stderr $LOGSUBDIR/pstamp.job.run.log 516 518 book npages pstampJob -var N 517 if ($N == 0) 518 periods -exec $RUNEXEC 519 break 520 end 521 periods -exec 0.05 519 if ($N == 0) break 522 520 523 521 book getpage pstampJob 0 -var pageName -key pantaskState INIT … … 548 546 echo command $run 549 547 end 548 periods -exec 0.05 550 549 command $run 551 550 end … … 681 680 682 681 task.exec 682 periods -exec $RUNEXEC 683 683 684 book npages pstampDependent -var N 684 if ($N == 0) 685 periods -exec $RUNEXEC 686 break 687 end 688 periods -exec 0.05 685 if ($N == 0) break 689 686 690 687 book getpage pstampDependent 0 -var pageName -key pantaskState INIT … … 729 726 echo command $run 730 727 end 728 periods -exec 0.05 731 729 command $run 732 730 end … … 820 818 821 819 task.exec 820 periods -exec $RUNEXEC 821 822 822 book npages pstampCleanup -var N 823 if ($N == 0) 824 periods -exec $RUNEXEC 825 break 826 end 827 periods -exec 0.05 823 if ($N == 0) break 828 824 829 825 book getpage pstampCleanup 0 -var pageName -key pantaskState INIT … … 854 850 echo command $run 855 851 end 852 periods -exec 0.05 856 853 command $run 857 854 end -
tags/ipp-20110622/ippTasks/rcserver.pro
r30555 r31855 110 110 111 111 task.exec 112 periods -exec 10 113 112 114 book npages rcPendingFS -var N 113 if ($N == 0) 114 periods -exec 10 115 break 116 end 117 periods -exec 0.05 118 115 if ($N == 0) break 119 116 if ($NETWORK == 0) break 120 117 … … 153 150 echo command $run 154 151 end 152 periods -exec 0.05 155 153 command $run 156 154 end -
tags/ipp-20110622/ippTasks/register.pro
r31603 r31855 271 271 272 272 task.exec 273 periods -exec $RUNEXEC 274 275 book npages regPendingImfile -var N 276 if ($N == 0) break 273 277 if ($NETWORK == 0) break 274 book npages regPendingImfile -var N275 if ($N == 0)276 periods -exec $RUNEXEC277 break278 end279 periods -exec 0.05280 278 281 279 # look for new images in regPendingImfile … … 331 329 echo command $run 332 330 end 331 periods -exec 0.05 333 332 command $run 334 333 end … … 636 635 637 636 task.exec 637 periods -exec $RUNEXEC 638 639 book npages regPendingBurntoolImfile -var N 640 if ($N == 0) break 638 641 if ($NETWORK == 0) break 639 book npages regPendingBurntoolImfile -var N640 if ($N == 0)641 periods -exec $RUNEXEC642 break643 end644 periods -exec 0.05645 642 646 643 # look for new images to burn in regPendingBurntoolImfile … … 673 670 echo command $run 674 671 end 672 periods -exec 0.05 675 673 command $run 676 674 end -
tags/ipp-20110622/ippTasks/replicate.pro
r29409 r31855 154 154 155 155 task.exec 156 periods -exec 5 157 156 158 book npages replicatePending -var N 159 if ($N == 0) break 157 160 if ($NETWORK == 0) break 158 if ($N == 0)159 periods -exec 5160 break161 end162 periods -exec 0.05163 161 164 162 # look for new objects in replicatePending … … 190 188 echo command $run 191 189 end 190 periods -exec 0.05 192 191 command $run 193 192 end -
tags/ipp-20110622/ippTasks/science.cleanup.pro
r29677 r31855 114 114 115 115 task.exec 116 periods -exec $RUNEXEC 117 116 118 book npages chipPendingCleanup -var N 117 if ($N == 0) 118 periods -exec $RUNEXEC 119 break 120 end 119 if ($N == 0) break 121 120 if ($NETWORK == 0) break 122 121 … … 574 573 575 574 task.exec 575 periods -exec $RUNEXEC 576 576 577 book npages warpPendingCleanup -var N 577 if ($N == 0) 578 periods -exec $RUNEXEC 579 break 580 end 578 if ($N == 0) break 581 579 if ($NETWORK == 0) break 582 580 … … 730 728 731 729 task.exec 730 periods -exec $RUNEXEC 731 732 732 book npages diffCleanup -var N 733 if ($N == 0) 734 periods -exec $RUNEXEC 735 break 736 end 733 if ($N == 0) break 737 734 if ($NETWORK == 0) break 738 735 … … 1031 1028 1032 1029 task.exec 1030 periods -exec $RUNEXEC 1031 1033 1032 book npages chipBGPendingCleanup -var N 1034 if ($N == 0) 1035 periods -exec $RUNEXEC 1036 break 1037 end 1033 if ($N == 0) break 1038 1034 if ($NETWORK == 0) break 1039 1035 … … 1185 1181 1186 1182 task.exec 1183 periods -exec $RUNEXEC 1184 1187 1185 book npages warpBGPendingCleanup -var N 1188 if ($N == 0) 1189 periods -exec $RUNEXEC 1190 break 1191 end 1186 if ($N == 0) break 1192 1187 if ($NETWORK == 0) break 1193 1188 -
tags/ipp-20110622/ippTasks/summit.copy.pro
r31049 r31855 284 284 285 285 task.exec 286 if ($NETWORK == 0) break286 periods -exec 20 287 287 288 288 # if we are waiting on data, make the interval long 289 289 book npages pzPendingExp -var N 290 if ($N == 0) 291 periods -exec 20 292 break 293 end 294 periods -exec 0.05 290 if ($N == 0) break 291 if ($NETWORK == 0) break 295 292 296 293 # find an exp that needs imfiles fetched … … 321 318 echo command $run 322 319 end 320 periods -exec 0.05 323 321 command $run 324 322 end … … 408 406 409 407 task.exec 410 if ($NETWORK == 0) break408 periods -exec 20 411 409 412 410 # if we are waiting on data, make the interval long 413 411 book npages pzPendingImfile -var N 414 if ($N == 0) 415 periods -exec 20 416 break 417 end 418 periods -exec 0.05 412 if ($N == 0) break 413 if ($NETWORK == 0) break 419 414 420 415 # find an exp that needs imfiles fetched … … 502 497 # More debug: 503 498 # echo "DEBUG2: " $run 499 periods -exec 0.05 504 500 command $run 505 501 end … … 609 605 610 606 task.exec 611 if ($NETWORK == 0) break607 periods -exec 20 612 608 613 609 # if we are waiting on data, make the interval long 614 610 book npages pzPendingAdvance -var N 615 if ($N == 0) 616 periods -exec 20 617 break 618 end 619 periods -exec 0.05 611 if ($N == 0) break 612 if ($NETWORK == 0) break 620 613 621 614 # find an exp that needs imfiles fetched … … 661 654 echo command $run 662 655 end 656 periods -exec 0.05 663 657 command $run 664 658 end
Note:
See TracChangeset
for help on using the changeset viewer.
