On the Combined Behaviour of Autonomous Resource Management Agents - - PowerPoint PPT Presentation

on the combined behaviour of autonomous resource
SMART_READER_LITE
LIVE PREVIEW

On the Combined Behaviour of Autonomous Resource Management Agents - - PowerPoint PPT Presentation

Resource management using autonomic operators Model and Simulations Results On the Combined Behaviour of Autonomous Resource Management Agents Siri Fagernes and Alva L. Couch June 24, 2010 university-logo Siri Fagernes and Alva L. Couch


slide-1
SLIDE 1

university-logo Resource management using autonomic operators Model and Simulations Results

On the Combined Behaviour of Autonomous Resource Management Agents

Siri Fagernes and Alva L. Couch June 24, 2010

Siri Fagernes and Alva L. Couch

slide-2
SLIDE 2

university-logo Resource management using autonomic operators Model and Simulations Results

The Vision of Autonomic Computing (AC)

Systems that are capable of self-management, adapting to changes by making their own decisions, based on status information sensed by the system itself.

Siri Fagernes and Alva L. Couch

slide-3
SLIDE 3

university-logo Resource management using autonomic operators Model and Simulations Results

Common Approach in AC

Autonomic control loops, that operates to achieve defined system goals based on predicted models of system behaviour.

Siri Fagernes and Alva L. Couch

slide-4
SLIDE 4

university-logo Resource management using autonomic operators Model and Simulations Results

The Question of Knowledge

Precise models of system behaviour require huge amounts

  • f information.

As dynamic behaviour and size of the systems increase, the complexity of information becomes overwhelming. Some of this information may not even be knowable. Requiring less information for system management is beneficial!

Siri Fagernes and Alva L. Couch

slide-5
SLIDE 5

university-logo Resource management using autonomic operators Model and Simulations Results

Our Claims

Minimal information can lead to near-optimal behaviour through use of highly-reactive management agents. Highly reactive agents can be composed without chaotic interactions.

Siri Fagernes and Alva L. Couch

slide-6
SLIDE 6

university-logo Resource management using autonomic operators Model and Simulations Results

Resource Management using Autonomic Operators

Siri Fagernes and Alva L. Couch

slide-7
SLIDE 7

university-logo Resource management using autonomic operators Model and Simulations Results

Exploring Resource Management Agents

In 2009, prof. Alva Couch (Tufts University) proposed a theoretical model of autonomic resource management. The model does not require complete information of system behaviour, and still it is able to perform at near

  • ptimal levels.

A high level of reactivity seems to compensate for lack of detailed knowledge. This paper: can the agents be composed without chaotic interactions?

Siri Fagernes and Alva L. Couch

slide-8
SLIDE 8

university-logo Resource management using autonomic operators Model and Simulations Results

The Resource Management Model

A system delivers a service with response time (performance) P Use of resources R with a cost C The service has a perceived value V System goal: balance cost and value

Siri Fagernes and Alva L. Couch

slide-9
SLIDE 9

university-logo Resource management using autonomic operators Model and Simulations Results

Basic Model

One control loop affects the resource domain Influenced by unknown parameters that are built into the model

Load L External influences X – "unknowable"

Siri Fagernes and Alva L. Couch

slide-10
SLIDE 10

university-logo Resource management using autonomic operators Model and Simulations Results

Basic Model - Dynamics

The component in charge of controlling the resource usage receive feedback of the perceived value of the delivered service. Value feedback is used by the component to estimate whether it is beneficial to reduce or increase the resource usage.

Siri Fagernes and Alva L. Couch

slide-11
SLIDE 11

university-logo Resource management using autonomic operators Model and Simulations Results

Basic Model - Variables

Performance P(R, L) = L

R

Cost C(R) = R Value V(P) = 200-P

Siri Fagernes and Alva L. Couch

slide-12
SLIDE 12

university-logo Resource management using autonomic operators Model and Simulations Results

Results: measured net value

100 200 300 400 500 600 −100 −50 50 100 Time Net value

