Transferring Power and Speed from a Lock Requester to a Lock Holder on a System with Multiple Processors
First Claim
1. A computer implemented method for allocating power between processors in a multiprocessor system, the method comprising:
- receiving a request to acquire a lock from a first thread executing on a first processor;
responsive to receiving the request to acquire a lock, determining whether a second thread has acquired the lock;
responsive to determining that the second thread has acquired the lock, identifying an original frequency of the first thread executing on the first processor and identifying an operating frequency of the second thread executing on the second processor; and
altering the operating frequency of the second thread executing on the second processor based on the original frequency of the first thread executing on the first processor.
1 Assignment
0 Petitions
Accused Products
Abstract
Power is allocated between processors in a multiprocessor system. A request to acquire a lock is received from a first thread executing on a first processor. Responsive to receiving the request to acquire a lock, determination is made as to whether a second thread has acquired the lock. Responsive to determining that the second thread has acquired the lock, an original frequency of the first thread executing on the first processor and an operating frequency of the second thread executing on the second processor is identified. The operating frequency of the second thread executing on the second processor is then altered based on the original frequency of the first thread executing on the first processor. When the second thread releases the lock, the spinning thread with the highest original frequency acquires the lock.
-
Citations
23 Claims
-
1. A computer implemented method for allocating power between processors in a multiprocessor system, the method comprising:
-
receiving a request to acquire a lock from a first thread executing on a first processor; responsive to receiving the request to acquire a lock, determining whether a second thread has acquired the lock; responsive to determining that the second thread has acquired the lock, identifying an original frequency of the first thread executing on the first processor and identifying an operating frequency of the second thread executing on the second processor; and altering the operating frequency of the second thread executing on the second processor based on the original frequency of the first thread executing on the first processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer storage type medium having computer usable instructions encoded thereon for allocating power between processors in a multiprocessor system, the computer usable instructions comprising:
-
instructions for receiving a request to acquire a lock from a first thread executing on a first processor; instructions, responsive to receiving the request to acquire a lock, for determining whether a second thread has acquired the lock; instructions, responsive to determining that the second thread has acquired the lock, for identifying an original frequency of the first thread executing on the first processor and identifying an operating frequency of the second thread executing on the second processor; and instructions for altering the operating frequency of the second thread executing on the second processor based on the original frequency of the first thread executing on the first processor. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A data processing system comprising:
-
a storage having computer usable instructions encoded thereon for allocating power between processors in a multiprocessor system; a bus connecting the storage to a processor; and a processor, wherein the processor executes the computer usable instructions;
to receive a request to acquire a lock from a first thread executing on a first processor;responsive to receiving the request to acquire a lock, to determine whether a second thread has acquired the lock;
responsive to determining that the second thread has acquired the lock, to identify an original frequency of the first thread executing on the first processor and identifying an operating frequency of the second thread executing on the second processor; and
to alter the operating frequency of the second thread executing on the second processor based on the original frequency of the first thread executing on the first processor. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification