Presentation is loading. Please wait.

Presentation is loading. Please wait.

Combining State and Model-based approaches for Mobile Agent Load Balancing Georgousopoulos Christos Omer F. Rana

Similar presentations


Presentation on theme: "Combining State and Model-based approaches for Mobile Agent Load Balancing Georgousopoulos Christos Omer F. Rana"— Presentation transcript:

1 Combining State and Model-based approaches for Mobile Agent Load Balancing Georgousopoulos Christos Omer F. Rana http://www.cs.cf.ac.uk/Digital-Library/

2 Load balancing overview Load balance mobilestatic state model Market mechanism Specialized agents gather System state information Aim: improve the average utilization and performance of tasks on available servers Kinds of Load Balance (LB): Keren & Barak: mobile LB has a 30-40% improvement over the static placement scheme only a price sophistiated auction protocols a pricing mechanism without any negotiation roam through the network bid for resources

3 Our approach on LB  Provide a LB mechanism to evenly distribute agent tasks among the available servers (i.e. equitably server the agents, there are no priorities between agents based on the time needed for their task to be accomplished)  We propose a LB mechanism based on a combination of the model-based and state-based approaches (i.e. decisions on LB are based upon a model which adapts due to the information gathered from the state-based approach)  We demonstrate this approach for a MAS operating on an active digital library composed of multi-spectral images of the Earth as part of the Synthetic Aperture Radar Atlas (SARA)

4 The SARA LB mechanism  State-based approach  Model-based approach (4/4) Communication between management agents (1/4) The management agents in the SARA architecture (3/4) Information maintained by management agents (2/4) Distribution of information among the management agents (1/1) LB decision model

5 The SARA architecture

6 (1/4) The management agents in the SARA architecture Info. server  LMA (Local Management Agent) web server  UMA (Universal Management Agent) i) optimize mobile agents’ itinerary ii) avoid unnecessary migrations iii) identification & comparison of agent task i) inform mobile agents for updates  A management agent exists for every server  Their common objective: optimize system performance  Why multiple management agents ? i) no central point of failure ii) over a centralized scheme: as the number of agents increase, the network load is increased (state-based approach)  LB decisions are supported through the management agents

7  Minimization of information transmitted over the network  Minimization of the mobile agent’s size  System optimization Advantages of having management agents control over LB decisions (i.e. only 2 messages are exchanged between a mobile agent and a management agent: the agent’s requirements & the agent’s itinerary ) (i.e. the decision support algorithm is within the management agents. Alternatively mobile agents would have to carry it during their migration) Information used for LB decisions may also be reused for: i) undertaking similarity analysis between agent requests i.e. tasks ii) cache techniques are possible to be applied iii) lay the foundations for an efficient monitoring system

8 (2/4) Distribution of information among the management agents  distributed scheme :information is distributed among the servers  centralized scheme :a global database is used to hold all information for each server ii) map of the surrounding area i) global network map iii) neighbor map - agent interactions - information: - in a case of a failure stored in one location network overload increases - impose agents to have a kind of intelligence - each server has all the information: replication (for integrity) no central point of failure network overload decreases (provides all information for each server) (provides information for the local server but information is reduced more and more for servers which are not in the local region) (provides information for the local server and its neighbor servers only) (state-based approach)

9 (3/4) Information maintained by management agents (state-based approach) LMA’s information acquired by Local: resources: software: status of voyager server, available analysis algorithms hardware: database server: status, processing power compute server: status, processing power, average data filtered per sec., maximum data filtered per sec. local LAA number of agent: active, persistent general (concerning database server): average completion task time, average server’s utilisation LMA itself Remote: servers’ resources:… LMAs servers’ bandwidths: server x with server ysender agent UMA’s information acquired by Local agent’s info: agent id: general: request, time of request local UAA (upon URA’s creation) time of request accomplished, status of the task location of results: server’s IP, physical location path, file-space acquired resources used: software: analysis algorithm (AA) used, size of custom AA hardware: database/file archives used, engagement time (from-to), server’s utilization (before-after), compute server used, engagement time (from-to) local UAA (before URA’s death) Remote agents’ info: server x,y: agent id, request, status of the task UMAs LMAs’ info: server x, y: …LMAs SARA LB uses the global network map for decentralized information distribution with a slight variation …

