Patent ID: 8607083

Claim:
A computer-implemented method, comprising: detecting a media application operative to execute on a plurality of processor cores of a multi-core processor, the media application comprising an application including a plurality of periodic interrupts, the plurality of periodic interrupts comprising media interrupts utilized by the media application to synchronize corresponding audio and video data streams of a media file; selecting a subset of one or more processor cores of the multi-core processor on a dynamic basis, the selecting comprising: affinitizing the media application to execute on each of the plurality of processor cores, the affinitizing comprising providing the plurality of periodic interrupts to each of the plurality of processor cores; measuring a performance or power state residency for the multi-core processor; comparing the performance or power state residency to a threshold; de-affinitizing the media application to execute on at least one less processor core, the de-affinitizing comprising providing the plurality of periodic interrupts to at least one less processor core, thereby reducing the power consumption of the multi-core processor if the performance or power state residency does not exceed the threshold; and repeating the selecting steps until the performance or power state residency does not exceed the threshold.