Using machine learning techniques for DSP software performance prediction at source code level

被引:20
作者
Liu, Weihua [1 ]
Hu, Erh-Wen [1 ]
Su, Bogong [1 ]
Wang, Jian [2 ]
机构
[1] William Paterson Univ New Jersey, Comp Sci Dept, Wayne, NJ USA
[2] Mobile Broadband Software Design, Ericsson, ON, Canada
关键词
Performance prediction; source code level; machine learning; REGRESSION; ALGORITHM;
D O I
10.1080/09540091.2020.1762542
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Efficient performance prediction at the source code level is essential in reducing the turnaround time of software development. In this paper, we introduce a new prediction model, which combines several machine learning algorithms, such as KNN, clustering, similarity, sample and attribute weighting with multiple linear regression techniques, to predict the execution time of Digital Signal Processing (DSP) software at the source code level. Prediction at source code level tends to both under-predict the performance for certain testing samples and over-predict for some other samples. Therefore, we propose a new algorithm called MAX/MIN algorithm to select the best-predicted execution time. To validate the new model, we measure experimentally the execution time of a set of functions selected from PHY DSP Benchmark and run them on TIC64 DSP processor. It is observed that the average absolute relative prediction error is less than 10% between the computed performance from the new model and the actual measured execution time.
引用
收藏
页码:26 / 41
页数:16
相关论文
共 19 条
[1]  
Amarís M, 2016, 15TH IEEE INTERNATIONAL SYMPOSIUM ON NETWORK COMPUTING AND APPLICATIONS (IEEE NCA 2016), P326, DOI 10.1109/NCA.2016.7778637
[2]  
[Anonymous], 2007, TELE BENCH EEMBC BEN
[3]  
[Anonymous], 2011, LTE UPLINK RECEIVER
[4]   Cross-Architecture Performance Prediction (XAPP) Using CPU Code to Predict GPU Performance [J].
Ardalani, Newsha ;
Lestourgeon, Clint ;
Sankaralingam, Karthikeyan ;
Zhu, Xiaojin .
PROCEEDINGS OF THE 48TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO-48), 2015, :725-737
[5]  
Bruce P., 2017, PRACTICAL STAT DATA
[6]  
Hu E. W., 2019, J SOFTWARE, V14, P247, DOI [10.17706/jsw.14.6.247-256, DOI 10.17706/JSW.14.6.247-256]
[7]  
Hu E. W., 2006, NEW DSP BENCHMARK BA, P175
[8]  
Hu EW, 2017, 2017 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), P263, DOI 10.1109/SERA.2017.7965736
[9]   Feature weighting in k-means clustering [J].
Modha, DS ;
Spangler, WS .
MACHINE LEARNING, 2003, 52 (03) :217-237
[10]   Using Machine Learning Ensemble Methods to Predict Execution Time of e-Science Workflowes in Heterogeneous Distributed Systems [J].
Nadeem, Farrukh ;
Alghazzawi, Daniyal ;
Mashat, Abdulfattah ;
Faqeeh, Khalid ;
Almalaise, Abdullah .
IEEE ACCESS, 2019, 7 :25138-25149