Task scheduling method and task scheduling device

2016 
The invention discloses a task scheduling method and a task scheduling device, wherein the method comprises the following steps of obtaining request information of TaskTrackers, wherein the request information is task requesting information sent when the TaskTrackers have an idle work groove; calculating the resource consumption features and the rest task proportion of each task queue, wherein the resource construction feature of any one task queue is obtained through calculation according to the CPU (Central Processing Unit) occupation rate, the memory occupation rate and the bandwidth occupation rate of operating tasks in the task queue, and the rest task proportion of any one task queue is the ratio value of non-operating tasks to all of the tasks in the task queue; selecting the task array achieving the effect that the product of the resource consumption feature and the rest task proportion in the task queue is not smaller than that of other task queues as a target task queue; and processing the non-operating tasks in the target task queue by using the idle work groove. Therefore the non-operating tasks in the task queue in urgent need of being processed are preferably processed, and the task execution efficiency is greatly improved.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []