Runtime adaptation of queued networks through dynamic programming - PowerPoint PPT Presentation

1 / 35
About This Presentation
Title:

Runtime adaptation of queued networks through dynamic programming

Description:

To develop controllers for changing QoS parameters ... We use Queue Network System (open) ... H is the ARMA prediction engine. The next step - adaptation engine ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 36
Provided by: akzh
Category:

less

Transcript and Presenter's Notes

Title: Runtime adaptation of queued networks through dynamic programming


1
Runtime adaptation of queued networks
throughdynamic programming
  • Assel Akzhalova, Iman Poernomo, Mahbub Gani
  • Kings College London
  • http//www.palab.kcl.ac.uk

2
Objective
  • To develop controllers for changing QoS
    parameters at runtime by means of classical
    control theory

3
Queues and QoS modelling
  • We use Queue Network System (open)
  • For many applications, queueing network models
    achieve a favorable balance between accuracy and
    efficiency.
  • They can be defined, parameterized, and evaluated
    at
  • relatively low cost.
  • It can be used at runtime to determine
    complicated QoS characteristics

1999 Menascé.
4
Queues and QoS modelling
  • The allocation of resource problem - to provide
    an agreed quality of service (QoS) is actually
    load-balancing problem or typical optimal control
    problem.
  • Some types of load-balancing problems 2
  • Routing or job allocation
  • Server allocation
  • Scheduling or the order of serving

5
Queues and QoS modelling
  • Examples
  • In 3 the objective is to find a workload
    allocation in cluster that minimizes mean
    response time
  • The optimization model is to minimize a weighted
    sum of total machines while satisfying the
    average response time constraint for multi-tier
    server network.4
  • The optimal switching policy is obtained
    numerically by solving a dynamic programming
    equation. 5

5
6
Formal statement of problem
We now consider queued networks that can evolve
over discrete time. The self-adapted system
strategy is to reconfigure the system during
run-time execution to be as near as possible to
desirable response time RTdes with minimum total
processing cost of the system. In a QoS-aware
SOA, instantiation might involve
searching directories for equivalent services and
determining the best candidate based on QoS
information.
7
Possible connections
8
Denotations
The ancestor(s) function tells us what service
(if any) calls s and what type of communication
connection is used.
Each Mi denotes a set of functionally equivalent
services that implement the abstract
functionality defined by service si.
9
Parameters
  • We assume that each service implementation has an
    associated cost
  • Additional constraints

10
Back to possible connections
11
State equations
  • We introduce ui(t) function.
  • The ui(t) function tells us what service from
    Mi(t) has been allocated to instantiate si in the
    queued network.
  • State equations
  • (3)
  • t 0, . . . , T -1, i 1, 2, ..., n, j 1,
    ...,m
  • (4)

12
The problem of optimal adaptation
  • The problem of optimal adaptation at time t is
    one of finding the best function
  • set ui(t) that provides the lowest overall cost
    while meeting the required QoS
  • constraints.

13
Optimal control problem
  • the average response time of the system
  • admissible controls
  • the cost incurred at time t

14
Optimal control problem
  • The expected cost of the system
  • (12)
  • Our objective is to find optimal policy u(t)
    that minimizes the expected cost of the system.
  • Our solution is to use dynamic programming
    technique.6

15
Dynamic programming technique
We start with an initial guess about the optimal
policy We continue backwards, for tT-1,
T-2,,0 solving Bellmans equation From
Bellmans equation we thus determine functions
16
Dynamic programming technique
  • Then , generated at the last
    step is equal to the optimal cost.
  • The sequence of found policies
  • is also optimal.

17
Algorithm
18
General solution
19
Example
20
Example
21
Example
We used arrival rate with Poisson distribution
21
22
Example
Response time of the system
22
23
Cost for each components
24
Self-adaptive systems
  • Self-adaptive systems are capable of changing
    their behavior at runtime to meet target
    behavioral constraints
  • Advantages
  • They provide dependable services to clients
  • They reduce the strong dependence on human
    resources
  • They react to different events more quickly

25
Self-adaptive systems
  • A typical example

Denial of Service Prevention (Sysmaster
product) http//www.sysmaster.com/s_net_qos.htm
26
Another examples
  • Data Centres, Clusters and GRID Computing
    Systems, Cloud computing
  • The typical problem here is the allocation of
    resource as to provide an agreed quality of
    service (QoS)

Nimrod/G - http//www.csse.monash.edu.au/davida/n
imrod/nimrodg.htm
27
The first step - previous work (Palab)
  • Example 7 changing a queue service rate
    pre-emptively in response to a prediction that
    utilization heads toward instability.
  • G is the controlling function
  • W is the component
  • H is the ARMA prediction engine

28
The next step - adaptation engine
  • We are investigating classical control theory to
    develop controllers for changing QoS parameters
    at runtime 8

29
Adaptation engine
  • Self-adaptive software use policies to decide how
    to react to monitored events
  • In 9 it was built the policy for self-adaptive
    software as one independent level on top of
    software architecture

Qianxiang Wang, 2005
30
Another examples
  • In the video application clients may request more
    network resources for a running session, in order
    to receive better video quality.
  • The authors use Ponder, a declarative,
    object-oriented language for specifying security
    and management policies for distributed systems.
    10

2003, Leonidas LymberopoulosEmil Lupu, and
Morris Sloman
31
Summary
  • Self-adaptive systems
  • Queues and QoS modelling
  • Formal statement of problem
  • Dynamic programming technique
  • Solution
  • Future work

32
References
  • Menascé 1999
  • Onno Bohma, Ger Cool, and Zhen Liu Queuing
    Theoretic solution methods for models of parallel
    and distributed systems // INRIA, 1996, 23 p
  • Alex Zhang, Pano Santos, Dirk Beyer, Hsiu-Khuern
    Tang Optimal Server Resource Allocation Using an
    Open Queueing Network Model of Response Time //
    Intelligent Enterprise Technology Laboratory HP
    Laboratories Palo Alto HPL-2002-301, 2002
  • Ligang He, Stephen A. Jarvis, David Bacigalupo,
    Daniel P. Spooner, Xinuo Chen and Graham R. Nudd
    Queueing Network-based Optimisation Techniques
    for Workload Allocation in Clusters of
    Computers// Proceedings of the 2004 IEEE
    International Conference on Services Computing
    (SCC04)
  • J. Palmer, I. Mitrani Optimal andheuristic
    policies for dynamic server allocation // J.
    Parallel Distrib. Comput. 65 (2005) 1204 1211

32
33
References
  • Dmitri P. Bertsecas Dynamic programming and
    optimal control 2006
  • Nurzhan Duzbayev, Iman Poernomo, Runtime
    Prediction of Queued Behaviour, QoSA 2006
  • Assel Akzhalova, Nurzhan Duzbayev, Model Driven
    Control, JOT December 2007
  • Qianxiang Wang Towards a Rule Model for
    Self-adaptive Software, ACM SIG-SOFT Software
    Engineering Notes, January 2005, Volume 30,
    Number 1, p.1-5
  • Leonidas Lymberopoulos,Emil Lupu, and Morris
    Sloman An Adaptive Policy-Based Framework for
    Network Services Management // Journal of Network
    and Systems Management, Vol. 11, No. 3, September
    2003, p. 277-303

34
Questions
35
Thank you
Write a Comment
User Comments (0)
About PowerShow.com