IP Library Granted Patent US 7,266,646
Granted Patent B2
US 7,266,646 · App. 11/501,490 · Granted Sep 4, 2007

Least mean square dynamic cache-locking

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,266,646
App. No.
11/501,490
Granted
Sep 4, 2007
Kind
B2
Abstract

A dynamic cache-locking algorithm may determine the most frequently used function(s) and the number of cache lines that should be locked into the instruction cache embedded into a processor. By evaluating the dynamic cache-locking algorithm, a determination may be made to lock an optimal amount of functions that correspond to a given, limited amount of instruction cache.

Claims (47)

1. A method comprising:

running a provided service in a processor using a cache;

determining whether to lock or unlock lines of the cache in accordance with output from a dynamic cache-locking algorithm that receives cache characteristics for the provided service.

2. The method of claim 1 , further including:

using the dynamic cache-locking algorithm to lock at least one of an instruction cache, a data cache, an L2 cache or an OS-managed internal memory.

3. A method comprising:

running a provided service in a processor using a cache; and

selecting lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for the provided service wherein evaluating the dynamic cache-locking algorithm further includes:

evaluating a Least-Mean-Square (LMS) based algorithm.

4. A method comprising:

running a provided service in a processor using a cache;

selecting lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for the provided service; and

receiving data stored in a history table for functions corresponding to the provided service in the processor.

5. A method comprising:

running a provided service in a processor using a cache;

selecting lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for the provided service; and

receiving an optimum number of cache misses for functions corresponding to the provided service in the processor.

6. A method comprising:

running a provided service in a processor using a cache;

selecting lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for the provided service; and

selecting lines of the cache to lock corresponding to frequently used services.

7. An article comprising:

a computer readable storage medium, the medium having stored thereon instructions, the instructions, when executed, resulting in a method of selecting lines of a cache to lock in accordance with results from evaluating a dynamic cache-locking algorithm that receives cache characteristics for a service provided by a processor.

8. A method comprising:

determining cache misses for a service being operated by a processor; and

dynamically cache-locking lines of a cache based on a number of cache-misses in a time interval.

9. The method of claim 8 , wherein dynamically cache-locking further includes evaluating a Least Means Square (LMS) based algorithm.

10. The method of claim 9 , further including:

storing data in a history table that corresponds to the service provided by the processor, the stored data used to evaluate the LMS based algorithm.

11. The method of claim 8 , further including:

using the dynamic cache-locking algorithm to lock at least one of an instruction cache, a data cache, an L2 cache or an OS-managed internal memory.

12. A system comprising:

an omni-directional antenna;

a receiver coupled to the omni-directional antenna to process a modulated signal; and

a processor coupled to receive quadrature signals from the receiver, the processor having a cache where an operating system of the processor selects lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for a service provided by the processor, wherein evaluating the dynamic cache-locking algorithm includes evaluating a Least-Mean-Square (LMS) based algorithm.

13. A system comprising:

an omni-directional antenna;

a receiver coupled to the omni-directional antenna to process a modulated signal; and

a processor coupled to receive quadrature signals from the receiver, the processor having a cache where an operating system of the processor selects lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for a service provided by the processor, wherein a service provided by the processor is selected from at least a timer Interrupt Service Routine (ISR) service, a Direct Memory Access (DMA) service and a flush Cache service.

14. A system comprising:

an omni-directional antenna;

a receiver coupled to the omni-directional antenna to process a modulated signal; and

a processor coupled to receive quadrature signals from the receiver, the processor having a cache where an operating system of the processor selects lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for a service provided by the processor, wherein a result of the dynamic cache-locking algorithm depends on data in a stored history table that corresponds to the service provided by the processor.

15. A system comprising:

an omni-directional antenna;

a receiver coupled to the omni-directional antenna to process a modulated signal; and

a processor coupled to receive quadrature signals from the receiver, the processor having a cache where an operating system of the processor selects lines of the cache to lock in accordance with evaluating a dynamic cache-locking algorithm that receives cache characteristics for a service provided by the processor, wherein a result of the dynamic cache-locking algorithm depends on cache-misses during set time intervals.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2020
From: CAVIUM INTERNATIONAL
To: MARVELL ASIA PTE, LTD.
Reel/Frame 053475/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 20, 2020
From: MARVELL INTERNATIONAL LTD.
To: CAVIUM INTERNATIONAL
Reel/Frame 052918/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 15, 2006
From: INTEL CORPORATION
To: MARVELL INTERNATIONAL LTD.
Reel/Frame 018515/0817 →