zJOS/Puspa© Pipelined Scheduling Methods

1,048 views

Published on

Pipelined scheduling illustration (no flash animation)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

zJOS/Puspa© Pipelined Scheduling Methods

  1. 1. zJOS/Puspa© Pipelined Scheduling Flow Plain slides illustration (unanimated)
  2. 2. Schedule Plan step01 step02 JOB0 JOB3 JOB4 step31 step32 JOB1 JOB2 JOB5 step41 step42 step43 step11 step12 step13 step21 step22 step23 step51 step52 step53 MSG1 MSG2 CC=0 CC<4 CC=0 CC<8 CC=0 CC<4 CC=0 CC>4 ABEND
  3. 3. Schedule Plan <ul><li>Schedule JOB0 at TOD1 </li></ul><ul><li>Schedule JOB1 soonest: </li></ul><ul><ul><li>STEP01 of JOB0 is ended with CC=0 </li></ul></ul><ul><li>Schedule JOB2 soonest the following condition is met: </li></ul><ul><ul><li>STEP11 of JOB1 end with CC=4 and message MSG1 occurres </li></ul></ul><ul><li>Schedule JOB3 soonest the following condition is met: </li></ul><ul><ul><li>STEP02 of JOB0 end with CC=0 and STEP12 of JOB1 end with CC<8 </li></ul></ul><ul><li>Schedule JOB4 soonest the following condition is met: </li></ul><ul><ul><li>STEP13 of JOB1 end with CC<4 or STEP21 of JOB2 end with CC=0, but STEP31 of JOB3 must end with CC=0 and either one is true; message MSG2 occurres or TOD2 reach </li></ul></ul><ul><li>Schedule JOB5 when either one is true; </li></ul><ul><ul><li>STEP13 of JOB1 abend or STEP23 of JOB2 end with CC>4. </li></ul></ul>
  4. 4. Whatch Out
  5. 6. JOB0
  6. 7. step01 JOB0
  7. 8. step01 JOB0 CC=0
  8. 9. step01 step02 JOB0 CC=0 JOB1
  9. 10. step01 step02 JOB0 step11 CC=0 JOB1
  10. 11. step01 step02 JOB0 step11 CC=0 CC<4 JOB1
  11. 12. step01 step02 JOB0 step11 CC=0 CC<4 CC=0 JOB1
  12. 13. step01 step02 JOB0 step11 step12 MSG1 CC=0 CC<4 CC=0 JOB1
  13. 14. step01 step02 JOB0 step11 step12 MSG1 CC=0 CC<4 CC=0 JOB1
  14. 15. step01 step02 JOB0 step11 step12 MSG1 CC=0 CC<4 CC=0 JOB1
  15. 16. step01 step02 JOB0 step11 step12 MSG1 CC=0 CC<4 CC=0 JOB1 JOB2
  16. 17. step11 step12 step21 MSG1 CC<4 step01 step02 JOB0 CC=0 CC=0 JOB1 JOB2
  17. 18. step11 step12 step21 MSG1 CC<4 CC<8 step01 step02 JOB0 CC=0 CC=0 JOB1 JOB2
  18. 19. step11 step12 step21 MSG1 CC<4 CC<8 step01 step02 JOB0 CC=0 CC=0 JOB1 JOB2
  19. 20. step11 step12 step13 step21 MSG1 CC<4 CC<8 step01 step02 JOB0 CC=0 CC=0 JOB1 JOB2
  20. 21. step11 step12 step13 step21 MSG1 CC<4 CC<8 CC=8 step01 step02 JOB0 CC=0 CC=0 JOB1 JOB2 JOB3
  21. 22. step11 step12 step13 step21 MSG1 CC<4 CC<8 CC=8 ??? step01 step02 JOB0 CC=0 CC=0 step31 JOB1 JOB2 JOB3
  22. 23. step11 step12 step13 step21 step22 MSG1 CC<4 CC<8 CC=8 step01 step02 JOB0 CC=0 CC=0 step31 JOB3 JOB1 JOB2
  23. 24. step31 step11 step12 step13 step21 step22 MSG1 CC<4 CC<8 CC=8 step01 step02 JOB0 CC=0 CC=0 JOB3 JOB1 JOB2
  24. 25. step31 step11 step12 step13 step21 step22 MSG1 CC<4 CC<8 CC=8 CC<4 step01 step02 JOB0 CC=0 CC=0 JOB3 JOB1 JOB2
  25. 26. step31 step11 step12 step13 step21 step22 MSG1 CC<4 CC<8 CC=8 CC<4 step01 step02 JOB0 CC=0 CC=0 JOB3 JOB1 JOB2
  26. 27. step31 step11 step12 step13 step21 step22 MSG1 CC<4 CC<8 CC=8 CC<4 step01 step02 JOB0 CC=0 CC=0 JOB3 JOB1 JOB2
  27. 28. step31 step21 step22 MSG1 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  28. 29. step31 step32 step21 step22 MSG1 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  29. 30. step31 step32 step21 step22 step23 MSG1 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  30. 31. step31 step32 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  31. 32. step31 step32 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  32. 33. step31 step32 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  33. 34. step31 step32 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB1 JOB2
  34. 35. step31 step32 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB1 JOB3 JOB4 JOB1 JOB2
  35. 36. step31 step32 step41 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB4 JOB1 JOB2
  36. 37. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB4 JOB1 JOB2
  37. 38. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB4 JOB1 JOB2
  38. 39. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB4 JOB1 JOB2
  39. 40. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB2 JOB1 JOB3 JOB4 JOB1 JOB2
  40. 41. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB2 JOB1 JOB3 JOB4 JOB1 JOB2
  41. 42. step31 step32 step41 step42 step21 step22 step23 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 JOB3 JOB4 JOB1 JOB2 JOB5
  42. 43. step41 step42 step51 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  43. 44. step41 step42 step43 step51 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  44. 45. step41 step42 step43 step51 step52 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  45. 46. step41 step42 step43 step51 step52 step53 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  46. 47. step41 step42 step43 step51 step52 step53 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  47. 48. step41 step42 step43 step51 step52 step53 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  48. 49. step41 step42 step43 step51 step52 step53 MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 JOB3 JOB4 JOB1 JOB2 JOB5
  49. 50. MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 step41 step42 step43 step51 step52 step53 JOB3 JOB4 JOB1 JOB2 JOB5
  50. 51. MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 step41 step42 step43 step51 step52 step53 JOB4 JOB5 JOB3 JOB4 JOB1 JOB2 JOB5
  51. 52. MSG1 MSG2 CC<4 CC<8 CC=8 CC<4 CC=0 CC>4 step01 step02 JOB0 CC=0 CC=0 step11 step12 step13 step31 step32 step21 step22 step23 step41 step42 step43 step51 step52 step53 JOB3 JOB4 JOB1 JOB2 JOB5
  52. 53. step01 step02 JOB0 step31 step32 step41 step42 step43 step11 step12 step13 step21 step22 step23 step51 step52 step53 MSG1 MSG2 CC=0 CC<4 CC=0 CC<8 CC=8 CC<4 CC=0 CC>4 ABEND JOB3 JOB4 JOB1 JOB2 JOB5
  53. 54. Thank You

×