An IMA Static Load Balancing Strategy Optimization Method Based on Graph Theory

Aiming at the problem of reconfiguration strategy of integrated avionics system, a method of static load balancing strategy optimization based on graph theory is proposed after satisfying system performance and reliability requirements. This method establishes the IMA static load balancing strategy analysis model based on graph theory and puts forward the load balance evaluation indexes of IMA system:The maximum load value of the system partition obtained by allocating the maximum load value of the processor according to the time slice length;the longest communication link for the transmission of information between tasks;and the maximum traffic volume on the communication line. With the three evaluation indexes synthesizing, the unitary evaluation index of the IMA system load balancing strategy is put forward. On the basis of this method, the future research direction of load balancing of IMA system is prospected.


Introduction
The IMA system reconfigures the operating system and application software through refactoring.Most of the existing IMA software refactoring analytical methods are merely generating simply configuration files through a model containing configuration information and directly analyzing the schedulability and resource constraints, while lacking of an overall assessment method to IMA system availability.With reference to the analysis of load balancing in distributed system, this paper proposes an optimization method of IMA system reconfiguration strategy based on load balancing.This method establishes the IMA static load balancing strategy analysis model based on graph theory and puts forward the load balance evaluation indexes of IMA system.

Methodology
In IMA system, the tasks on module and partition are fixed after system reconstruction determined.Only static load balancing analysis can be performed.In this paper, we focus on the reconstruction strategy optimization of IMA system and carry out load balancing analysis on the basis of the reconfiguration scheme state space generated by exhaustive method.Therefore, it is not necessary to

An IMA Static Load Balancing Strategy Optimization Method Based on Graph Theory
Qing Zhou 1,a , Zhijuan Zhan* ,1,b , Siyuan Zhou 2,c and Shihai Wang zhou_qing@careri.com,b zzjaldm@aliyun.com,c zhousiyuan@buaa.edu.cn,d wangshihai@buaa.edu.cnfind the solution of the load balancing distribution.Only according to the load balance evaluation indexes which conform to the IMA system characteristics, the load balance indexes in different reconstruction schemes are calculated and the different reconstruction schemes are compared.Based on the classic analysis method of load balance in distributed system, this paper builds up the static load balance analysis graph model of IMA system and puts forward a comprehensive evaluation index.

2.1
The IMA static load balancing strategy analysis model based on graph theory.
IMA system is divided into multiple modules; each module is divided into multiple partitions.Each partition obtains the module processor computing resource by way of time-slice rotation, and performs processing on the task.The communication efficiency of different partitions in the same module and different partitions in different modules is different, and the communication cost in the same partition is negligible.Communication efficiency within the same module and between the disparate modules is different; and the communication cost within the same partition is negligible.
Use a planar point set Assuming that within the same module, the message transfer capabilities between partitions are same and have nothing to do with the direction.Without regard to the directionality and weight of edges, the module r can be represented by the weighted graph  2).The number of partitions in the IMA system is: The tasks in the IMA system are represented by the weighting graph ( , , , ) represents the process of tasks, Edge When describing a parallel application with the weighted graph, its topology can be represented by the adjacency matrix ( ) .Where, The vertex capacity of G represents the computational load of the data processing of the node, expressed by the column vector C: On the basis of the above description of the IMA system module and the partition and task process, the load balancing problem can be regarded as a graph embedding problem.The task of load balancing is to find a mapping : G S   , which makes some of the evaluation indicators meet optimized.In this paper, we do not need to seek out the optimal mapping, just calculate the load balance of different reconstruction schemes and compare them.After the system reconfiguration, the tasks in modules and partitions in IMA system are fixed.That is, in the analysis of IMA system, graph G is static; and graph S corresponds to the system structure is considered as unchanged.

The load balance evaluation indexes of IMA system.
As mentioned above, the goal of the load-balancing problem is to find an optimal mapping from graph ( , , , ) . Suppose that mapping is : In order to evaluate the mapping : , three basic indexes of IMA static load balance evaluation are proposed, which are: Maximum load value on a single partition: The computational cost of each node in the graph r M is represented by a column vector: , , , The maximum load on a single partition is: The longest communication link required for information transfer between tasks: Suppose an edge in the graph G is mapping by π.There will be , , , , and In the graph i M , the links passes 1 2 ( ) , , , , , and Use e w represents the pass of 11 p to ij p , where Suppose the length of ( , 1,2, ) ij i j f   is x;the length of ( 1,2, ) i i h   is y; the number of nodes in the i M is i j .The total length is: The longest communication link the graph G edge passed is: Maximum communication line traffic: In order to achieve a better balance of traffic on the communication network, it is necessary to calculate the maximum traffic on the communication line between the partitions Within the same module, the maximum communication traffic on the communication line l f is: The maximum communication traffic within the module is: Between different modules, the maximum communication traffic on the communication line is: ) The maximum traffic between modules is: The maximum communication traffic of the system is For the above three basic evaluation indicators, the lower the value, the better the system load balance distribution.Calculate the weighted sum of these three indicators to obtain the IMA system load balancing strategy comprehensive evaluation index: Where xyz respectively represents the weight value of the three evaluation indexes.When ( ) min( )    , the optimal scheme of load balancing assignment in IMA reconfiguration strategy is obtained.

Conclusions
Based on load balancing problem of distributed system, a static load balancing analysis method based on graph theory is proposed in this paper to solve the problem of IMA system reconfiguration strategy optimization.In this method, a graphical model of one-dimensional Task application graph mapping to two-dimensional hardware architecture graph is established.And load balance evaluation indexes for IMA system are proposed.Through the simple screening of possible exhaustive reconfiguration scheme in IMA system reconfiguration strategy, it avoids the NP-complete problem of load balance solution, and obtains an effective IMA system reconfiguration strategy load balance optimization method.
In the future, aiming at the characteristics of IMA system reconfiguration by changing the system architecture to keep the software task flow unchanged, we will discuss its possible dynamic load balancing analysis method.And then, By adding important attributes of IMA systems such as security and reliability to that analytical method, a rapid and efficient IMA system reconstruction method without screening process can be construct.
the communication line between the nodes.Node weight : r R P   represents the module processor time slice length that the partition occupies.
line between modules.Node weight : M R   represents the maximum load that the module can sustain.Assuming the message transfer capabilities between modules are same and have nothing to do with the direction.Without regard to the directionality and weight of edges, the IMA system can be represented by the weighted graph ( data communication between tasks.The node weight :V R   represents the computational resources required by the task process.The edge weight : E R   represents the traffic between tasks. the graph G and the graph r M must be defined.This relation is defined by the matrix ( ) The node j in G is assigned to the node i in r M ; When 0 ijr b  ,The node j in G is not assigned to the node i in r M .