Using Machine Learning Techniques to Detect Parallel Patterns of Multi-threaded Applications
International Journal of Parallel Programming, cilt.44, sa.4, ss.867-900, 2016 (SCI-Expanded, Scopus)
- Yayın Türü: Makale / Tam Makale
- Cilt numarası: 44 Sayı: 4
- Basım Tarihi: 2016
- Doi Numarası: 10.1007/s10766-015-0396-z
- Dergi Adı: International Journal of Parallel Programming
- Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus
- Sayfa Sayıları: ss.867-900
- Anahtar Kelimeler: Multi-threaded applications, Multicore software, Parallel patterns, Parallel programming, Pattern detection
- Boğaziçi Üniversitesi Adresli: Evet
Özet
Multicore hardware and software are becoming increasingly more complex. The programmability problem of multicore software has led to the use of parallel patterns. Parallel patterns reduce the effort and time required to develop multicore software by effectively capturing its thread communication and data sharing characteristics. Hence, detecting the parallel pattern used in a multi-threaded application is crucial for performance improvements and enables many architectural optimizations; however, this topic has not been widely studied. We apply machine learning techniques in a novel approach to automatically detect parallel patterns and compare these techniques in terms of accuracy and speed. We experimentally validate the detection ability of our techniques on benchmarks including PARSEC and Rodinia. Our experiments show that the k-nearest neighbor, decision trees, and naive Bayes classifier are the most accurate techniques. Overall, decision trees are the fastest technique with the lowest characterization overhead producing the best combination of detection results. We also show the usefulness of the proposed techniques on synthetic benchmark generation.