app aware scheduling on networked systems
play

App-Aware Scheduling on Networked Systems DATE 2020 Kacper - PowerPoint PPT Presentation

App-Aware Scheduling on Networked Systems DATE 2020 Kacper Wardega March 10th Boston University About us Dependable Computing Lab Boston University Kacper Wardega ktw@bu.edu Wenchao Li wenchao@bu.edu 2 March 10th, 2020. DATE K.


  1. App-Aware Scheduling on Networked Systems DATE 2020 Kacper Wardega March 10th Boston University

  2. About us Dependable Computing Lab Boston University Kacper Wardega ktw@bu.edu Wenchao Li wenchao@bu.edu 2 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  3. Industrial Wireless ◍ Cheaper to install ◍ Flexible ◍ Easier to maintain ◍ Boosts productivity (WN, 2017) 3 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  4. Problem statement System designers aim to ensure the real-time properties of applications running over wireless networked systems in the face of communication uncertainties without sacrificing performance. 4 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  5. Scheduling problem Take an application consisting of interdependent tasks and compute: ◍ Start/end times for each task, ◍ Assign messages to wireless communication rounds, and ◍ Determine the communication parameters for each message. 5 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  6. DAG scheduling on wireless systems Applications consists of tasks that depend on one another. Task placement is known, but message passing is unreliable . 6 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  7. Scheduling objectives ◍ Communications & tasks occur in the correct order. ◍ Tasks meet respective deadlines. ◍ Each communication round lasts long enough for messages to propagate across the network (flooding). ◍ Tasks meet real-time guarantees. ◍ Minimize the makespan. 7 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  8. Scheduling objectives: real-time guarantees msg 1 * round 1 * msg 2 Soft : Task * should round 1 succeed 80% of the time beacon msg 1 msg 2 Weakly-hard : Task * should fail no more than 5 out of every 6 consecutive executions (TC, 2001) 8 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  9. Known quantities The application is known and fixed, i.e. known task durations, message widths, task dependencies. The network statistics are known, i.e. under given communication parameters, the scheduler knows the real-time behavior of the message-passing. 9 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  10. Enter: the low-power wireless bus LWB The LWB abstracts away the radio so that it’s as if each node were wired to every other node. (SenSys, 2012) 10 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  11. The LWB consists of Glossy floods round 1 beacon msg 1 msg 2 1st Glossy subroutine 2nd Glossy subroutine 3rd Glossy subroutine (IPSN, 2011) 11 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  12. Glossy floods are the backbone of the LWB STATUS: compute 12 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  13. Glossy floods are the backbone of the LWB STATUS: Glossy 13 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  14. Glossy floods are the backbone of the LWB STATUS: Glossy 14 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  15. Glossy floods are the backbone of the LWB STATUS: Glossy 15 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  16. Glossy floods are the backbone of the LWB STATUS: Glossy 16 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  17. Glossy floods are the backbone of the LWB STATUS: complete Flood successful 17 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  18. LWB & glossy 1. Glossy is event-triggered, but the LWB is time-triggered. 2. There is a fundamental tradeoff between reliability and time/energy controlled by the retransmission parameter. 3. Wireless control has been demonstrated over the LWB. (ICCPS, 2019) 18 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  19. Communication-adjusted task graph 0 1 2 19 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  20. Communication round dissected Round 1 beacon msg 1 msg 2 msg 3 msg 4 Rounds consist of several glossy floods. Flood duration depends on message width and the retransmission parameter. 20 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  21. * The product of the success = Task * should succeed 80% rates of the Glossy floods of the time carrying the beacon, msg 1 & 2 must be at least 80% Round 1 beacon msg 1 msg 2 e.g. 95% x 90% x 94% = 80.37% Optimal soft real-time schedules are obtained via MILP or SMT . But what about weakly-hard real-time? 21 21 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  22. beacon round 1 Allowing any failure msg 1 pattern allowed by these constraints… msg 2 Will the task depending on those messages task * always obey this constraint? Communication failure patterns for preceding messages may violate the task’s (m,K). 22 22 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  23. Abstraction for layered weakly-hard constraints ◍ Checking satisfaction of w-h real-time constraints requires universal quantifiers. To compose two w-h constraints ◍ We prove a min-plus we leverage that in the worst abstraction for case, as many misses as layered w-h possible occur within the smaller window constraints. 23 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  24. * The min-plus sum of the Task * should fail no more failure characteristic of = than 5 out of every 6 the glossy floods carrying consecutive executions the beacon, msg 1 & 2 must be at least (5,6) Round 1 beacon msg 1 msg 2 =(4,7) ⪯ (5,6) e.g. (1,8) (2,9) (1,7) Using the min-plus abstraction, we can encode the problem to SMT to obtain optimal weakly-hard real-time schedules. 24 24 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  25. Validation & experiments We validate scheduler correctness on synthetic and industry-related applications. Furthermore, we show how a real-time scheduler enables design automation… 25 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  26. Applications MIMO/switched control ◍ Multiple sensors as inputs to controllers for multiple actuators ◍ Designer specifies worst-case bounded failures permitted 26 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  27. Applications Design space exploration ◍ Mobile robots in a closed environment ◍ Designer specifies the application success rate and aims to minimize power usage 27 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  28. https://github.com/netdag/netdag Our scheduler implementation is open-source 28 28 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  29. References X. Li, D. Li, J. Wan et. al. “A review of industrial F. Ferrari, M. Zimmerling, L. Mottola, and L. Thiele. wireless networks in the context of Industry 4.0”. “Low-power wireless bus”. Proceedings of the 10th ACM Wireless Networks 23, pp. 23-41, 2017. Conference on Embedded Network Sensor Systems (SenSys), p. 1, 2012. G. Bernat, A. Burns, and S. Member. “Weakly hard real-time systems”. IEEE Transactions on Computers, F. Mager, et al. “Feedback control goes wireless: vol. 50, no. 4, pp. 308–321, 2001. guaranteed stability over low-power multi-hop networks”. Proceedings of the 10th ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS), 2019. F. Ferrari, M. Zimmerling, L. Thiele, and O. Saukh. “Efficient network flooding and time synchronization with glossy”. Proceedings of the ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN), pp. 73–84, 2011. 29 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

  30. Thanks! 30 March 10th, 2020. DATE K. Wardega, App-Aware Scheduling over LWB

Recommend


More recommend