摘要 |
PROBLEM TO BE SOLVED: To balance between parallelism and use efficiency of a cache such that as many as possible tasks are executed in a range wherein the use efficiency of a cache memory is not reduced. SOLUTION: A multi-core system includes: a plurality of microprocessors 1; the cache memory 2 and a main memory 3 shared by them; and a refill counter 5 counting a frequency of refills performed between them. In this task scheduling method in the multi-core system, when scheduling for selecting a task set in an execution state by allocating a microprocessor 1 from tasks in an executable state, it is decided whether the task in a young generation having the frequency of the refill performed until a time point of the scheduling after transferring from the execution state to a standby state by releasing the microprocessor 1 is less than a prescribed frequency is present, and, when the task in the young generation is present, one of the tasks is selected and is allocated with the microprocessor 1. COPYRIGHT: (C)2011,JPO&INPIT
|