presented by: sameer kulkarni dept of computer & information sciences university of delaware
DESCRIPTION
Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware. Improving Both the Performance Benefits and Speed of Optimization Phase Sequence Searches- Kulkarni, Jantz and Whalley. Terms used. Phase Ordering Genetic Algorithms Performance measurements - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/1.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Presented by: Sameer KulkarniDept of Computer & Information Sciences
University of Delaware
Improving Both the Performance Benefits and Speed of Optimization
Phase Sequence Searches- Kulkarni, Jantz and Whalley
![Page 2: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/2.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Terms used
• Phase Ordering• Genetic Algorithms• Performance measurements• Benchmarks• Search granularity
![Page 3: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/3.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Introduction
• Function vs. program level Granularity• Embedded Systems
• Emulation• Cost benefits
• Hybrid Search
![Page 4: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/4.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Ideal Solution?
• Oracle Perfect sequence at the very start
• Wise Man Solution Given the present code predict the best optimization solution
![Page 5: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/5.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Wise Man
?• Understand
Compilers
• Optimizations
• Source Code
![Page 6: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/6.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Possible Solutions• Pruning the search space
• Genetic Algorithms
• Estimating running times
• Precompiled choices
![Page 7: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/7.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Genetic Algorithms
Fast Searches for Effective Optimization Phase Sequences, Kulkarni et al. PLDI ‘04
![Page 8: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/8.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Exhaustive vs Heuristic [2]
![Page 9: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/9.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Related Work
• Genetic Algorithms• Other Evolutionary Techniques
• HMMs (CGO 06)• Other Statistical methods
• Optimization Space Exploration
![Page 10: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/10.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Present work
• Granularity• Function Level• File Level• Program Level• Hybrid
![Page 11: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/11.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Experimental Setup
• VPO (Very Portable Optimizer)• Base Genetic Algorithm• Redundancy elimination
![Page 12: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/12.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
VPO
• Single IR• Simplified phase ordering• Configurable/modifiable
![Page 13: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/13.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Redundancy Elimination
• Identical Sequence• Identical Active Sequence• Identical Function instance• Equivalent Function
Instance
![Page 14: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/14.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Improvement…?
120 days > 12.5 days
![Page 15: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/15.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Granularities Studied…
• Function Level
• File Level
• Program Level
• Hybrid
…all compared to batch compilation
![Page 16: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/16.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Graphs, graphs and more graphs…
![Page 17: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/17.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Search Requirements
http://www.ittc.ku.edu/~kulkarni/research/papers/lctes59f-preprint.pdf
![Page 18: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/18.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Are they any good?
http://www.ittc.ku.edu/~kulkarni/research/papers/lctes59f-preprint.pdf
![Page 19: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/19.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Performance ??
http://www.ittc.ku.edu/~kulkarni/research/papers/lctes59f-preprint.pdf
![Page 20: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/20.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Future Work• Other machine learning algorithms• Reduce granularity• Use a cluster to reduce search /
learning time
![Page 21: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/21.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Conclusion• Reduced search overhead
![Page 22: Presented by: Sameer Kulkarni Dept of Computer & Information Sciences University of Delaware](https://reader036.vdocuments.us/reader036/viewer/2022062410/568157a7550346895dc53763/html5/thumbnails/22.jpg)
CISC 879 - Machine Learning for Solving Systems Problems
Questions