mod les de performance et mulation pour le
play

Modles de performance et mulation pour le dimensionnement autonome - PowerPoint PPT Presentation

Modles de performance et mulation pour le dimensionnement autonome d'applications distribues base de pp composants Introducing Introducing queuing network queuing network- -based based performance awareness performance awareness


  1. Modèles de performance et émulation pour le dimensionnement autonome d'applications distribuées à base de pp composants Introducing Introducing queuing network queuing network- -based based performance awareness performance awareness in performance awareness performance awareness in in autonomic systems in autonomic systems autonomic systems autonomic systems (ICAS (ICAS 2010 2010) ) Ahmed Harbaoui, Nabila Salmi Bruno Dillenseger and Jean-Marc Vincent g Orange Labs, France Telecoms Orange Labs France Telecoms LIG/INRIA LIG/INRIA MESCAL Team LIG/INRIA LIG/INRIA-MESCAL Team MESCAL Team MESCAL Team Grenoble, France

  2. Outline Outline 1 1. Towards autonomic management Towards autonomic management 2. Modeling black boxes 3 3. Automatic black box model identification Automatic black box model identification 4. Experimental results 5. Conclusion & future work Journée ASR Grand-Est Juin 2010 Nancy 2

  3. Towards Autonomic management QoS ? Decision Candidate Performance SLO (Service Level configurations prediction Objectives) satisfied ? Autonomic management t policies/rules Modeling + Analysis Observation Feedback Self-manage Distribution Important workload kl d Complexity Autonomic systems QoS loss Journée ASR Grand-Est Juin 2010 Nancy 3

  4. Overview of our global approach Ready-to-use Ready to use System Under Test models repository Queuing models 1 Several black boxes 2 3 Service Level Candidate Candidate Obj Objective (SLO) ti (SLO) solutions Choose the Performance solution to apply prediction di ti to the system Queueing networks Queueing networks Journée ASR Grand-Est Juin 2010 Nancy 4

  5. Automatic black box model identification Goal: Capture the complete behavior of a black box and limit points Principle 1. Several automatic load injection steps. 2. Start with a low injected load, increase j load until black box saturation. 3. Collect measures in each step (response times resources times, resources utilization), deduce a queueing model Journée ASR Grand-Est Juin 2010 Nancy 5

  6. Outline Outline 1 1. Towards autonomic management Towards autonomic management 2. Modeling black boxes 3 3. Automatic black box model identification Automatic black box model identification 4. Experimental results 5. Conclusion & future work Journée ASR Grand-Est Juin 2010 Nancy 6

  7. Modeling : Modeling : � Load Load- -dependent black boxes dependent black boxes : : Queuing and service times depend on the load. � Load Load- -independent black boxes : independent black boxes : The service time does not depend on the load. depend on the load. Constant delay black boxes : Constant delay black boxes : Service time does not y Service time does not � depend on the load and there is no queuing depend on the load and there is no queuing We define the type of each black box according to the test We define the type of each black box according to the test results results results results Journée ASR Grand-Est Juin 2010 Nancy 7

  8. Queuing models Q g Queue with 1 server System System Utilization Utili ti Repartition of nb. rate customers (mem & service) λ λ Arrival of customers ( ) A i l f t ( ) Service μ Departure of customers (Z) Queue Response time (wait+service) (wait+service) λ = arrival rate of customers : mean number of arrivals per time unit μ μ = service rate : mean number of served customers per time unit ser ice rate : mean b f d t ti it Z = scheduling policy : FIFO, PS, RR, random, … Queue model : Queue model : T T / X / X / m / m / K / K / Z / Z Interarrival time distribution Service time distribution Q Queue Capacity C i Number of servers Journée ASR Grand-Est Juin 2010 Nancy 8

  9. Queueing models � M/M/K model : Inter-arrivals Exponential( λ ) , Service Exponential( μ ) , Infinite Capacity, K servers, FIFO � Analyzable by MVA algorithm Exponential distribution ( λ ) e μ − − ≥ ≤ t 1 , 0 t Prob { T t }= � M/G/K model : Inter-arrivals Exponential( λ ) , General service, Infinite capacity, K servers, FIFO � Analyzable by R. Marie Algorithm y y g � G/G/K model : General Inter-arrivals, General service, Infinite capacity, K servers, FIFO , � Simulable � Simulable Journée ASR Grand-Est Juin 2010 Nancy 9

  10. Java Modelling Tool (JMT) g ( ) � Suite of tools developed by Politecnico di Milano, 2006 -2009 � Si J � Six Java applications: li ti 1. JSIMGraph, JSIMWiz: QN models designer/simulator (graphical/ Wizard interface) 2. JMVA: Mean Value Analysis of BCMP compliant QN models Q 3. JABA: asymptotic analysis of QN models for identification of the bottlenecks identification of the bottlenecks 4. JWAT: Workload Analysis from log/ used data 5. JMCH : Markov chain (M/M/1, M/M/1/K models) simulator Journée ASR Grand-Est Juin 2010 Nancy 10

  11. Inter-arrival times distribution � Collect arrival times of submitted requests � Deduce the inter-arrival sample, � Identify the shape of the inter-arrival sample � � use statistical tests against several distribution families: exponential, se statistical tests against se eral distrib tion families e ponential heavy-tail, etc (Kolmogorov-Smirnov test). � Keep distributions whose p-value > 0.1 � Estimate distribution parameters with the Maximum likelihood estimator method. Realistic requests Journée ASR Grand-Est Juin 2010 Nancy 11

  12. Service time distribution � Inject load requests with exponential inter-arrivals. � Collect response times (R k ) inter-arrival times (t k ) and utilization Collect response times (R k ), inter arrival times (t k ) and utilization of all resources (U). � Inferring service times (X k ) 1 ≤ k ≤ n 1 server Several servers � Identify the shape of the service time sample with Kolmogorov-Smirnov tests tests. � Validation : Compare empirical measures with theoretical ones p p mean response time, mean waiting time bound Journée ASR Grand-Est Juin 2010 Nancy 12

  13. Number of servers (K) Number of servers (K) • Cmax= Cmax 0 , K=1 • Iterate until saturation – When reaching the maximal load Cmax, check the utilization of all black box resources all black box resources. If , for all resource, U < 1 K=K+1; Cmax= Cmax 0 *K – If, for a resource, U ≈ 1 If, for a resource, U 1 Stop injection experiment, K = last identified value Journée ASR Grand-Est Juin 2010 Nancy 13

  14. Achieving self-regulated injection g g j 1. Injection policy - Initial maximal load Cmax = 1/ R (R: response time measures sample) - Injection step, Rising period - Sampling period: Number of measures n >= 2. Estimation of the stabilization time 2. Estimation of the stabilization time Stabilization time = convergence time of the queue Markov chain (Restriction to Engset models) (Restriction to Engset models) Journée ASR Grand-Est Juin 2010 Nancy 14

  15. Outline Outline 1 1. Towards autonomic management Towards autonomic management 2. Modeling black boxes 3 3. Automatic black box model identification Automatic black box model identification 4. Experimental results 5. Conclusion & future work Journée ASR Grand-Est Juin 2010 Nancy 15

  16. CLIF Load Injection Framework CLIF Load Injection Framework Probes measure usage of load injector 1 arbitrary computing resources arbitrary computing resources probes load injector 2 load injector 2 arbitrary system under probes test supervision test (SUT) Execution control load injector n and monitoring of g Load injectors : Load injectors : load injectors and • send requests, wait for replies, measure response times resource probes. • according to a given scenario • for example, emulating the load of a number of real users (through so-called virtual users) Journée ASR Grand-Est Juin 2010 Nancy 16

  17. Architecture of FAMI (Framework for Automatic Modelling Identification) (Framework for Automatic Modelling Identification) Model T/X/k : • Interarrival distribution • Service times distribution • Service times distribution • Number of Servers Journée ASR Grand-Est Juin 2010 Nancy 17

  18. Outline Outline 1 1. Towards autonomic management Towards autonomic management 2. Modeling black boxes 3 3. Automatic black box model identification Automatic black box model identification 4. Experimental results 5. Conclusion & future work Journée ASR Grand-Est Juin 2010 Nancy 18

  19. Experimental results p • Test-bed: Rubis Web-based application, workstation with 2 pp , PIII 1.4Ghz, 1GO RAM. • Injector Machine: workstation with quadri-processor Xeon 2Gh 2Ghz, 2GO RAM. 2GO RAM • 1 st injection step • 1 st injection step – Average service time: X 0 = 0.021 s – Theoretical stabilization time = 0.043s – Cmax 0 = 45.30 Virtual users (requests)/s • After 27 minutes of the experiment (12 steps), we reached After 27 min tes of the e periment (12 steps) e reached - Number of virtual users = 120 vusers - Saturated resource : CPU � CPU load = 96% Journée ASR Grand-Est Juin 2010 Nancy 19

  20. Experimental results Inter-arrival times distribution CV 2 =1 015 CV 2 =1.015 with a 95% confidence interval with a 95% confidence interval cv 2 � a possible fitness to an exponential distribution λ =30 34 req/s λ 30.34 req/s Kolmogorov-Smirnov test : p-value=0.59 Journée ASR Grand-Est Juin 2010 Nancy 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend