110 likes | 233 Vues
This paper evaluates the latency of periodic sources in embedded systems, particularly within Software-Defined Radio (WLAN) applications. It discusses methods for calculating the minimum cycle time (MCM) and establishing periodic schedules, emphasizing the importance of synchronization in multi-actor systems. It features a detailed analysis of latency behavior, providing insights into how delays in one component can propagate through the system. The evaluation is based on a dataflow graph model, and practical implications for real-time applications in embedded environments are discussed.
E N D
Quantitative Evaluation of Embedded Systems Latency for a periodic source
Latency for a periodic source A C B 30ms 10ms 10ms
Software-Defined Radio (W-LAN) Scr1 Scr6 Scr7 Scr2 Scr5 Scr3 Scr4 BuildHeader ModHeader Pdemod Pdecode CodeHeader Hdemod CFEnSync FFEnCE Detect O.Moreira, F. Valente, M.Bekooij, “Scheduling multiple independent hard-real-time jobs on a heterogenous multiprocessor”, in Proceedings of the 7th ACM & IEEE International conference on Embedded Software . EMSOFT 2007, pp. 57-66, 2007 Hdecode AckMode MacCRC AckCode MacAnalyse
Software-Defined Radio (W-LAN) * Disclaimer: this is just an illustration. The actual deployment of a W-LAN gives a graph that is too complicated to draw.
Latency for a periodic source A C B 30ms 10ms 10ms
Latency for a periodic source Press pause to calculate the MCM and a periodic schedule for it! A C B Delaying one actor will delay them all! 30ms S 10ms 10ms
Latency for a periodic source t0 = 0ms A C B t0 = 10ms t0 = 10ms 30ms S 10ms MCM = 20ms 10ms
Latency for a periodic source t0 = 0ms A C B t0 = 10ms t0 = 10ms 30ms S Latency = 10ms MCM = 20ms 10ms
Latency for a periodic source t0 = 0ms A C B t0 = 10ms t0 = 10ms 30ms S Latency = 10ms MCM = 20ms 10ms
Latency for a periodic source t0 = 0ms A C B t0 = 0ms t0 = 0ms 30ms S Latency = 10ms μ = 30ms 10ms
Calculating a latency bound • Given a dataflow graph with execution times Ea • Determine the MCM and choose a period μ ≥ MCM • Determine start-times Ta of a periodic schedule • Determine the minimum number δ of tokens between input and output • Latency ≤Toutput+ Eoutput + δ·μ