CQoS Database Usage in Adaptive Linear Solvers
Performance database uses for the purpose of adaptive linear solver selection fall into two categories:
1. Look up matrix metadata that precisely matches the attributes of linear system and, if hit, retrieve the optimal solver and parameter setting associated the metadata to apply to the new problem. 2. If there is no data in the DB that exactly matches properties of the problem at hand, or a miss, it is desirable to select a linear solver based on historical performance, which can potentially yield optimal performance. Intelligent methods, such as statistical modeling and machine learning will be greatly helpful in this scenario. Making an adaptive decision often need to go through both types of PerfDB query. If a question can not be answered exactly from historical data, then we need to guess a solution that is good enough. Performance database query APIs are accordingly broken into two groups. 1. Retrieve optimal solver and parameters. Examples are:
2. Apply machine learning and statistical modeling to predict optimal parameters/solvers from history data. Statistical modeling 1 approaches base algorithm decisions on the nature of the user data. The approach can help identify correlations between characteristics of the matrix and choices and parameterizations of the numerical methods. Generally speaking, using statistical techniques to make an adaptive decision proceeds in four steps:
Machine learning 2 methods are also based on training set and matrix features to make solver predictions. Given a performance criterion, the machine learning algorithms, such as Adaboost, classify a set of solvers into two groups: solvers that perform better than some reference method and solvers that are worse than the reference. The first group forms the set of suitable solvers for a linear system. When multiple criteria (e.g., the norm of residual vector, execution time, iteration steps) are employed, the set of suitable candidate solvers will be narrowed by intersecting individual solver sets associated with each criterion. The application of above intelligent methods to predict optimal solvers entails more complicated DB query requirements. Investigation of specific scenarios of database use in statistical analysis and Adaboost algorithm are underway. Ongoing work and experiment:There are many important issues in implementing linear solver prediction and selection algorithms. Among them, ongoing work includes:
References: 1 Demmel, J., Dongarra, J., Eijkhout, V., Fuentes, E., Petitet, A., Vuduc, R., Whaley, R.C., Yelick, K. "Self Adapting Linear Algebra Algorithms and Software," IEEE Proceedings, 2005. 2 Bhowmick, S., Eijkhout, V., Freund, Y., Fuentes, E., Keyes, D. "Application of Machine Learning to the Selection of Sparse Linear Solvers," International Journal of High Performance Computing Applications, 2006. Created by: likli last modification: Friday 12 of October, 2007 [15:17:40 UTC] by norris |
Login Online users
16
online users
|