Information Technology Reference
In-Depth Information
Fig. 2.14 The distribution
update task class and
messages
The component in the architecture enables the implementation of any real-time
loop model and heuristic presented with the adaptation for distribution of tasks
between cores of the same processor.
2.3.3 The Distribution Task
The purpose of this class is to define which computer will run the task. The class
may change the task's computer during the application execution, which charac-
terizes a dynamic distribution.
One of the major features of this new architecture is to allow dynamic task
allocation between the computers. In order to do that it uses the Distribution Task
class. This task can be configured in order to be executed in two modes: in the
automatic distribution between computer with the information of the network and
hardware detected by the Network Check and Hardware Check class, and in a
manual mode.
The Distribution Task acts like a server and distribute the tasks between the
clients. The role of the automatic update task is to execute a configuration script to
determinate the execution mode of it. With that it executes the Network Check, in
order to check the network between the computers, and the Hardware Check to
know the configuration of each computer. The Distribution task determines which
client will execute the next task and will send the task to the chosen client,
allowing it to execute. Also, every time the clients finish a task they send the result
to the server to let it know it has finished. Figure 2.14 illustrates this process.
Search WWH ::




Custom Search