|
|
【答案】应助回帖
★ 爱与雨下(金币+1): 2011-10-29 11:05:44 hzhstar(金币+50, 翻译EPI+1): 谢谢! 2011-10-29 19:52:42
The dynamic balanced burden model adopted is based on tasks pool. The realization process can be described as that, after users submit tasks, controller lists it in tasks list. When main program is running, it will load task in from list and divide it into several task parts which could process at the same time and then adds them to tasks pool. Main process creates a thread for each node where main process calculates via using distance nodes. The node applied new task from controller after completing a task part, until all the task parts are done.
Dynamic task distribution can efficiently utilize calculation ability of nodes in network, which not only makes the average task-completed time least, but also realizes balanced burden in entire network calculation system better. Dynamic balanced burden strategy based on tasks pool is practical, compared to parallel calculation model only with communication with main process and without message transferring with other processes. |
|