Green=optimum, black=actual

Siri Fagernes and Alva L. Couch

slide-13
SLIDE 13

university-logo Resource management using autonomic operators Model and Simulations Results

The Composition Problem

How can we use several different control loops, That operate upon and influence the same system, At the same time?

Siri Fagernes and Alva L. Couch

slide-14
SLIDE 14

university-logo Resource management using autonomic operators Model and Simulations Results

Model and Simulations

Siri Fagernes and Alva L. Couch

slide-15
SLIDE 15

university-logo Resource management using autonomic operators Model and Simulations Results

We Extended the Original Model

System performance depend on two resource variables R1 and R2: P = L R1 + L R2

Siri Fagernes and Alva L. Couch

slide-16
SLIDE 16

university-logo Resource management using autonomic operators Model and Simulations Results

Scenario: Front-end + Back-end

Client Front end Back end P1+P2 P2 Client Front end Back end Time P2 P1+P2

The total system response time depends on two processes. Transmission time is ignored.

Siri Fagernes and Alva L. Couch

slide-17
SLIDE 17

university-logo Resource management using autonomic operators Model and Simulations Results

Our Goal

the variables should be updated without centralised coordination or (complete) coordinated knowledge

Siri Fagernes and Alva L. Couch

slide-18
SLIDE 18

university-logo Resource management using autonomic operators Model and Simulations Results

Performance and Value

Value function (for the overall system): V = 200 − P = 200 − L R1 − L R2

Siri Fagernes and Alva L. Couch

slide-19
SLIDE 19

university-logo Resource management using autonomic operators Model and Simulations Results

Choice of Algorithm

How should the variables R1 and R2 be updated? concurrently? taking turns?

Siri Fagernes and Alva L. Couch

slide-20
SLIDE 20

university-logo Resource management using autonomic operators Model and Simulations Results

Results

Siri Fagernes and Alva L. Couch

slide-21
SLIDE 21

university-logo Resource management using autonomic operators Model and Simulations Results

Concurrency Leads to False Optima

200 220 240 260 280 300 30 40 50 60 70

Concurrent updates

Time Resource usage 200 220 240 260 280 300 10 20 30 40 50 60

Concurrent updates

Time Net value

Initial resource values: R1 = R2 = 50.

Siri Fagernes and Alva L. Couch

slide-22
SLIDE 22

university-logo Resource management using autonomic operators Model and Simulations Results

Concurrency Leads to False Optima (II)

200 220 240 260 280 300 30 40 50 60 70 80 90 100

Concurrent updates

Time Resource usage 200 220 240 260 280 300 10 20 30 40 50 60

Concurrent updates

Time Net value

Initial resource values: R1 = 1, R2 = 50.

Siri Fagernes and Alva L. Couch

slide-23
SLIDE 23

university-logo Resource management using autonomic operators Model and Simulations Results

’False Optimum’-Explanation

Each of the variables get updated based on feedback of the global system’s overall performance P. P depends on both R1 and R2. An estimate from R1 would not incorporate the cost of R2. Consequence: their individual estimate of the optimum is wrong.

Siri Fagernes and Alva L. Couch

slide-24
SLIDE 24

university-logo Resource management using autonomic operators Model and Simulations Results

Estimating the ’False Optimum’

Each operator receives feedback of value V = 200 −

L R1 − L R2.

Their individual estimate of total cost is C(R1) (or C(R2)) In the special case where R1=R2=R, this could be represented by the following system (as seen from one of them):

V(R) = 200 − 2L

R

C(R) = R

which means that the net value function is 200 − 2L

R − R,

which has the optimal value R =

  • (2L).

Siri Fagernes and Alva L. Couch

slide-25
SLIDE 25

university-logo Resource management using autonomic operators Model and Simulations Results

Alternating Between Processes Lead to True Optima and Thrashing

200 220 240 260 280 300 20 30 40 50 60

Concurrent

Time Resource 200 220 240 260 280 300 20 30 40 50 60

