Workload Balancing on Trees, Grids, Hypercubes and Cliques
نویسندگان
چکیده
We introduce a simple communication scheme for doing complete workload balancing (WLB) on diierent kind of networks with n processors. Considering cliques we show that 1-WLB can be decided in time O(n log n) whereas 2-WLB is NP-complete. Another presented result shows that the WLB-problem can only be solved in log n steps on networks with degree d log n. Therefore we present optimal algorithms for doing WLB on trees and grids using a diierent communication strategy. The tree algorithm performs WLB by moving a minimal amount of workload. A simple and fast algorithm working on hypercubes is derived. 1 Notions and deenitions Let N = (V; E) be a processor network consisting of a set of processors (nodes) V = fp 0 ; : : :; p n?1 g and a set of communication edges E = ffa; bg j a; b 2 V; a 6 = bg. All processors have only got a local memory and work simultaneously at the same program. The processors run asynchronously, but 2 processors synchronize if they communicate with each other. This means that the sender will wait for the receiver and vice versa until communication takes place. This principle is known as synchronized message passing and was introduced by Hoare 3] in 1978. We consider a function : f0; : : :; n ? 1g ! IR 0 , where (k) denotes the workload of a processor p k 2 V at a xed moment in time. Let opt := P n?1 i=0 (i)=n the optimal workload of a processor and ij := (i)?(j) 2 , where i; j 2 f0; : : :; n ? 1g. The problem to generate the situation (i) = opt for all p i 2 V by moving workload across the network is called the complete workload balancing-problem (WLB-problem). We assume that any division of workload is possible so that the WLB-problem is always solvable. Potentially (k) is an estimation for the time required to solve problems placed on p k. In this case moving workload means to move unsolved problems. In every communication step each processor is only allowed to communicate with at least one other processor, either sending or receiving. In a communication between a pair of processors (p i ; p j) either ij 0 workload is moved from p i to p j or ? ij > 0 workload is moved from …
منابع مشابه
Counting stable sets on Cartesian products of graphs
We study the generating functions for the number of stable sets of all cardinali-ties, in the case of graphs which are Cartesian products by paths, cycles, or trees. Explicit results are given for products by cliques. Algorithms based on matrix products are derived for grids, cylinders, toruses and hypercubes.
متن کاملLoad Balancing in Partner-Based Scheduling Algorithm for Grid Workflow
Automated advance reservation has the potential to ensure a good scheduling solution in computational Grids. To improve global throughput of Grid system and enhance resource utilization, workload has to be distributed among the resources of the Grid evenly. This paper discusses the problem of load distribution and resource utilization in heterogeneous Grids in advance reservation environment. W...
متن کاملOn Embedding Binary Trees into Hypercubes
Hypercubes are known to be able to simulate other structures such as grids and binary trees. It has been shown that an arbitrary binary tree can be embedded into a hypercube with constant expansion and constant dilation. This paper presents a simple linear-time heuristic which embeds an arbitrary binary tree into a hypercube with expansion 1 and average dilation no more than 2. We also give som...
متن کاملOptimal Load Balancing in Publish/Subscribe Broker Networks
Load balancing in publish/subscribe (pub/sub) broker networks is challenging as the workload is multi-dimensional and content-dependent. In this paper we present the framework design of a middleware , called Shuffle, to achieve optimal load balancing in a pub/sub broker network. Shuffle features a suite of active workload management schemes within a single overlay topology on message parsing, m...
متن کاملA Load Balancing Policy for Heterogeneous Computational Grids
Computational grids have the potential computing power for solving large-scale scientific computing applications. To improve the global throughput of these applications, workload has to be evenly distributed among the available computational resources in the grid environment. This paper addresses the problem of scheduling and load balancing in heterogeneous computational grids. We proposed a tw...
متن کامل