Patent ID: 9626295
Date: 2017-04-18
CPC Classifications: G06F

Claim:
1. A method for scheduling tasks in a heterogeneous processor cluster architecture in a portable computing device, the method comprising: running a task on a first processor in a first processor cluster in a heterogeneous processor cluster architecture comprising the first processor cluster having a first shared cache and a second processor cluster having a second shared cache, one of the first processor cluster and second processor cluster having higher performance and a larger shared cache than the other of the first processor cluster and second processor cluster; while the task is running on the first processor in the first processor cluster, monitoring a processor workload for the first processor and a cache demand for the task, the cache demand associated with the first shared cache; calculating a weighted sum of the processor workload and the cache demand; comparing the weighted sum with a threshold; determining, based on a result of comparing the weighted sum with the threshold, whether to perform a task migration; and migrating the task to the second processor cluster in response to a determination to perform a task migration.