Start Time Planning for Cyclic Queuing and Forwarding in Time-Sensitive Networks
Abstract
:1. Introduction
- The traditional incremental scheduling is improved by shifting from scheduling flow independently to scheduling a novel scheduling object: a combination of (flow, path, offset). The scheduling objects can integrate the independent scheduling processes of flow sorting, path planning, and offset search into a cohesive whole.
- A flow–path–offset joint scheduling algorithm is proposed to schedule based on a novel multi-index priority scoring mechanism, which enhances the load balancing degree and increases the scheduling success ratio. The scoring mechanism depends on the total resources occupied by the scheduling object and the remaining port capacity. The scoring mechanism can accurately reflect the impact of each scheduling object on the scheduling process.
- A congestion-aware scheduling algorithm is presented that can identify and optimize congested ports during scheduling. The reason for scheduling failure is not that the overall link load ratio is too high, but that the resources of a few ports along the path are congested. This method can detect congested ports early in the scheduling process and reduce scheduling failures caused by small amounts of port congestion.
2. Related Work
3. System Model
3.1. Network Model
3.2. CQF Scheduling Model
- The packet must be transmitted from the current node to the next node in the same slot.
- Packets received by a node within will be forwarded in .
4. Problem Statement
4.1. Slot Length Constraint
4.2. Queue Resource Constraints
5. Algorithm Design
5.1. Scheduling Object and Priority Sorting Mechanism
5.2. FPOJS Algorithm
Algorithm 1 Flow–Path–Offset Joint Scheduling (FPOJS) Algorithm |
Input: Flow Set F, Topology G |
Output: Set of successfully scheduled flows |
|
5.3. Congestion-Aware Scheduling Algorithm
Algorithm 2 Congestion-Aware Scheduling Optimization |
Input: Current flowset , Current topology , Current |
Output: Set of rescheduled flows |
|
6. Evaluation
6.1. Simulation Setup
- Network parameters: In the simulations, the scheduling of CQF is tested using bus, ring, and hybrid network topologies, covering the typical TSN application types. Figure 3 illustrates the bus, ring, and hybrid topology. In the experiments, different TSNs all contains 21 nodes, each with 8 ports. One to three ports of each node connect to the host, and the remaining ports are used for interconnection between nodes. The queue capacity of each port is 8k, the network bandwidth is 1 Gb/s, and the slot length is 125 μs.
- Flow parameters: The flow period is set between 2 to 9 slots, which is consistent with the properties of flows observed in the real world, and a total of 500 flows are scheduled. Packet sizes are randomly selected within the range of 64 to 1500 bytes. The deadline of flows is set between 2 to 7 milliseconds. The simulation focuses exclusively on unicast flows, while multicast flows can be decomposed into multiple unicast flows.
6.2. Simulation Results
6.2.1. Algorithm Performance under Different Topology Structures
6.2.2. The Impact of Slot Length and Queue Length on Scheduling
6.2.3. Impact Analysis of Port Resource Expansion on Scheduling Success Ratio
7. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Deng, L.; Xie, G.; Liu, H.; Han, Y.; Li, R.; Li, K. A Survey of Real-Time Ethernet Modeling and Design Methodologies: From AVB to TSN. ACM Comput. Surv. 2023, 55, 1–36. [Google Scholar] [CrossRef]
- Pei, J.; Hu, Y.; Tian, L.; Li, M.; Li, Z. A Hybrid Traffic Scheduling Strategy for Time-Sensitive Networking. Electronics 2022, 11, 3762. [Google Scholar] [CrossRef]
- Farkas, J.; Bello, L.L.; Gunther, C. Time-Sensitive Networking Standards. IEEE Commun. Stand. Mag. 2018, 2, 20–21. [Google Scholar] [CrossRef]
- Craciunas, S.S.; Oliver, R.S.; Chmelík, M.; Steiner, W. Scheduling Real-Time Communication in IEEE 802.1Qbv Time Sensitive Networks. In Proceedings of the 24th International Conference on Real-Time Networks and Systems, Brest France, 19–21 October 2016; ACM: New York, NY, USA, 2016; pp. 183–192. [Google Scholar]
- Vlk, M.; Hanzalek, Z.; Brejchova, K.; Tang, S.; Bhattacharjee, S.; Fu, S. Enhancing Schedulability and Throughput of Time-Triggered Traffic in IEEE 802.1Qbv Time-Sensitive Networks. IEEE Trans. Commun. 2020, 68, 7023–7038. [Google Scholar] [CrossRef]
- Bello, L.L.; Steiner, W. A Perspective on IEEE Time-Sensitive Networking for Industrial Communication and Automation Systems. Proc. IEEE 2019, 107, 1094–1120. [Google Scholar] [CrossRef]
- Steiner, W.; Craciunas, S.S.; Oliver, R.S. Traffic Planning for Time-Sensitive Communication. IEEE Commun. Stand. Mag. 2018, 2, 42–47. [Google Scholar] [CrossRef]
- Quan, W.; Yan, J.; Jiang, X.; Sun, Z. On-line Traffic Scheduling optimization in IEEE 802.1Qch based Time-Sensitive Networks. In In Proceedings of the 2020 IEEE 22nd International Conference on High Performance Computing and Communications; IEEE 18th International Conference on Smart City; IEEE 6th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Yanuca Island, Cuvu, Fiji, 14–16 December 2020; IEEE: New York, NY, USA, 2020; pp. 369–376. [Google Scholar]
- Huang, Y.; Wang, S.; Wu, B.; Huang, T.; Liu, Y. TACQ: Enabling Zero-jitter for Cyclic-Queuing and Forwarding in Time-Sensitive Networks. In Proceedings of the IEEE International Conference on Communications, Montreal, QC, Canada, 14–23 June 2021; pp. 1–6. [Google Scholar]
- Steiner, W. An Evaluation of SMT-Based Schedule Synthesis for Time-Triggered Multi-hop Networks. In Proceedings of the 2010 31st IEEE Real-Time Systems Symposium, San Diego, CA, USA, 30 November–3 December 2010; IEEE: New York, NY, USA, 2010; pp. 375–384. [Google Scholar]
- Dürr, F.; Nayak, N.G. No-wait Packet Scheduling for IEEE Time-sensitive Networks (TSN). In Proceedings of the 24th International Conference on Real-Time Networks and Systems, Brest, France, 19–21 October 2016; ACM: New York, NY, USA, 2016; pp. 203–212. [Google Scholar]
- Oliver, R.S.; Craciunas, S.S.; Steiner, W. IEEE 802.1Qbv Gate Control List Synthesis Using Array Theory Encoding. In Proceedings of the 2018 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), Porto, Portugal, 11–13 April 2018; IEEE: New York, NY, USA, 2018; pp. 13–24. [Google Scholar]
- Nayak, N.G.; Dürr, F.; Rothermel, K. Time-sensitive Software-defined Network (TSSDN) for Real-time Applications. In Proceedings of the 24th International Conference on Real-Time Networks and Systems, Brest, France, 19–21 October 2016; ACM: New York, NY, USA, 2016; pp. 193–202. [Google Scholar]
- Alnajim, A.; Salehi, S.; Shen, C.-C. Incremental Path-Selection and Scheduling for Time-Sensitive Networks. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; IEEE: New York, NY, USA, 2019; pp. 1–6. [Google Scholar]
- Yan, J.; Quan, W.; Jiang, X.; Sun, Z. Injection Time Planning: Making CQF Practical in Time-Sensitive Networking. In Proceedings of the IEEE INFOCOM 2020—IEEE Conference on Computer Communications, Toronto, ON, Canada, 6–9 July 2020; IEEE: New York, NY, USA, 2020; pp. 616–625. [Google Scholar]
- Cheng, Z.; Yang, D.; Zhang, W.; Ren, J.; Wang, H.; Zhang, H. DeepCQF: Making CQF Scheduling More Intelligent and Practicable. In Proceedings of the IEEE International Conference on Communications, Seoul, Republic of Korea, 16–20 May 2022; IEEE: New York, NY, USA, 2022; pp. 1–6. [Google Scholar]
- Nie, H.; Li, S.; Liu, Y. Optimized scheduling mechanism based on IEEE 802.1Qch standard in time-sensitive networking. J. Commun. 2022, 43, 12–26. [Google Scholar]
- Zhang, Y.; Xu, Q.; Xu, L.; Chen, C.; Guan, X. Efficient Flow Scheduling for Industrial Time-Sensitive Networking: A Divisibility Theory-Based Method. IEEE Trans. Ind. Inf. 2022, 18, 9312–9323. [Google Scholar] [CrossRef]
- Chang, S.-H.; Chen, H.; Cheng, B.-C. Time-predictable routing algorithm for Time-Sensitive Networking: Schedulable guarantee of Time-Triggered streams. Comput. Commun. 2021, 172, 183–195. [Google Scholar] [CrossRef]
- Feng, Z.; Gu, Z.; Yu, H.; Deng, Q.; Niu, L. Online Rerouting and Rescheduling of Time-Triggered Flows for Fault Tolerance in Time-Sensitive Networking. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2022, 41, 4253–4264. [Google Scholar] [CrossRef]
- Nie, H.; Li, S.; Liu, Y. An Enhanced Routing and Scheduling Mechanism for Time-Triggered Traffic with Large Period Differences in Time-Sensitive Networking. Appl. Sci. 2022, 12, 4448. [Google Scholar] [CrossRef]
- Guo, M.; Gu, C.; He, S.; Shi, Z.; Chen, J. MSS: Exploiting Mapping Score for CQF Start Time Planning in Time-Sensitive Networking. IEEE Trans. Ind. Inf. 2023, 19, 2140–2150. [Google Scholar] [CrossRef]
- Wang, X.; Yao, H.; Mai, T.; Xiong, Z.; Wang, F.; Liu, Y. Joint Routing and Scheduling with Cyclic Queuing and Forwarding for Time-Sensitive Networks. IEEE Trans. Veh. Technol. 2023, 72, 3793–3804. [Google Scholar] [CrossRef]
Parameters | Connotations |
---|---|
Time slot length | |
Hyper-period | |
TSN switches | |
Injection time slot of | |
Processing delay | |
Propagation delay | |
Link bandwidth | |
Queue length | |
Number of hops for flow | |
Slot queue resource of port m on node during | |
Occupancy status of flow at |
Flow | Size | Route | Period | |
---|---|---|---|---|
30 | B→F | 3 | 120 | |
40 | B→F | 3 | 160 | |
50 | B→F | 2 | 300 | |
10 | A→F | 3 | 90 |
Slot0 | Slot1 | Slot2 | Slot3 | Slot4 | Slot5 | |
---|---|---|---|---|---|---|
Port1 | 15 | 15 | 15 | 15 | 15 | 15 |
Port5 | 80 | 60 | 50 | 80 | 60 | 50 |
Port6 | 40 | 30 | 70 | 40 | 30 | 70 |
Port7 | 50 | 90 | 40 | 50 | 90 | 40 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, D.; Zhang, Z.; Shi, Y.; Wang, Y.; Guo, J.; Lei, Z. Start Time Planning for Cyclic Queuing and Forwarding in Time-Sensitive Networks. Mathematics 2024, 12, 3382. https://doi.org/10.3390/math12213382
Liu D, Zhang Z, Shi Y, Wang Y, Guo J, Lei Z. Start Time Planning for Cyclic Queuing and Forwarding in Time-Sensitive Networks. Mathematics. 2024; 12(21):3382. https://doi.org/10.3390/math12213382
Chicago/Turabian StyleLiu, Daqian, Zhewei Zhang, Yuntao Shi, Yingying Wang, Jingcheng Guo, and Zhenwu Lei. 2024. "Start Time Planning for Cyclic Queuing and Forwarding in Time-Sensitive Networks" Mathematics 12, no. 21: 3382. https://doi.org/10.3390/math12213382
APA StyleLiu, D., Zhang, Z., Shi, Y., Wang, Y., Guo, J., & Lei, Z. (2024). Start Time Planning for Cyclic Queuing and Forwarding in Time-Sensitive Networks. Mathematics, 12(21), 3382. https://doi.org/10.3390/math12213382