Compiler Scheduling of Mobile Agents for Minimizing Overheads
نویسندگان
چکیده
Mobile code carried by a mobile agent can automatically travel to several data sources in order to complete a designated program. Traditionally, most mobile agent systems [7][8][13] need explicit involvement of the programmer to designate migration and computation schedule of the agent. In this paper, we study the compilersupported agent scheduling to optimize either the number of the migrations or the amount of data transfer. Two approaches are proposed and evaluated in our experiments, i.e. the static and dynamic scheduling algorithms. The first algorithm works totally offline. After converting the program control flow graph (CFG) to program dependency graph (PDG), the schedule is worked out. On the other hand, in order to dynamically schedule the agent when it reaches predicate (control flow) nodes, our dynamic scheduling algorithm generates the motion schedule incrementally. Finally, our results show good improvement over unoptimized agent code both in terms of data transfer sizes and number of agent migrations.
منابع مشابه
The Implementation of the Cilk Multithreaded Language
The fth release of the multithreaded language Cilk uses a provably good work stealing scheduling algorithm similar to the rst system but the language has been completely re designed and the runtime system completely reengineered The e ciency of the new implementation was aided by a clear strategy that arose from a theoretical analysis of the scheduling algorithm concentrate on minimizing overhe...
متن کاملA multi-objective memetic algorithm for risk minimizing vehicle routing problem and scheduling problem
In this paper, a new approach to risk minimizing vehicle routing and scheduling problem is presented. Forwarding agents or companies have two main concerns for the collection of high-risk commodities like cash or valuable commodities between the central depot and the customers: one; because of the high value of the commodities transported, the risk of ambush and robbery are very high. Two; the ...
متن کاملFeature Selection for Instruction Placement in an EDGE Architecture
Communication overheads are one of the most important barriers to efficient parallel execution. In an Explicit Dataflow Graph Execution (EDGE) architecture, communication overheads are particularly important, as communication occurs at an instruction-level granularity. These communication overheads are exposed through the ISA, however, so the compiler can attempt to place instructions in a way ...
متن کاملOn the Dynamic Allocation of Mobile Agents by On-Line Task Scheduling
This paper presents a new approach to the dynamic allocation of mobile agents by on-line task scheduling for high performance in Internet computing. In contrast to the existing approaches, which apply predefined task scheduling schemes to allocate computing resources, we introduce a new on-line competitive algorithm to achieve flexibility. A guided allocation scheme based on the system competit...
متن کاملRouting and Production Scheduling for a Mobile Factory
In last decades, mobile factories have been used due to their high production capability, carrying their equipment and covering rough and uneven routes. Nowadays, more companies use mobile factories with the aim of reducing the transportation and manufacturing costs. The mobile factory must travel between the suppliers, visit all of them in each time period and return to the initial location of...
متن کامل