next up previous
Next: VI Conclusions Up: Dynamically Adaptable Mobile Agents Previous: IV-B Mobile Agent for

V Qualitative Evaluation of Dynamic Adaptation

  Dynamic adaptation promises a reduction of footprint and network bandwidth used by mobile agents. We have therefore compared the dynamic adaptable configuration management agent and the implementation classes for the different environments against a monolithic (conventional) agent with the same overall functionality by making measurements. The monolithic agent transports its entire code for all environments and picks different paths of execution by switching through if-then-else cascades; it represents our reference point.

The gain of bandwidth depends obviously on the size of the implementation classes and the number of environments. As a rule of thumb it can be seen that if only small implementation classes for few environments are used, the adaptive version is less efficient than a conventional version. The efficency of adaptation increases with the size of implementation classes and the number of environments. A more quantitatively-oriented analysis of observed bandwith gains can be found in [Bra01].

The cost for gained bandwidth occurs as runtime overhead, which consists of two parts: for context awareness expression and for loading the implementation classes. To measure this runtime overhead the runtime of the different methods of the monolithic agent have been compared with the runtime of the adaptable agent.


 
Table 1: Comparison between conventional version and dynamic adaptation  
  conventional dynamic
scenario case adaptation
long running methods + ++
big implementation classes - +
many different environments - ++

As expected, the runtime overhead for adaptation and loading implementation classes becomes negligible if the environment-dependent method has a long running time on a host, or if the agent uses the dynamically loaded method more than once. Table 1 gives an overview in which cases adaptation may be a better choice than the conventional conventional version in a monolithic agent.


next up previous
Next: VI Conclusions Up: Dynamically Adaptable Mobile Agents Previous: IV-B Mobile Agent for
Copyright Munich Network Management Team