摘要 |
A core resource allocation method and apparatus, and a many-core system for allocating core resources of the many-core system are disclosed. In the method, after acquiring a quantity of idle cores needed for a user process, an execution core of the many-core system determine at least two scattered core partitions meeting the quantity, where each core partition is a set of one or multiple cores, and all cores in each core partition are idle cores. Then, the execution core combines the at least two scattered core partitions to form one continuous core partition, and allocates the formed continuous core partition to the user process. In this way, process interaction can be directly performed between different cores in a continuous core partition allocated to a user process, thereby improving efficiency of communication between processes. Furthermore, a waste of core resources can be effectively avoided. |