Reducing content addressable memory (CAM) power consumption counters
First Claim
Patent Images
1. A device comprising:
- a memory that stores data including;
a plurality of data entries, anda plurality of count values, where each of the plurality of count values indicates a number of times that a corresponding one of the plurality of data entries has been previously accessed; and
a processor to;
sort the plurality of data entries based on the plurality of count values;
receive a search request, andidentify one, of the plurality of data entries that correspond to the search request, where the processor, when identifying the one of the plurality of data entries, is further to;
search a first group, of the plurality of data entries, for data corresponding to the search request, where the first group includes a particular number of the sorted plurality of data entries that were previously accessed more often, relative to a second group, andif the data corresponding to the search request is not located in the first group, search the second group for the data, where the second group includes ones, of the plurality of data entries, that are not included in the first group.
0 Assignments
0 Petitions
Accused Products
Abstract
A method may include counting the number of times each of a plurality of entries in a content addressable memory (CAM) matches one or more searches; grouping entries in the CAM into a first subset and a second subset based on the number of times each of the plurality of entries in the CAM matches one or more searches; and searching the first subset for a matching entry and, if no matching entry is found, searching the second subset for the matching entry.
-
Citations
20 Claims
-
1. A device comprising:
-
a memory that stores data including; a plurality of data entries, and a plurality of count values, where each of the plurality of count values indicates a number of times that a corresponding one of the plurality of data entries has been previously accessed; and a processor to; sort the plurality of data entries based on the plurality of count values; receive a search request, and identify one, of the plurality of data entries that correspond to the search request, where the processor, when identifying the one of the plurality of data entries, is further to; search a first group, of the plurality of data entries, for data corresponding to the search request, where the first group includes a particular number of the sorted plurality of data entries that were previously accessed more often, relative to a second group, and if the data corresponding to the search request is not located in the first group, search the second group for the data, where the second group includes ones, of the plurality of data entries, that are not included in the first group. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising:
-
grouping, by a device, network addresses stored in a memory into a plurality of groups based on count values that each indicate a number of times that a corresponding one of the network addresses has been previously accessed; searching, by the device, a first group, of the plurality of groups for a particular network address, where the first group includes a particular number of the network addresses that includes higher count values, relative to remaining ones of the network addresses in other ones of the plurality of groups, where the particular number corresponds to a number of the network addresses that can be searched concurrently; and if the particular network address is not found in the first group, searching a next one of the plurality of groups for the particular network address. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A memory device to store instructions executable by a processor in a network device, the instructions comprising:
-
one or more instructions to sort a plurality of stored data entries based on a plurality of count values, where each of the plurality of count values indicates a number of times that the processor has previously accessed a corresponding one of the plurality of stored data entries; one or more instructions to extract, from a data unit, a search criteria; one or more instructions to search, in response to extracting the search criteria, a first group, of the plurality of stored data entries, for data corresponding to the search criteria, where the first group includes a particular number of the plurality of stored data entries that are associated with higher ones of the plurality of count values, relative to a second group of the plurality of stored data entries; and one or more instructions to search, if the data corresponding to the search criteria is not in the first group, the second group for the data, where the second group includes remaining ones, of the plurality of stored data entries, that are not included in the first group. - View Dependent Claims (17, 18, 19, 20)
-
Specification