ASK: Adaptive Sampling Kit
- P. de Oliveira Castro, E. Petit, JC. Beyler, W. Jalby
Universit´ e de Versailles St-Quentin-en-Yvelines – Exascale Computing Research
2012/08/29
- P. Oliveira et al (UVSQ/ECR)
ASK 2012/08/29 1 / 17
ASK: Adaptive Sampling Kit P. de Oliveira Castro, E. Petit, JC. - - PowerPoint PPT Presentation
ASK: Adaptive Sampling Kit P. de Oliveira Castro, E. Petit, JC. Beyler, W. Jalby Universit e de Versailles St-Quentin-en-Yvelines Exascale Computing Research 2012/08/29 P. Oliveira et al (UVSQ/ECR) ASK 2012/08/29 1 / 17 Outline
ASK 2012/08/29 1 / 17
ASK 2012/08/29 2 / 17
◮ Understand performance bottlenecks ◮ Optimize applications ◮ Find best architecture for a given application (co-design)
ASK 2012/08/29 3 / 17
◮ Using simulators or analytical models ⋆ Architectures are complex and many factors interact (memory
⋆ Often models are too complex or costly ◮ Black-box approach: ⋆ Measure performance for different hardware or software configurations
⋆ Build an empirical model
ASK 2012/08/29 4 / 17
ASK 2012/08/29 5 / 17
◮ Samples must be chosen with care or the model will be biased.
◮ Linear, polynomial, SVM, Gaussian Process, Regression Trees, etc.
◮ Depending on the design space response some models and sampling
◮ Important to try different strategies
ASK 2012/08/29 6 / 17
◮ ASK open-source toolkit to build empirical models ⋆ Easy to try different sampling strategies ◮ A novel sampling strategy HVS ⋆ Evaluated on different performance characterization problems
ASK 2012/08/29 7 / 17
◮ Easy to combine different sampling strategies and models ◮ Gathers state-of-the art sampling methods ◮ Provides visualization modules to supervise the sampling ◮ Provides control modules to stop the sampling when its accurate
ASK 2012/08/29 8 / 17
◮ Select a set of samples covering the design space ◮ All points are measured in a single batch ⋆ Latin Hyper Cube ⋆ Maximin ⋆ Low discrepancy ⋆ Random
◮ Sampling iteratively adapts to the design space
⋆ AMART [Li09]: a Query-By-Comittee method ⋆ TGP + ALC [Gramacy09]: an Error-reduction
⋆ HVS: a novel Error-reduction method that takes
ASK 2012/08/29 9 / 17
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 factor x response f(x) σub s
last iteration samples
ASK 2012/08/29 10 / 17
ASK 2012/08/29 11 / 17
ASK 2012/08/29 11 / 17
ASK 2012/08/29 11 / 17
ASK 2012/08/29 11 / 17
ASK 2012/08/29 11 / 17
ASK 2012/08/29 12 / 17
5 10 15 20 25
200 400 600 800 1000 1200 1400 Strategy
HVS HVSrelative Latin Random
ASK 2012/08/29 13 / 17
20 40 60 80 100
5 10 15 20 25 30 Model
HVSrelative model Ideal linear scaling
ASK 2012/08/29 14 / 17
◮ Three store streams hitting memory ◮ Memory offsets: S(k), S(V 1 + k), S(V 2 + k) ◮ 4K aliasing ◮ non aligned access overhead
ASK 2012/08/29 15 / 17
◮ Mature toolbox ◮ Includes many models and sampling methods ◮ Automatic tuning of model parameters ◮ Supports modeling of multiple responses ◮ ASK specifically targets performance characterization ⋆ AMART [Li09] and HVS methods have been evaluated on performance
◮ Only supports real-valued inputs ◮ Depends on Matlab and is not open-source (but freely available for
◮ Includes many models ◮ Automatic tuning of model parameters ◮ Does not handle sampling
ASK 2012/08/29 16 / 17
◮ http://code.google.com/p/adaptive-sampling-kit/
◮ http://code.google.com/p/adaptive-sampling-kit/wiki/
ASK 2012/08/29 17 / 17