Alt(1 cycle)

Time Resource

Initial resource values: R1 = R2 = 50.

Siri Fagernes and Alva L. Couch

slide-26
SLIDE 26

university-logo Resource management using autonomic operators Model and Simulations Results

Alternating Between Processes Lead to True Optima and Thrashing (II)

200 220 240 260 280 300 20 25 30 35 40 45 50

Concurrent

Time Net value 200 220 240 260 280 300 20 25 30 35 40 45 50

Alt(1 cycle)

Time Net value

Initial resource values: R1 = R2 = 50.

Siri Fagernes and Alva L. Couch

slide-27
SLIDE 27

university-logo Resource management using autonomic operators Model and Simulations Results

The Best-Case Situation

200 220 240 260 280 300 25 30 35 40 45

Alt(1 cycle)

Time Net value 200 220 240 260 280 300 25 30 35 40 45

Alt(10 cycles)

Time Net value 200 220 240 260 280 300 25 30 35 40 45

Alt(25 cycles)

Time Net value 200 220 240 260 280 300 25 30 35 40 45

Alt(50 cycles)

Time Net value

Siri Fagernes and Alva L. Couch

slide-28
SLIDE 28

university-logo Resource management using autonomic operators Model and Simulations Results

The Best-Case Situation (II)

200 220 240 260 280 300 25 30 35 40 45

win=3

Time Net value 200 220 240 260 280 300 25 30 35 40 45

win=6

Time Net value 200 220 240 260 280 300 25 30 35 40 45

win=12

Time Net value

Initial resource values: R1 = R2 = 50. Alternating for 10 cycles.

Siri Fagernes and Alva L. Couch

slide-29
SLIDE 29

university-logo Resource management using autonomic operators Model and Simulations Results

Varying (Sinusoidal) Load

100 200 300 400 −40 −20 20 40 60

Concurrent

Time Net value 100 200 300 400 −40 −20 20 40 60

Alt(1 cycle)

Time Net value 100 200 300 400 −40 −20 20 40 60

Alt(10 cycles)

Time Net value

Achieved net system value, sinusoidal load.

Siri Fagernes and Alva L. Couch

slide-30
SLIDE 30

university-logo Resource management using autonomic operators Model and Simulations Results

Observations

When resource variables are updated concurrently: If there is a significant difference in their initial values, the lowest value ends up dominating, while the highest value never converges to the optimal value. When both initial values are equal, both variables converge to the false optimum (which would be the optimal value if

  • nly one variable and the same system outcome as

reported).

Siri Fagernes and Alva L. Couch

slide-31
SLIDE 31

university-logo Resource management using autonomic operators Model and Simulations Results

Observations

When resource variables are updated only one at a time: For all scenarios listed on the previous slide, both variables seem to converge to values in an interval between the

  • ptimum and the false optimum.

Not affected by differences in initial values (important!)

Siri Fagernes and Alva L. Couch

slide-32
SLIDE 32

university-logo Resource management using autonomic operators Model and Simulations Results

Summary

We have developed a model based on autonomic resource management agents. The current model requires very little exchange of information among the agents, and is still able to perform well when certain constraints are fulfilled.

Siri Fagernes and Alva L. Couch

slide-33
SLIDE 33

university-logo Resource management using autonomic operators Model and Simulations Results

Conclusions

Concurrent updates of the variables leads to false optima. Alternating updates (with small increments) makes the variables oscillate around the actual optimum levels. Oscillations can be reduced by tuning certain parameters (small resource increments and short measurement windows). Updating the resource variables at different times (and hence makes them able to ’observe’ each others’ influence

  • n the system) is important for robustness of the model.

Siri Fagernes and Alva L. Couch

slide-34
SLIDE 34

university-logo Resource management using autonomic operators Model and Simulations Results

Contact Information

Siri Fagernes (siri.fagernes@iu.hio.no) Alva Couch (couch@cs.tufts.edu)

Siri Fagernes and Alva L. Couch