10 (4/4) Communication between management agents (state-based approach) Management agents’ interaction EventInteraction (sender – recipient) Information exchangeType of mes. on the initialization of the systemLMA-LMAs/UMAscontents in row 1,2 of table 1multicast upon URA’s creationUAA-local UMAcontents in row 1 of table 2direct UMA-UMAsinformation in bold of table 2multicast before URA’s deathUAA-local UMAcontents in row 2 of table 2direct UMA-UMAsinformation in bold, in row 2 of table 2multicast URA’s migration failureURA-local LMA/UMA Voyager server is down (row 1, table 1)direct LMA/UMA- LMAs/UMAs multicast database connection failureLRA-local LMAdatabase is unavailable (row 1, table 1)direct LMA-LMAs/UMAsmulticast sever will be unavailable until a specified time LMA-LMAs/UMAsthe time the server will become available (row 1, table 1) multicast need for further information about an agent’s task UMA-UMAselected information of row 1,2 of table 2 based on the recipient UMA needs direct change on information-server’s (LMA’s) status/resources LAA-local LMAcontents in row 1 of table 1direct LMA-LMAs/UMAscontents in row 1,2 of table 1multicast change on UMA’s information (concerning URA personal details) UMA-UMAscontents in row 3 of table 2multicast

11 LB decision model (model-based approach) i) agents’ tasks ii) servers’ utilization (performance load) iii) availability of resources iv) network efficiency  LB decisions are based on a model which accepts as: input: an agent’s requirements & System state information output: the appropriate server where an agent should migrate to  The model is a function of:

12 LB decision model (model-based approach) The model may be better expressed with reference to the agents’ task…

13 LB decision model (model-based approach) case 3: Agent’s task  Similar (cashed)  Exactly the same  Need filtering  Custom filter case 5: Agent’s task  Not similar (not chased)  Do not need filtering where: T av = the average time an agent needs to complete a task (regarding all servers) U av = the average utilization of all servers U s = the utilization of a server S a.code = the file-size of an agent’s code. B 2 = the bandwidth between 2 information servers Τ s = time needed for a server to became available utilization of a server where: a = the number of agents on that server μ = the average task time of the agents L = the processing power of the server examples of different agents’ tasks… +Ts+Ts

14 Parametersserver 1server 2server 3server 4server 5server 6server 7server 8server 9server 10 Agents (α) =14221891326725 12 Av.Task.T (μ) =17272522271631121113 Proc.Power (L) =1322 910271326258 Utiliz.Server (Us) =18.32720.452235.115.416.611.51119.5 AgentCode (Sa.code)=7148 Bandwidth Sx-Sy (B2)=2412210423552005250017042006220519882055 Av.Util.allServ (Uav) =19.6 Av.Task (Tav) =20.1 x =21.7331.0924.0126.1338.8519.9920.5915.0414.8823.48 LB decision model (model-based approach) Agent’s task  Not similar (not chased)  Do not need filtering Mathematica simulation of Case 5 ( L= x*100000 ops ) ( Sa = Kbytes/sec ) ( B2 = Kbytes/sec )

15 Advantages of the proposed LB technique  LB decisions are supported by the management agents  Distribution of information between the management agents  More accurate LB decisions (the variation of the global network map decentralized information distribution implies reduction of information replication) (LB model uses the state-based information)

16 Conclusion – Future work were specialized stationary agents are used to gather system state information and make decisions on the distribution of mobile agents among the servers, based on a model of probabilistic estimations in relation with the information provided by the stationary agents  we demonstrated a combination of the state and model-based approaches for mobile agent load balancing  implement the proposed LB technique…  … to optimize the intelligence of the management agents

17 The End The End


Download ppt "Combining State and Model-based approaches for Mobile Agent Load Balancing Georgousopoulos Christos Omer F. Rana"

Similar presentations


Ads by Google