Controlling processor clock rate based on thread priority

Electrical computers and digital processing systems: support – Computer power control – Power conservation

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C713S501000

Reexamination Certificate

active

06622253

ABSTRACT:

FIELD OF THE INVENTION
The present invention generally relates to processor control, and more specifically, to control of processor clock rate.
BACKGROUND OF THE INVENTION
Many systems which utilize a microprocessor have two competing requirements: power consumption and processing power. The power requirements of a CMOS microprocessor are based on the frequency at which the digital circuits are switching. The current requirement is an approximately
I
Total
=(
n
g
×I
q
)+(ƒ×
n
int
×I
int
)+(ƒ×
n
ext
×I
ext
)
linear function, summarized by
where I
q
is the quiescent current of each gate, n
g
is the total number of gates, ƒ is the frequency, n
int
is the average number of internal gates which are switching, I
int
is the current required to switch an internal gate, n
ext
is the average number of external pads which are switching and I
ext
is the current required to switch an external pad.
Typically, I
q
tends to be very small in relation to I
int
and I
ext
. Therefore, by adjusting the frequency of switching f, the amount of current required by the circuit can be controlled. Since power is equal to current multiplied by voltage, and voltage is a fixed value, the power will be modified accordingly.
A system designer attempting to reduce the processor's power requirement by using a lower processor clock rate typically runs into a problem: a processor with a lower clock rate does not have enough MIPs (million instructions per second) to meet the system's processing requirements. Because each instruction takes a specific number of clock cycles to execute, reducing the clock rate increases the time it takes to execute the same number of instructions. Below a minimum clock rate threshold, the system does not have enough time to carry out its required tasks, for example, updating graphics on a screen or buffering incoming data. A second problem with using a reduced clock rate is the increased time required for the processor to handle an interrupt from an I/O device. On some devices, interrupts must be handled quickly, so that reducing the clock rate fails this requirement.
One approach used in prior systems to solve this problem was to use a clock rate high enough to meet system processing requirements, while reducing power consumption by occasionally putting the processor into a low-power state, in which the processor does not execute instructions. One version of this approach relies on a hardware timer that, after some period of inactivity, expires and puts the processor into a low-power state. However, power consumption is still not optimal because the processor runs at its maximum clock rate whenever it executes instructions. Another variation on this approach puts the processor into a low-power state whenever the operating system is in an idle state (no actively running tasks). This approach is also non-optimal because the processor runs at its maximum clock rate whenever it is actively running a task.
Thus, there is a need for a microprocessor-based system that addresses, among others, the above-noted problems of power consumption and processing requirements.
SUMMARY OF THE INVENTION
To achieve various objects and advantages, the preferred embodiment of the present invention is directed to an apparatus and method to control processor clock rates. A microprocessor-based system is partitioned into threads. The preferred embodiment of the present invention takes advantage of differences in thread processing requirements by running some threads at a high processor clock rate and other threads at a lower processor clock rate.
Other objects, features, and advantages of the present invention will become apparent to one skilled in the art upon examination of the following drawings and detailed description. It is intended that all such additional objects, features, and advantages be included herein within the scope of the present invention, as defined by the claims.


REFERENCES:
patent: 5218704 (1993-06-01), Watts, Jr. et al.
patent: 5930516 (1999-07-01), Watts, Jr. et al.
patent: 6341347 (2002-01-01), Joy et al.
patent: 6427211 (2002-07-01), Watts, Jr.
patent: 2002/0083353 (2002-06-01), Orenstein et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Controlling processor clock rate based on thread priority does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Controlling processor clock rate based on thread priority, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Controlling processor clock rate based on thread priority will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3053769

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.