Mimer and Schedeval: Tools for Comparing Static Schedulers for Streaming Applications on Manycore Architectures
Nicolas Melot Johan Janzén Christoph Kessler
1Linköping University
- Dept. of Computer and Inf. Science
Linköping, Sweden
Mimer and Schedeval: Tools for Comparing Static Schedulers for - - PowerPoint PPT Presentation
Mimer and Schedeval: Tools for Comparing Static Schedulers for Streaming Applications on Manycore Architectures Nicolas Melot Johan Janzn Christoph Kessler Dept. of Computer and Inf. Science Linkping, Sweden November 27, 2015 1
1Linköping University
Linköping, Sweden
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
1 Introductjon
2 Mimer evaluatjon framework 3 Schedeval streaming framework
4 Mimer & Schedeval environment
5 Conclusion
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 1 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
P1 P2 P3 P4 P5 P6 P7 P8 G4 G5 G6 G7 G3 G2 G1 G15 G14 G13 G12 G11 G10 G9 G8
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 2 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
< < < < < < <
HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B ab-78123 FX HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B HI56882-27 sv 44 FF2B ab-78123 FX< < < < < < < Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 3 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Voltage and frequency
Cores grouped in islands Impact dependent on stalls due to memory accesses
Off-chip memory accesses On-chip communicatjons Statjc/dynamic power
DIMM MC MC DIMM MC DIMM MC DIMM tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile tile R R R R R R R R R R R R R R R R R R R R R R R R
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 4 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Tailor-made for a paper (Xu et al. [2012]) Lack of adaptability (Kasahara [2004])
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 5 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
[ ] [ ]
Platforms T askgraphs Schedules Scheduler statistics Evaluation statistics Schedulers Evaluators Graphs Structured data Plotting script Analyser & Field list 1 - Schedule 2 - Assess 3 - Analyze 4 - Plot Input data Output data User-provided Executable or settings Intermediate data Benchmark phase
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 6 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Platforms T askgraphs Scheduler Schedule Evaluation statistics Analytic evaluator Schedeval Or [ ] [ ]
Platforms T askgraphs Schedules Scheduler statistics Evaluation statistics Schedulers Evaluators Graphs Structured data Plotting script Analyser & Field list 1 - Schedule 2 - Assess 3 - Analyze 4 - Plot Input data Output data User-provided Executable or settings Intermediate data Benchmark phaseMelot, Janzén, Kessler Mimer and Schedeval November 27, 2015 7 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Ping Pong
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 8 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Time [us] 9 8 7 6 5 4 3 2 1 Local Tile Remote RCCE (tile) Message round trip delay (ms) Percentage not data ready 100% 80% 60% 40% 20%
Ping Pong
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 9 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Number of simultaneous pingpongs Data-ready task proportion 2 1 8 3 4 5 6 7 50.00% 40.00% 35.00% 30.00% 25.00% 20.00% 15.00% 10.00% 5.00% 0.00% 45.00% Local RCCE for comparison Remote Number of simultaneous pingpongs Messages round trip time [us] 9 8 7 6 5 4 3 2 1 2 1 8 3 4 5 6 7
Ping Pong
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 10 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 11 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Level mapping, extra presort Block mapping, extra presort Simpler variant Block mapping, depth-first Block mapping, depth-first Single core (1/6) Simpler variant Level mapping
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 12 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 FFTReorderSimple 2 3 4 5 6 7 8 9 10 11 CombineDFT Source & split Join & sink
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 13 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
tight average loose Task class 2e+ 09 4e+ 09 6e+ 09 8e+ 09 1e+ 10 1.2e+ 10 1.4e+ 10 Energy Energy quality of schedules Fast,ILP,ILP simple Fast,Bal.ILP,ILP Fast,LTLG,ILP Fast,Bal.ILP,Height Fast,LTLG,Height Bin,LTLG,Height Bin,LTLG,Height Ann. Integ. Pruhs [2008] (NLP,energy) Xu [2012] (ILP) Pruhs [2008] (heur,0) Pruhs [2008] (heur,0) Pruhs [2008] (NLP,energy) Fast,Bal.ILP,ILP Fast,LTLG,ILP Fast,Bal.ILP,Height Fast,LTLG,Height Bin,LTLG,Height Bin,LTLG,Height Ann. Xu [2012] (ILP) Fast,ILP,ILP simple Integ. Energy quality of schedules Energy Task class 200000 400000 600000 800000 1e+ 06 tight average loose
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 14 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 15 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 16 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 17 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 18 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 19 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 20 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
http://www.ida.liu.se/labs/pelab/mimer/
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 21 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
http://www.ida.liu.se/labs/pelab/mimer/
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 21 / 21
Introductjon Mimer Schedeval Mimer & Schedeval environment Conclusion References
Johan Janzén. Evaluatjon of energy-optjmizing scheduling algorithms for streaming computatjons on massively parallel multjcore architectures. Master’s thesis, Linköping University, 2014. URL http://liu.diva-portal.org/smash/record.jsf?pid=diva2%3A756758.
Jörg Keller, Christoph Kessler, and Rikard Hulten. Optjmized on-chip-pipelining for memory-intensive computatjons on multj-core processors with explicit memory hierarchy. Journal of Universal Computer Science, 18(14):1987–2023, 2012. Nicolas Melot, Christoph Kessler, Kenan Avdic, Patrick Cichowski, and Jörg Keller. Engineering parallel sortjng for the intel SCC. Procedia Computer Science, 9(0):1890 – 1899, 2012. doi: http://dx.doi.org/10.1016/j.procs.2012.04.207.
Nicolas Melot, Christoph Kessler, Jörg Keller, and Patrick Eitschberger. Fast Crown Scheduling Heuristjcs for Energy-Efficient Mapping and Scaling of Moldable Streaming Tasks on Manycore Systems. ACM Trans. Archit. Code Optjm., 11(4): 62:1–62:24, January 2015. ISSN 1544-3566. Kirk Pruhs, Rob van Stee, and Patchrawat Uthaisombut. Speed Scaling of Tasks with Precedence Constraints. Theory of Computjng Systems, 43(1):67–80, July 2008. William Thies, Michal Karczmarek, and Saman Amarasinghe. Streamit: A language for streaming applicatjons. In Compiler Constructjon, volume 2304 of Lecture Notes in Computer Science, pages 179–196. Springer Berlin Heidelberg, 2002. doi: 10.1007/3-540-45937-5\_14. Huitjng Xu, Fanxin Kong, and Qingxu Deng. Energy minimizing for parallel real-tjme tasks based on level-packing. In 18th Int.
Melot, Janzén, Kessler Mimer and Schedeval November 27, 2015 21 / 21