Least recently used based hot tracking mechanism enhancement for high performance cache

By dividing the cache management list in a multi-processor architecture and using multiple lists for access and updates, the problem of cache management list competition and bottlenecks is solved, and system performance and data throughput are improved.

CN108628770BActive Publication Date: 2024-09-13INTEL CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201810154756.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-03-23
Filing Date
2018-02-23
Publication Date
2024-09-13
Estimated Expiration
2038-02-23

AI Technical Summary

Technical Problem

In multi-processor architectures, competition and bottlenecks in cache management lists lead to increased memory access delays and affect system performance.

Method used

Reduce I/O contention and bottlenecks by dividing the cache management list into multiple parts and adopting different update strategies and eviction mechanisms, such as using multiple lists for access and updates, selecting lists based on modulo operations, using Timestamps and counters determine access order and eviction conditions.

Benefits of technology

Effectively reduces the I/O bottleneck frequency in the cache management list, improving data throughput and system performance, especially in multi-processor environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108628770B_ABST
    Figure CN108628770B_ABST
Patent Text Reader

Abstract

A method and apparatus for caching data accessed in a cache memory, comprising selecting a list from a plurality of lists based on a cache block accessed from the cache memory, the cache memory being divided into a plurality of cache portions, each of the plurality of lists being assigned to a corresponding cache portion of the plurality of cache portions, each of the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed. Further, a determination may be made as to whether the accessed cache block satisfies a list update criterion, and an update of an order in which cache blocks assigned to the selected list are accessed from the cache memory based on a determination that the accessed cache block satisfies the list update criterion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Various aspects described herein relate generally to methods and apparatus for optimizing data retrieval, and more particularly to enhanced cache performance architectures and cache management techniques associated therewith. Background Art

[0002] The latency associated with system memory access can be reduced by placing a certain amount of data in a cache memory. By storing the data in a cache memory, the processor can access the data more quickly the next time the data is requested. However, high-performance processor architectures have moved toward designs featuring multiple processing cores, each with the ability to execute multiple independent threads simultaneously. Therefore, shared resources (such as the least recently used (LRU) list for the cache memory) may become less effective in reducing latency due to input / output (I / O) bottlenecks originating from one or more of these high processing capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] In the drawings, like reference numerals generally refer to the same parts throughout the different views. The drawings are not necessarily drawn to scale, but emphasis should generally be placed on illustrating the principles of the present disclosure. In the following description, various aspects of the present disclosure are described with reference to the following drawings, in which:

[0004] Figure 1 illustrates the configuration of an exemplary computing system architecture;

[0005] Figure 2A A first cache management list implementation is shown;

[0006] Figure 2B The operations implemented by the first cache management list are shown;

[0007] Figure 3 shows the logical representation of a doubly linked list implementation;

[0008] Figure 4A A second cache management list implementation is shown;

[0009] Figure 4B The operation implemented by the second cache management list is shown;

[0010] Figure 4C A method for implementing a second cache management list is shown;

[0011] Figure 5A A third cache management list implementation is shown;

[0012] Figure 5BThe operation implemented by the third cache management list is shown;

[0013] Figure 5C A method for implementing a third cache management list is shown;

[0014] Fig. 6A A fourth cache management list implementation is shown;

[0015] Figure 6B The operation implemented by the fourth cache management list is shown;

[0016] Figure 6C A method for implementing a fourth cache management list is shown;

[0017] Fig.6D A flow chart showing a fourth cache management list implementation; and

[0018] Figure 7 A comparison of data throughput measurements obtained according to a first cache management list implementation and a fourth cache management list implementation is shown. DETAILED DESCRIPTION

[0019] The following detailed description refers to the accompanying drawings that show, by way of illustration, specific details and aspects in which the disclosure may be practiced.

[0020] Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures.

[0021] The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs.

[0022] The words "plurality" and "multiple" in the specification and claims explicitly refer to quantities greater than one. Therefore, any phrase that explicitly refers to the above words referring to quantities of objects (e.g., "plurality of [objects]", "multiple [objects]" explicitly refers to more than one of the objects. The terms "group", "set", "collection", "series", "sequence", "group", etc. (if any) in the specification and claims refer to quantities equal to or greater than one, that is, one or more. The terms "proper subset", "reduced subset" and "smaller subset" refer to a subset of a set that is not equal to the set, that is, a subset of a set that contains fewer elements than the set.

[0023] It should be appreciated that any vector and / or matrix notation used herein is exemplary in nature, and is only used for illustrative purposes. Therefore, it should be understood that the method detailed in the present disclosure is not limited to being implemented using only vectors and / or matrices, and can be equally performed with respect to sets, sequences, groups, etc. of data, observations, information, signals, etc., associated processes and calculations. In addition, it should be appreciated that reference to "vector" can refer to vectors of any size or orientation, for example, including 1x1 vectors (e.g., scalars), 1xM vectors (e.g., row vectors) and Mx1 vectors (e.g., column vectors). Similarly, it should be appreciated that reference to "matrix" can refer to matrices of any size or orientation, for example, including 1x1 matrices (e.g., scalars), 1xM matrices (e.g., row vectors) and Mx1 matrices (e.g., column vectors).

[0024] As used herein, "circuit" should be understood as any kind of logical implementation entity, which may include dedicated hardware or a processor that executes software. The circuit can therefore be an analog circuit, a digital circuit, a mixed signal circuit, a logic circuit, a processor, a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a field programmable gate array (FPGA), an integrated circuit, an application-specific integrated circuit (ASIC), etc., or any combination thereof. Any other kind of implementation of the corresponding functions described in more detail below may also be understood as a "circuit". It should be understood that any two (or more) of the circuits detailed herein may be implemented as a single circuit with equivalent functions, etc., and conversely, any single circuit detailed herein may be implemented as two (or more) separate circuits with equivalent functions, etc. In addition, reference to a "circuit" may refer to two or more circuits that collectively form a single circuit.

[0025] As used herein, "memory", "memory device", etc. can be understood as a non-temporary computer-readable medium in which data or information can be stored for retrieval. The reference to "memory" contained herein can therefore be understood to refer to volatile or non-volatile memory, including random access memory (RAM), read-only memory (ROM), flash memory, solid-state storage device, tape, hard disk drive, optical drive, 3D crosspoint (3DXP), etc., or any combination thereof. In addition, it should be appreciated that registers, shift registers, processor registers, data buffers, etc. are also included in this article by the term memory. It should be appreciated that a single component referred to as "memory" or "a memory" can be composed of more than one different type of memory, and therefore can refer to a collective component including one or more types of memory. It is easy to understand that any single memory component can be separated into multiple commonly equivalent memory components, and vice versa. In addition, although the memory can be depicted as being separated from one or more other components (e.g., in the accompanying drawings), it should be understood that the memory can be integrated in another component, for example, on a common integrated chip.

[0026] Volatile memory may be a storage medium that requires power to maintain the state of data stored by the medium. Non-limiting examples of volatile memory may include various types of RAM, such as dynamic random access memory (DRAM) or static random access memory (SRAM). One specific type of DRAM that may be used in a memory module is synchronous dynamic random access memory (SDRAM). In some aspects, the DRAM of the memory component may meet standards promulgated by the Joint Electron Device Engineering Council (JEDEC), such as JESD79F for double data rate (DDR) SDRAM, JESD79-2F for DDR2 SDRAM, JESD79-3F for DDR3 SDRAM, JESD79-4A for DDR4 SDRAM, JESD209 for low power DDR (LPDDR), JESD209-2 for LPDDR2, JESD209-3 for LPDDR3, and JESD209-4 for LPDDR4 (these standards may be found in www.jedec.org These standards (and similar standards) may be referred to as DDR-based standards, and the communication interfaces of storage devices that implement these standards may be referred to as DDR-based interfaces.

[0027] Various aspects can be applied to any memory device including non-volatile memory. In one aspect, the memory device is a block addressable memory device, for example, those memory devices based on NAND logic or NOR logic technology. The memory can also include next generation non-volatile devices, for example, 3DXP memory devices, or other byte addressable write-in-place non-volatile memory devices. The 3DXP memory can include a transistor-free stackable cross-point architecture, wherein the memory cell is located at the intersection of the word line and the bit line and is individually addressable, and wherein the bit storage is based on the change of the body resistance.

[0028] In some aspects, the memory device may be or may include a memory device using chalcogenide glass, a multi-threshold level NAND flash memory, a NOR flash memory, a single-level or multi-level phase change memory (PCM), a resistive memory, a nanowire memory, a ferroelectric transistor random access memory (FeTRAM), an anti-ferroelectric memory, a magnetoresistive random access memory (MRAM) memory including memristor technology, a resistive memory including metal oxide-based, oxygen vacancy-based and conductive bridge random access memory (CB-RAM), a spin transfer torque (STT)-MRAM, a device based on spintronic magnetic junction memory, a device based on magnetic channel junction (MTJ), a device based on DW (domain wall) and SOT (spin-orbit transfer), a thyristor-based memory device, or a combination of any of the above memories, or other memories. The term memory or memory device may refer to the die itself and / or the packaged memory product.

[0029] Figure 1 1 shows a configuration of an exemplary computing system 100 architecture. According to some aspects, computing system 100 may be a multi-processor system including a first processor 170-1 and a second processor 170-2. Figure 1 Only two processors 170-1 and 170-2 are shown in FIG, but this number is chosen for illustrative purposes only. More or fewer processors may be implemented depending on system resources and requirements.

[0030] Processor 170 may include core region 178 and integration region 180. In some aspects, core region 178 may include one or more processing cores 174, while integration region 180 includes memory controller hub (MCH) 172, processor-hub interface 176, and processor-processor interface 175. In at least one aspect, MCH 172 may implement a cache controller as described herein.

[0031] In at least one aspect, processing cores 174 can each include hardware resources and firmware resources (not depicted) for supporting an execution pipeline. In some aspects, these resources can include a cache memory (which can be shared or private) hierarchy, which can include: a dedicated level 1 (L1) instruction cache, a dedicated L1 data cache, a level 2 (L2) data / instruction cache, or a combination thereof, prefetch logic and buffers, branch prediction logic, decode logic, register files, various parallel execution resources including arithmetic logic units, floating point units, load / store units, address generation units, data caches, I / O control logic, lookup tables, indexes, etc.

[0032] In some aspects, the MCH 172 supports bidirectional data transfer between the processor 170 and the system memory 132 (e.g., two-level memory (2LM), or 3DXP, or DRAM & 3DXP, etc.) via the memory interconnect 182. In at least one aspect, the system memory 132 can be a DDR type DRAM, and the memory interconnect 182 and the MCH 172 can comply with the DDR interface specification. In at least one aspect, the system memory 132-1 can represent a row of memory interfaces (or slots) that can be populated with corresponding memory circuits for DRAM capacity. The MCH 172 can also be configured to support bidirectional data transfer between the processor 170 and a cache memory.

[0033] In some aspects, each processor 170 includes an MCH 172 for communicating with a portion of system memory 132 and / or cache memory located local to the processor 170. In at least one aspect, system memory 132-1 is located local to the first processor 170-1 and represents a portion of system memory 132 as a whole. In some aspects, system 100 is a distributed memory multiprocessor system, where each processor 170 is able to access each portion of system memory 132 and / or cache memory, whether local or not. In at least one aspect, while local access can have lower latency, access to non-local portions of system memory 132 is also allowed. In at least one aspect, MCH 172 can be configured to receive an I / O request to access a block of memory. For example, MCH 172 can process a received I / O request to access a block of memory based on I / O control logic and / or an LRU list. This process can include cooperation with one or more components (e.g., a driver) identified in the received I / O request.

[0034] In some aspects, each processor 170 also includes a processor-processor interface 175 that supports information communication with the processor-processor interface 175 of one of the other processors 170 via the processor-processor interconnect 151. In some aspects, the processor-hub interconnect 152 and the processor-processor interconnect 151 are different instances of a common set of interconnects. In other aspects, the processor-hub interconnect 152 can be different from the processor-processor interconnect 151.

[0035] In at least one aspect, processor 170 includes a processor-center interface 176 for communicating with an interface 194 of an I / O center 190 via interconnect 152. Interface 194 may, for example, communicate I / O request(s) for cache block(s) of a cache memory to processor-center interface 176. In some aspects, I / O center 190 includes a graphics interface 192 for supporting bidirectional data communications with graphics adapter 138 via graphics interconnect 116, which may be implemented as a high-speed serial bus, such as a Peripheral Component Interconnect Express (PCIe) bus or another suitable bus.

[0036] In some aspects, the I / O hub 190 also communicates with a bus bridge hub 118 via an interface 196 and corresponding interconnects 156, which supports various bus protocols for different types of I / O devices or peripherals. In at least one aspect, the bus bridge hub 118 supports a network interface controller (NIC) 130 that implements a packet-switched network communication protocol (e.g., Gigabit Ethernet), and a low-bandwidth bus 122 (e.g., low pin count (LPC), I2C, industry standard architecture (ISA), etc.) to support traditional interfaces (which may include interfaces for keyboards, mice, serial ports, parallel ports, and removable media drives) referred to herein as desktop I / O devices 124. In at least one aspect, the low-bandwidth bus 122 also includes interfaces for non-volatile memory (NVM) devices such as flash read-only memory (ROM) 126 and desktop I / O devices 124 (e.g., keyboards, mice, or other I / O devices, etc.). In some aspects, storage protocol bus 121 (e.g., Serial AT Attachment (SATA), Small Computer System Interface (SCSI), etc.) supports persistent storage devices including a conventional magnetic core hard disk drive (HDD) 128. In at least one aspect, HDD 128 includes stored code 129, which can represent processor-executable instructions, including operating system instructions, application instructions, etc., which, when executed by the processor, cause the processor to perform the operations described herein.

[0037] In at least one aspect, system 100 also includes a solid-state drive (SSD) 140 and a universal serial communication bus 120 (e.g., USB, PCI, PCIe, NVM Express (NVMe), etc.) for supporting various I / O devices 112. Although specific examples of communication buses and bus targets have been illustrated and described, other aspects may employ different communication buses and different target devices.

[0038] Figure 2A A first cache management list implementation 200 is shown. According to some aspects, the first cache management list implementation 200 includes a list 220, nodes 222-228, a head node position 230, and a tail node position 232. The list 220 can be implemented as a linked data structure, such as a doubly linked list, a queue, an array, etc. in a memory (e.g., a cache memory).

[0039] Figure 3 3. A logical representation of a doubly linked list implementation 300 is shown. According to some aspects, a doubly linked list 320 includes a set of sequentially ordered nodes 322-328. Figure 3 Only four nodes 322-328 are shown in FIG, but this number is selected for illustrative purposes only. More or fewer nodes may be implemented depending on system resources and requirements.

[0040] Each node in the nodes 322-328 of the doubly linked list 320 includes three fields: a link to the next node 340, a data element 342, and a link to the previous node 344. The link to the next node 340 can store the address of the next node in a memory (e.g., a cache memory). When a node (e.g., node 322) in the nodes 322-328 does not have the next node 340 in the sequence in the doubly linked list 320, the link to the next node 340 can be alternatively set to an empty or zero value. The data element 342 can define an integer value, another data value type, or a function operable to return a data value. The link to the previous node 344 can store the address of the previous node in a memory (e.g., a cache memory). When a node (e.g., node 328) in the nodes 322-328 does not have the previous node 344 in the sequence in the doubly linked list 320, the link to the previous node 344 can be alternatively set to an empty or zero value.

[0041] The head node pointer 330 may point to the address of a node of the doubly linked list 320. For example, the head node pointer 330 may point to the address of a node 322, which is illustrated as being at the head of the doubly linked list 320. Likewise, the tail node pointer 332 may point to the address of a node of the doubly linked list 320. In one example, the tail node pointer 332 may point to the address of a node 328, which is depicted as being at the tail of the doubly linked list 320.

[0042] For a doubly linked list of integers, nodes can be defined in programming languages ​​such as C or C++, Java, Ada, etc. For example, in C or C++, a node can be defined as:

[0043]

[0044] Doubly linked list 320 can interact with a hash map (not depicted). Doubly linked list 320 and hash map can be used by algorithms to perform various list management functions and / or strategies via a cache memory controller. These functions can include the definition of a new node, the removal of a node in nodes 322-328, and the movement or advancement of a node in nodes 322-328 to the head, tail, or other position in doubly linked list 320.

[0045] According to some aspects, the LRU can be implemented by the cache memory controller as a doubly linked list 320. The link to the next node 340 and the link to the previous node 344 can refer to the address location of the corresponding block in the memory (e.g., a cache memory). In addition, one of the head node pointer 330 or the tail node pointer 332 is associated with the side of the doubly linked list 320 that is designated as the least frequently used. Although the side of the doubly linked list 320 with the tail node position 232 is used herein to describe the least frequently used side, the present disclosure is not limited thereto.

[0046] Figure 2B 2. The operation of the first cache management list implementation 200 is shown. As previously noted, the first cache management list implementation 200 includes a list 220, nodes 222-228, a head node position 230, and a tail node position 232.

[0047] In the context of an LRU implementation of list 220, the terms "hot" and "cold" are used herein to describe how recent nodes in nodes 222-228 are accessed by a cache controller relative to other nodes 222-228 of list 220. Access to one of nodes 222-228 may be provided, for example, in response to an I / O request for a cache block referenced therefrom. In response to such access, node 228 may become "hot" and be advanced by the cache controller to the head node position 230 of list 220. As node 228 is advanced, the positions of nodes 222, 224, and 226 are also updated accordingly in the order indicated by list 220. That is, each time one of nodes 222-228 is accessed, list 220 is updated by the cache controller. It is worth noting that although an LRU implementation is generally described herein, a cache memory controller may use other types of algorithms, data structures, and / or strategies to organize cache blocks of a cache memory, such as, for example, most recently used (MRU), etc.

[0048] Figure 4A A second cache management list implementation 400 is shown. According to some aspects, the second cache management list implementation 400 includes a list 420 a-n , Node 422 a-n -428 a-n , head node location 430 a-n , tail node position 432 a-n Components identical or similar to those of the first cache management list implementation 200 described above may be denoted by similar characters, and descriptions thereof will be omitted. In particular, the list 420 a-n , Node 422 a-n -428 a-n , head node location 430 a-n 、The tail node position is 432 a-n Each of them can correspond to Figure 2A-2B 220 , nodes 222 - 228 , a head node position 230 , and a tail node position 232 .

[0049] Figure 4B The operation of the second cache management list implementation 400 is shown. The operation of the second cache management list implementation 400 can be distinguished from the operation of the first cache management list implementation 200. In one aspect, the cache memory is divided into a plurality of n cache memory portions having equal or different sizes by the cache memory controller. Thus, the plurality of lists 420 a-nEach list in can be assigned by the cache memory controller to a corresponding cache portion in the plurality of n cache portions. a-n Each list in may indicate the order in which cache blocks in the corresponding cache portion are accessed.

[0050] In list 420 a-n In the context of the LRU implementation, the cache memory controller performs a a-n -428 a-n Access by a node in the cache memory can be provided, for example, upon an I / O request for a cache block referenced therefrom. In response to the I / O request, the cache memory controller can select from the plurality of lists 420 a-n The cache controller may select a list of cache blocks assigned to the cache memory. Such selection may require determining the address of the cache block identified in the I / O request. To this end, the cache memory controller may use an index (e.g., a lookup table) to compare the address of the cache block identified in the I / O request with the plurality of lists 420 when determining which list to select. a-n A list in the .

[0051] According to one aspect, from the plurality of lists 420 a-n The select list can be used whenever node 422 a-n -428 a-n A node in is pushed to the head node position 430 a-n This is performed by the cache controller using the following equation:

[0052] L = A mod N (Equation 1)

[0053] where L is the index of the list to use, A is the cache block index, N is the number of LRU lists, and mod is a modulo operation such that N is greater than or equal to the number of CPU cores used for I / O submission.

[0054] On node 428 a When the referenced cache block makes an I / O access and the cache controller selects from the list, node 428 a becomes "hot" and is therefore advanced to list 420 a Head node location 430 a . Due to node 428 a Pushed by cache controller, node 422 a , 424 a and 426 a The position is also correspondingly in the list 420 aUpdate in the order indicated.

[0055] Figure 4C A method 480 according to one aspect of a second cache management list implementation is shown. In particular, the method 480 is for caching data accessed in a storage device, the method comprising: selecting a list from a plurality of lists based on cache blocks accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed 482; and updating 484 the order in which cache blocks assigned to the selected list are accessed based on the accessed cache blocks.

[0056] Another difference between the first cache management list implementation 200 and the second cache management list implementation 400 is apparent with respect to the effect of operation. In contrast to the first cache management list implementation 200, the plurality of lists 420 a-n I / O access and sequential updates to a specific list in the list are unlikely to result in multiple lists 420 being updated. a-n In other words, for multiple lists 420 a-n Parallel operations and updates can help reduce the number of a-n The frequency of I / O bottlenecks at each list in . Therefore, the latency associated with memory access can be reduced in high-performance processor architectures.

[0057] Figure 5A 5. A third cache management list implementation 500 is shown. According to some aspects, the third cache management list implementation 500 includes a list 520, nodes 522-528, a head node position 530, a tail node position 532, and a candidate eviction region 560. Components identical to those of the first cache management list implementation 200 may be represented by similar characters, and a description thereof will be omitted. In particular, the list 520, the nodes 522-528, the head node position 530, the tail node position 532 may correspond to Figure 2A-2B 220 , nodes 222 - 228 , a head node position 230 , and a tail node position 232 .

[0058] Figure 5BThe operation of the third cache management list implementation 500 is shown. The operation of the third cache management list implementation 500 can be distinguished from the operation of the first cache management list implementation 200. In one aspect, the order indicated by the list 520 is not updated for the accessed nodes 522-528 based on the list update criteria of the list 520. Illustratively, the effect of the list update criteria on the list 520 can be visualized as the number of node(s) located inside / outside the candidate eviction region 560. Although nodes 526 and 528 are in Figure 5B 5. In other implementations, the candidate eviction area 560 may include more or fewer nodes.

[0059] In particular, an I / O access to node 524 by the cache controller will not cause node 524 to become "hot" or be advanced to the head node position 530 of list 520 because node 524 is not included in the candidate eviction region 560. Likewise, the positions of nodes 522, 526, and 528 will not be updated in the order indicated by list 520 due to the I / O access to node 524. However, in contrast, an I / O access to node 528 will cause node 528 to become "hot" or be advanced to the head node position 530 of list 520 by the cache controller because node 528 is included in the candidate eviction region 560. Therefore, the positions of nodes 522, 524, and 526 will be updated in the order indicated by list 520 due to the I / O access to node 528.

[0060] According to one aspect, the list update criteria can be based on a list update counter value U, which is modified (e.g., incremented) each time an access to one of the nodes 522-528 causes the order indicated by the list 520 to be updated by the cache controller. In other words, when an I / O access to one of the nodes 522-528 causes the accessed node to be advanced to the head node position 530, the list update counter value U stored in the memory is modified.

[0061] In the previous description, the I / O access to node 524 does not cause the order indicated by list 520 to be updated. Therefore, the value U of the list update counter does not need to be modified in this case. However, the I / O access to node 528 causes node 528 to be advanced to the head node position 530, and thus the order of list 520 is updated. Therefore, the value U of the list update counter will be modified in this case.

[0062] According to another aspect, the list update criteria can be based on a timestamp C, which can be associated with each of the plurality of nodes 522-528. The timestamp C can indicate a value U of a list update counter when an I / O access to a corresponding node in the plurality of nodes 522-528 causes the order indicated by the list 520 to be updated. For example, in response to the value U of the list update counter being modified, the value of the timestamp C stored in the memory is set to the modified value U for the corresponding node being accessed.

[0063] When a corresponding node among the plurality of nodes 522-528 is accessed by an I / O request, a timestamp C associated with the corresponding node can be read from the memory. A comparison can then be made by the cache controller between the value U of the list update counter and the timestamp C associated with the corresponding node. In some aspects, the list update criteria can be based on such a comparison. The correlation in magnitude between the timestamp C and the value U of the list update counter indicates how recently the corresponding node has been accessed relative to the other nodes 522-528 of the list 520. In particular, the cache controller can use this comparison to determine whether an I / O access to a corresponding node among the plurality of nodes 522-528 will result in an update to the list 520, and thus result in a modification to the value U of the list update counter.

[0064] In some aspects, the following equation can be used for such comparison:

[0065] UC>T (Equation 2)

[0066] Thereafter, in some aspects, the list update criteria can be based on a threshold variable T stored in memory. The threshold variable T can be used by the cache controller to select how often the list 520 can be updated.

[0067] As the magnitude of the threshold variable T increases, the number of nodes 522-528 within the candidate eviction region 560 effectively increases. By way of review, accesses to nodes 522-528 within the candidate eviction region 560 may result in a sequential update of the list 520. Statistically, this creates a higher probability that an I / O request to access one of the nodes 522-528 will result in an update of the list 520.

[0068] As the magnitude of threshold variable T decreases, the number of nodes 522-528 within candidate eviction region 560 effectively decreases. Statistically, this produces a lower probability that an I / O request to access one of nodes 522-528 will result in an update to list 520.

[0069] In at least one aspect, when the comparison of Equation 2 is determined by the cache controller to be satisfied (e.g., true), then the corresponding node of the plurality of nodes 522-528 accessed by the I / O request can be advanced to the head node position 530, which updates the order indicated by the list 520. After the update, the value U of the list update counter can be modified (e.g., incremented) before performing the eviction operation, and the timestamp C can be set to the modified value U for the corresponding node being accessed.

[0070] However, if it is determined that the comparison of Equation 2 is not satisfied (e.g., false), an eviction operation can be performed. During an eviction operation, any of the nodes 522-528 within the candidate eviction region 560 can be removed from the list 520 by the cache controller, or replaced to make room for one or more new nodes representing at least one cache block of the cache memory. In at least one aspect, the node at the tail node position 532 can be evicted from the list 520 by the cache controller.

[0071] Figure 5C A method 580 of a third cache management list implementation is shown. Specifically, the method 580 is for caching data accessed in a storage device, the method comprising: determining whether a block to be accessed from the storage device is a cache block stored in a cache memory, the cache memory having been assigned a list 582 indicating the order in which the cache blocks are accessed from the cache memory; in response to determining that the block is a cache block among the cache blocks stored in the cache memory, determining whether the block satisfies a list update criterion 584; and in response to determining that the block satisfies the list update criterion, updating 586 the order in which the cache blocks are accessed from the cache memory as indicated by the list.

[0072] Another difference between the first cache management list implementation 200 and the third cache management list implementation 500 is apparent with respect to the effect of operation. In contrast to the first cache management list implementation 200, each I / O access to one of the nodes 522-528 does not result in an update to the order of the list 520. Therefore, the likelihood that the list 520 becomes a point of contention for I / O access is reduced. In other words, reducing the probability of updating the list 520 can help reduce the frequency of I / O bottlenecks at the list 520. Therefore, the latency associated with memory accesses can be reduced in a high-performance processor architecture.

[0073] Fig. 6A A fourth cache management list implementation 600 is shown. According to some aspects, the fourth cache management list implementation 600 includes a list 620 a-n, Node 622 a-n -628 a-n , head node location 630 a-n , tail node position 632 a-n and candidate eviction region 660 a-n Components identical or similar to those of the second cache management list implementation 400 and the third cache management list implementation 500 may be denoted by similar characters, and descriptions thereof will be omitted. a-n , Node 622 a-n -628 a-n , head node location 630 a-n , tail node position 632 a-n Each of them can correspond to Figure 4A-4B List of 420 a-n , Node 422 a-n -428 a-n , head node location 430 a-n And the tail node position 432 a-n Similarly, candidate eviction region 660 a-n Each of them can correspond to Figure 5A-Figure 5B The candidate eviction area 560 is shown in FIG.

[0074] Although the candidate eviction region 660 a-n Shown as a separate region, but candidate eviction region 660 a-n Can be configured to operate as one or more regions. For example, candidate eviction region 660 a-n Each candidate eviction region in can be respectively determined according to the threshold variable T a-n To operate. Threshold variable T a-n The cache memory controller may be set to the same value or to different values. In some aspects, the threshold variable T is set to the same value or to different values ​​in response to an event. a-n Before setting one or more of the threshold variables T to different values, a-n In at least one aspect, in response to an event, the threshold variable T is set to the same value. a-n Before setting two or more of them to the same value, the threshold variable T a-n Set to different values. Although the threshold variable T a-n Although described as a separate variable in this article, it should be noted that the threshold variable T a-n In some aspects this may be implemented by a single variable.

[0075] Figure 6BThe operation of the fourth cache management list implementation 600 is shown. The operation of the fourth cache management list implementation 600 can be distinguished from the operation of the first cache management list implementation 200. In one aspect, the fourth cache management list implementation 600 is consistent with the structure and technology of the second cache management list implementation 400 and the third cache management list implementation 500.

[0076] As in the second cache management list implementation 400, the cache memory of the fourth cache management list implementation 600 may be divided into a plurality of n cache memory portions having equal or different sizes. a-n Each of the lists 620 may therefore be assigned by the cache memory controller to a corresponding cache portion of the plurality of n cache portions. a-n Each of the lists 420 may indicate the order in which cache blocks in the corresponding cache portion are accessed. a-n I / O access and sequential updates to a particular list in the list are unlikely to result in multiple lists 620 being updated. a-n In other words, for multiple lists 420 a-n Parallel operations and updates can help reduce the number of a-n The frequency of I / O bottlenecks at each list in . Therefore, the latency associated with memory access can be reduced in high-performance processor architectures.

[0077] As in the third cache management list implementation 500, no corresponding list 620 is used for the cache management list that cannot satisfy the corresponding list 620. a-n List update criteria for accessed nodes 622 a-n -628 a-n To update the list 620 a-n As previously noted, the list update criteria can be depicted as being located in the candidate eviction area 660 a-n Thus, list 620 a-n The possibility of becoming a contention point for I / O access is reduced. a-n The probability of performing an update can be reduced, which can help reduce the number of items in the list 620. a-n Therefore, the latency associated with memory access can be further reduced in high-performance processor architectures.

[0078] In addition, the plurality of n cache memory portions and / or candidate eviction regions 660 a-nEach of the n cache memory portions and / or candidate eviction regions 660 may be controlled individually or collectively by the cache memory controller according to various control schemes. Each control scheme may implement a set of static and / or dynamic variables (e.g., n, U, C, T) that are read from memory to manage the plurality of n cache memory portions and / or candidate eviction regions 660. a-n Each of the control schemes may be triggered, paused, and / or terminated in response to one or more events (e.g., throughput level, peripheral input, hit rate, CPU usage, number of threads, etc.) determined by the cache controller. In other words, the plurality of n cache memory portions and / or candidate eviction regions 660 may be triggered, paused, and / or terminated in response to one or more events (e.g., throughput level, peripheral input, hit rate, CPU usage, number of threads, etc.) determined by the cache controller. a-n Separate optimization of can help reduce the list 620 a-n Therefore, the latency associated with memory access can be further reduced in high-performance processor architectures.

[0079] Figure 6C A method 680 of a fourth cache management list implementation 600 is shown. In particular, the method 680 for caching data accessed in a storage device includes: selecting a list from a plurality of lists based on a cache block accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed 682; determining whether the accessed cache block satisfies a list update criterion 684; and updating 686 the order in which cache blocks assigned to the selected list are accessed from the cache memory based on determining that the accessed cache block satisfies the list update criterion.

[0080] Fig.6D A flowchart 690 of a fourth cache management list implementation 600 is shown. In some aspects, for node 622 a-n -628 a-n Access to a node in the cache memory may be provided, for example, upon an I / O request at 691 for a cache block referenced therefrom. In response to the I / O request, at 692, the cache memory controller may select from the plurality of lists 620 a-n The cache memory controller may select a list of cache blocks assigned to the cache memory. Such selection may require determining the address of the cache block identified in the I / O request based on the cache block index A and / or using equation 1. At 693, the cache memory controller may select a list of cache blocks assigned to the cache memory based on the cache block index A from the plurality of lists 620. a-n The selected list in reads the timestamp C and the value U of the list update counter from the memory.

[0081] Then, at 694, a comparison may be made by the cache controller between the value U of the list update counter and the timestamp C associated with the corresponding node. In some aspects, the comparison may be made using Equation 2. If the comparison is true, the cache block referenced by the corresponding node becomes "hot", and thus the corresponding node may be advanced by the cache controller to the corresponding head node position of the selected list. As the corresponding node is advanced, at 695, the position of the node in the selected list is also updated by the cache controller in the order indicated by the selected list. After the update, at 696, the cache controller may modify the value U of the list update counter and set the timestamp C to the modified value U for the accessed corresponding node before performing an eviction operation at 697. However, if the comparison is false, the process will also perform an eviction operation at 697.

[0082] During the eviction operation 697, the candidate eviction region 660 a-n Node 622 within a-n -628 a-n Any node in the cache memory may be selected by the cache controller from its corresponding list 620 a-n In at least one aspect, the tail node position 632 is removed from the cache memory, or is replaced to make room for one or more new nodes representing at least one cache block of the cache memory. a-n The node at one of the nodes may be evicted by the cache controller. The cache controller may select a node based on an order of eviction (eg, sequential, non-sequential, etc.) and / or based on list 620. a-n To select a list size of 620 a-n A list in for eviction.

[0083] Figure 7 A comparison of data throughput measurements obtained according to the first cache management list implementation 200 and the fourth cache management list implementation 600 is shown. As shown in the graph 700, the data throughput performance of the fourth cache management list implementation 600 in kIOps (line 760) begins to graphically exceed the data throughput performance of its counterpart (line 720) above 8 threads.

[0084] Although several aspects and implementations are described herein with respect to a cache memory controller, the present disclosure is not limited to this configuration. Additionally or alternatively, at least one or more circuits and / or processors described herein, including MCH 172, etc., may be implemented in any of the aforementioned aspects, implementations, and / or following examples.

[0085] The following examples relate to further aspects of the present disclosure:

[0086] In Example 1, a method for caching data accessed in a storage device, the method comprising: selecting a list from a first list and a second list based on a cache block accessed from a cache memory, the cache memory comprising a plurality of cache portions, the plurality of cache portions comprising a first cache portion and a second cache portion, the first list being assigned to the first cache portion and the second list being assigned to the second cache portion, the first list indicating an order in which cache blocks in the first cache portion are accessed, the second list indicating an order in which cache blocks in the second cache portion are accessed; and updating the order in which cache blocks assigned to the selected list are accessed based on the accessed cache blocks.

[0087] In Example 2, a method for caching data accessed in a storage device, the method comprising: selecting a list from a plurality of lists based on a cache block accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed; and updating the order in which cache blocks assigned to the selected list are accessed based on the accessed cache blocks.

[0088] In Example 3, the method of any one of Examples 1 or 2, wherein selecting a list from a plurality of lists comprises: determining an address of the accessed cache block in the cache memory.

[0089] In Example 4, the method of Example 3, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on the determined address of the accessed cache block.

[0090] In Example 5, the method of any one of Examples 1 to 4, wherein selecting a list from the plurality of lists comprises determining whether an address of the accessed cache block in the cache memory is within the table.

[0091] In Example 6, the method of Example 5, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is within the table.

[0092] In Example 7, the method of any one of Examples 1 to 6, wherein selecting a list from the plurality of lists comprises determining within the table whether an address of the accessed cache block in the cache memory is associated with the selected list.

[0093] In Example 8, the method of Example 7, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0094] In Example 9, the method of any one of Examples 1 to 8, wherein selecting a list from the plurality of lists comprises determining within a lookup table whether an address of the accessed cache block in the cache memory is associated with the selected list.

[0095] In Example 10, the method of Example 9, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0096] In Example 11, the method of any one of Examples 1 to 10, wherein updating the order in which cache blocks assigned to the selected list are accessed includes: in response to the cache blocks being accessed, updating the order in which cache blocks assigned to the selected list are accessed.

[0097] In Example 12, the method of any one of Examples 1 to 11, wherein updating the order in which cache blocks assigned to the selected list are accessed comprises updating a position of the accessed cache blocks within the order indicated by the selected list.

[0098] In Example 13, the method of any one of Examples 1 to 12, wherein updating the order in which cache blocks assigned to the selected list are accessed comprises updating the position of the accessed cache block to a head position within the order indicated by the selected list.

[0099] In Example 14, the method of any one of Examples 1 to 13 further includes: returning the cache block from the cache memory using a list of the plurality of lists.

[0100] In Example 15, the method of any one of Examples 1 to 14 further includes returning the cache block from the cache memory using the selected list indicating the updated order.

[0101] In Example 16, the method of any one of Examples 1 to 15 further includes: dividing the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0102] In Example 17, the method of any one of Examples 1 to 16 further includes: determining a list for the eviction process from the plurality of lists based on the eviction order.

[0103] In Example 18, the method of Example 17 further includes: evicting the cache block from the determined list based on the eviction order.

[0104] In Example 19, the method of any one of Examples 1 to 18 further includes: determining a list for the eviction process from the plurality of lists based on a predetermined eviction order.

[0105] In Example 20, the method of Example 19 further includes: evicting the cache block from the determined list based on a predetermined eviction order.

[0106] In Example 21, the method of any one of Examples 1 to 20 further includes: determining a list for the eviction process from the plurality of lists based on a sequential eviction order.

[0107] In Example 22, the method of Example 21 further includes: evicting the cache block from the determined list based on a sequential eviction order.

[0108] In Example 23, the method of any one of Examples 1 to 22 further includes: determining a list for the eviction process from the plurality of lists based on the non-sequential eviction order.

[0109] In Example 24, the method of Example 23 further includes: evicting the cache block from the determined list based on a non-sequential eviction order.

[0110] In Example 25, the method of any one of Examples 1 to 24 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a threshold list size.

[0111] In Example 26, the method of Example 25 further includes: evicting the cache block from the determined list based on a comparison of the determined size of the list with a threshold list size.

[0112] In Example 27, the method of any one of Examples 1 to 26 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a predetermined threshold list size.

[0113] In Example 28, the method of Example 27 further includes: evicting the cache block from the determined list based on a comparison of the determined size of the list with a predetermined threshold list size.

[0114] In Example 29, the method of any one of Examples 1 to 28 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a variable threshold list size.

[0115] In Example 30, the method of Example 29 further includes evicting the cache block from the determined list based on a comparison of the determined size of the list to a variable threshold list size.

[0116] In Example 31, the method of any one of Examples 1 to 30 further includes: determining a position of a candidate cache block for an eviction process within an order indicated by a list among the plurality of lists to which the candidate cache block is assigned.

[0117] In Example 32, the method of Example 31 further includes: evicting the candidate cache block from the list to which the candidate cache block is assigned based on the determined position of the candidate cache block.

[0118] In Example 33, the method of any one of Examples 1 to 32 further includes: determining a position of the candidate cache block within an order indicated by a list among the plurality of lists to which the candidate cache block is assigned.

[0119] In Example 34, the method of Example 33 further includes: in response to determining that the position of the candidate cache block is a tail position, evicting the candidate cache block from the list to which the candidate cache block is assigned.

[0120] In Example 35, a device for caching data accessed in a storage device includes: a cache memory including multiple cache parts, the multiple cache parts including a first cache part and a second cache part; and a cache memory controller, which is configured to: select a list from a first list and a second list based on a cache block accessed from the cache memory, the first list is assigned to the first cache part and the second list is assigned to the second cache part, the first list indicates the order in which the cache blocks in the first part are accessed, the second list indicates the order in which the cache blocks in the second part are accessed, and update the order in which the cache blocks assigned to the selected list are accessed based on the accessed cache blocks.

[0121] In Example 36, a device for caching data accessed in a storage device includes: a cache memory divided into a plurality of cache portions; and

[0122] A cache memory controller configured to: select a list from a plurality of lists based on cache blocks accessed from a cache memory, each list in the plurality of lists being assigned to a corresponding cache portion in a plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed, and update the order in which cache blocks assigned to the selected list are accessed based on the accessed cache blocks.

[0123] In Example 37, the apparatus of any of Examples 35 or 36, wherein the cache memory controller is configured to select a list from the plurality of lists by determining an address of the accessed cache block in the cache memory.

[0124] In Example 38, the apparatus of Example 37, wherein the cache memory controller is further configured to select a list from the plurality of lists based on the determined address of the accessed cache block.

[0125] In Example 39, the apparatus of any one of Examples 35 to 38, wherein the cache memory controller is configured to select a list from the plurality of lists by determining that an address of the accessed cache block in the cache memory is within the table.

[0126] In Example 40, the apparatus of Example 39, wherein the cache memory controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is within the table.

[0127] In Example 41, the apparatus of any one of Examples 35 to 40, wherein the cache memory controller is configured to select a list from a plurality of lists by determining within the table that an address of the accessed cache block in the cache memory is associated with the selected list.

[0128] In Example 42, the apparatus of Example 41, wherein the cache controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0129] In Example 43, the apparatus of any of Examples 35 to 42, wherein the cache memory controller is configured to select a list from a plurality of lists by determining within a lookup table that an address of the accessed cache block in the cache memory is associated with the selected list.

[0130] In Example 44, the apparatus of Example 43, wherein the cache controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0131] In Example 45, the apparatus of any one of Examples 35 to 44, wherein the cache memory controller is configured to update, in response to the cache blocks being accessed, an order in which the cache blocks assigned to the selected list are accessed.

[0132] In Example 46, the device of any of Examples 35 to 45, wherein the cache memory controller is configured to update the order in which cache blocks assigned to the selected list are accessed by updating the position of the accessed cache blocks within the order indicated by the selected list.

[0133] In Example 47, a device of any of Examples 35 to 46, wherein the cache memory controller is configured to update the order in which cache blocks assigned to a selected list are accessed by updating the position of the accessed cache block to a head position within the order indicated by the selected list.

[0134] In Example 48, the apparatus of any one of Examples 35 to 47, wherein the cache memory controller is further configured to: return the cache block from the cache memory using one of the plurality of lists.

[0135] In Example 49, the apparatus of any one of Examples 35 to 48, wherein the cache memory controller is further configured to return the cache block from the cache memory using the selected list indicating the updated order.

[0136] In Example 50, the apparatus of any one of Examples 35 to 49, wherein the cache memory controller is further configured to: divide the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0137] In Example 51, the apparatus of any one of Examples 35 to 50, wherein the cache controller is further configured to: determine a list for an eviction process from a plurality of lists based on an eviction order.

[0138] In Example 52, the apparatus of any one of Examples 35 to 51, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on an eviction order.

[0139] In Example 53, the apparatus of Example 36, wherein the cache controller is further configured to determine a list for the eviction process from the plurality of lists based on a predetermined eviction order.

[0140] In Example 54, the apparatus of Example 53, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a predetermined eviction order.

[0141] In Example 55, the apparatus of any one of Examples 35 to 54, wherein the cache controller is further configured to: determine a list for the eviction process from the plurality of lists based on a sequential eviction order.

[0142] In Example 56, the apparatus of Example 55, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a sequential eviction order.

[0143] In Example 57, the apparatus of any one of Examples 35 to 56, wherein the cache controller is further configured to determine a list for the eviction process from the plurality of lists based on a non-sequential eviction order.

[0144] In Example 58, the apparatus of Example 57, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a non-sequential eviction order.

[0145] In Example 59, the apparatus of any one of Examples 35 to 58, wherein the cache controller is further configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a threshold list size.

[0146] In Example 60, the apparatus of Example 59, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a comparison of the determined size of the list to a threshold list size.

[0147] In Example 61, the apparatus of any one of Examples 35 to 60, wherein the cache memory controller is further configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined table size with a predetermined threshold list size.

[0148] In Example 62, the apparatus of Example 61, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a comparison of the size of the determined list with a predetermined threshold list size.

[0149] In Example 63, the apparatus of any one of Examples 35 to 62, wherein the cache memory controller is further configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a variable threshold list size.

[0150] In Example 64, the apparatus of Example 63, wherein the cache memory controller is further configured to: evict the cache block from the determined list based on a comparison of the determined size of the list with a variable threshold list size.

[0151] In Example 65, the apparatus of any of Examples 35 to 64, wherein the cache memory controller is further configured to: determine a position of a candidate cache block for an eviction process within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0152] In Example 66, the apparatus of Example 65, wherein the cache memory controller is further configured to: evict the candidate cache block from the list to which the candidate cache block is assigned based on the determined location of the candidate cache block.

[0153] In Example 67, the apparatus of any one of Examples 35 to 66, wherein the cache memory controller is further configured to: determine a position of the candidate cache block within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0154] In Example 68, the apparatus of Example 67, wherein the cache controller is further configured to: in response to determining that the position of the candidate cache block is a tail position, evict the candidate cache block from the list to which the candidate cache block is assigned.

[0155] In Example 69, a method for caching data accessed in a storage device includes: determining whether a block to be accessed from the storage device is a cache block stored in a cache memory, the cache memory being assigned a list indicating the order in which the cache blocks are accessed from the cache memory; in response to determining that the block is a cache block among the cache blocks stored in the cache memory, determining whether the block satisfies a list update criterion; and in response to determining that the block satisfies the list update criterion, updating the order in which the cache blocks are accessed from the cache memory as indicated by the list.

[0156] In Example 70, the method of Example 69, wherein determining whether the block is a cache block stored in the cache memory comprises determining an address of the block in the cache memory.

[0157] In Example 71, the method of any of Examples 69 or 70, wherein determining whether the block is a cache block stored in the cache memory comprises determining that an address of the block in the cache memory is within a table.

[0158] In Example 72, the method of any one of Examples 69 to 71, wherein determining whether the block is a cache block stored in the cache memory comprises: determining within a table that an address of the block in the cache memory is associated with a list.

[0159] In Example 73, the method of any one of Examples 69 to 72, wherein determining whether the block is a cache block stored in a cache memory comprises: determining within a lookup table that an address of the block in the cache memory is associated with a list.

[0160] In Example 74, the method of any one of Examples 69 to 73, wherein determining whether the block satisfies the list update criteria comprises determining whether the block was previously accessed within a threshold number of updates to the list.

[0161] In Example 75, the method of any one of Examples 69 to 74, wherein determining whether the block satisfies the list update criteria comprises comparing a timestamp value associated with the block to a threshold update number of the list.

[0162] In Example 76, the method of Example 75, wherein determining whether the block satisfies the list update criteria comprises: determining that the block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0163] In Example 77, the method of any one of Examples 69 to 76 further includes: modifying the count value when access to a corresponding cache block in the cache blocks causes the order to be updated; and associating the modified count value with the corresponding cache block in the cache blocks that causes the list to be updated, wherein determining whether the block meets the list update criteria includes: comparing the modified count value associated with the block with a threshold update number of the list.

[0164] In Example 78, the method of Example 77, wherein determining whether the block satisfies the list update criteria further comprises: determining that the block satisfies the list update criteria based on the modified count value being greater than or equal to a threshold number of updates.

[0165] In Example 79, the method of any one of Examples 77 or 78 further includes: setting the modified count value to a timestamp value associated with a corresponding cache block in the cache block that caused the list to be updated, wherein determining whether the block meets the list update criteria also includes: comparing the timestamp value associated with the block with a threshold update count of the list.

[0166] In Example 80, the method of Example 79, wherein determining whether the block satisfies the list update criteria comprises: determining that the block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0167] In Example 81, the method of any one of Examples 69 to 80, wherein updating the order in which the cache blocks are accessed comprises updating a position of the blocks within the order indicated by the list.

[0168] In Example 82, the method of any one of Examples 69 to 81, wherein updating the order in which the cache blocks are accessed comprises updating the position of the blocks to a head position within the order indicated by the list.

[0169] In Example 83, the method of any one of Examples 69 to 82 further includes: returning a cache block from a cache memory using one of a plurality of lists, wherein the cache memory includes a plurality of cache parts, each of the plurality of lists is assigned to a corresponding cache part of the plurality of cache parts, and each list indicates an order in which cache blocks in the corresponding part are accessed.

[0170] In Example 84, the method of any one of Examples 69 to 83 further includes returning the cache block from the cache memory using the list indicating the updated order.

[0171] In Example 85, the method of any one of Examples 69 to 84 further includes: dividing the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0172] In Example 86, the method of Example 83 further includes: determining a list for the eviction process from a plurality of lists based on the eviction order.

[0173] In Example 87, the method of Example 86 further includes: evicting the cache block from the determined list based on the eviction order.

[0174] In Example 88, the method of Example 83 further includes: determining a list for the eviction process from a plurality of lists based on a predetermined eviction order.

[0175] In Example 89, the method of Example 88 further includes: evicting the cache block from the determined list based on a predetermined eviction order.

[0176] In Example 90, the method of Example 83 further includes determining a list for the eviction process from the plurality of lists based on a sequential eviction order.

[0177] In Example 91, the method of Example 90 further includes: evicting the cache block from the determined list based on a sequential eviction order.

[0178] In Example 92, the method of Example 83 further includes determining a list for the eviction process from the plurality of lists based on the non-sequential eviction order.

[0179] In Example 93, the method of Example 92 further includes: evicting the cache block from the determined list based on a non-sequential eviction order.

[0180] In Example 94, the method of Example 83 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a threshold list size.

[0181] In Example 95, the method of Example 94 further includes: evicting the cache block from the determined list based on a comparison of the size of the determined list with a threshold list size.

[0182] In Example 96, the method of Example 83 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a predetermined threshold list size.

[0183] In Example 97, the method of Example 96 further includes: evicting the cache block from the determined list based on a comparison of the size of the determined list with a predetermined threshold list size.

[0184] In Example 98, the method of Example 83 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a variable threshold list size.

[0185] In Example 99, the method of Example 98 further includes: evicting the cache block from the determined list based on a comparison of the determined size of the list with a variable threshold list size.

[0186] In Example 100, the method of Example 83 further includes: determining a position of the candidate cache block for the eviction process within an order indicated by the list to which the candidate cache block is assigned among the plurality of lists.

[0187] In Example 101 , the method of Example 100 further includes: evicting the candidate cache block from the list to which the candidate cache block is assigned based on the determined position of the candidate cache block.

[0188] In Example 102, the method of Example 83 further includes: determining a position of the candidate cache block within an order indicated by a list among the plurality of lists to which the candidate cache block is assigned.

[0189] In Example 103, the method of Example 102 further includes: in response to determining that the position of the candidate cache block is a tail position, evicting the candidate cache block from the list to which the candidate cache block is assigned.

[0190] In Example 104, the method of Example 102 further includes, in response to determining that the position of the candidate cache block is referenced by the tail position of the list, evicting the candidate cache block from the list to which the candidate cache block is assigned.

[0191] In Example 105, a device for caching data includes: a cache memory storing multiple cache blocks, the cache memory being assigned a list indicating an order in which the cache blocks are accessed from the cache memory; and a cache memory controller configured to: determine whether a block accessed from a storage device is a cache block stored in the cache memory; in response to determining that the block is a cache block among the cache blocks stored in the cache memory, determine whether the block satisfies a list update criterion; and in response to determining that the block satisfies the list update criterion, update the order in which the cache blocks are accessed from the cache memory indicated by the list.

[0192] In Example 106, the apparatus of Example 105, wherein the cache memory controller is configured to determine whether the block is a cache block stored in the cache memory by determining an address of the block in the cache memory.

[0193] In Example 107, the apparatus of any of Examples 105 or 106, wherein the cache memory controller is configured to determine whether the block is a cache block stored in the cache memory by determining that an address of the block in the cache memory is within a table.

[0194] In Example 108, the apparatus of any one of Examples 105 to 107, wherein the cache memory controller is configured to determine whether the block is a cache block stored in the cache memory by determining within a table that an address of the block in the cache memory is associated with a list.

[0195] In Example 109, the apparatus of any of Examples 105 to 108, wherein the cache memory controller is configured to determine whether the block is a cache block stored in the cache memory by determining within a lookup table that an address of the block in the cache memory is associated with a list.

[0196] In Example 110, the apparatus of any one of Examples 105 to 109, wherein the cache controller is configured to determine whether the block satisfies the list update criteria by: determining whether the block was previously accessed within a threshold number of updates of the list.

[0197] In Example 111, the apparatus of any one of Examples 105 to 110, wherein the cache controller is configured to determine whether the block satisfies the list update criteria by comparing a timestamp value associated with the block to a threshold update number of the list.

[0198] In Example 112, the device of Example 111, wherein the cache controller is configured to determine whether the block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0199] In Example 113, the apparatus of any of Examples 105 to 112, wherein the cache memory controller is configured to: modify a count value when access to a corresponding cache block in the cache blocks causes the order to be updated; and associate the modified count value with the corresponding cache block in the cache blocks that causes the list to be updated, and the cache memory controller is further configured to determine whether the accessed cache block satisfies the list update criteria by comparing the modified count value associated with the block with a threshold number of updates of the list.

[0200] In Example 114, the apparatus of Example 113, wherein the cache controller is configured to determine whether the block satisfies the list update criteria based on the modified count value being greater than or equal to a threshold number of updates.

[0201] In Example 115, the apparatus of any of Examples 113 or 114, wherein the cache memory controller is configured to set the modified count value to a timestamp value associated with a corresponding one of the cache blocks that caused the list to be updated, and the cache memory controller is further configured to determine whether the block satisfies the list update criteria by comparing the timestamp value associated with the block to a threshold number of updates to the list.

[0202] In Example 116, the device of Example 115, wherein the cache controller is configured to determine whether the block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0203] In Example 117, the apparatus of any one of Examples 105 to 116, wherein the cache memory controller is configured to update the order in which the cache blocks are accessed by updating the position of the blocks within the order indicated by the list.

[0204] In Example 118, the apparatus of any one of Examples 105 to 117, wherein the cache memory controller is configured to update the order in which the cache blocks are accessed by updating the position of the blocks to a head position within the order indicated by the list.

[0205] In Example 119, a device of any one of Examples 105 to 118, wherein the cache memory controller is configured to return cache blocks from the cache memory using one of a plurality of lists, and the cache memory includes a plurality of cache portions, each of the plurality of lists being assigned to a corresponding cache portion of the plurality of cache portions, and each list indicating an order in which cache blocks in the corresponding cache portion are accessed.

[0206] In Example 120, the apparatus of any one of Examples 105 to 119, wherein the cache memory controller is configured to return the cache block from the cache memory using the list indicating the updated order.

[0207] In Example 121, the apparatus of any one of Examples 105 to 120, wherein the cache memory controller is configured to divide the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0208] In Example 122, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on the eviction order.

[0209] In Example 123, the apparatus of Example 122, wherein the cache memory controller is configured to evict the cache block from the determined list based on an eviction order.

[0210] In Example 124, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a predetermined eviction order.

[0211] In Example 125, the apparatus of Example 124, wherein the cache memory controller is configured to evict the cache block from the determined list based on a predetermined eviction order.

[0212] In Example 126, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a sequential eviction order.

[0213] In Example 127, the apparatus of Example 126, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a sequential eviction order.

[0214] In Example 128, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a non-sequential eviction order.

[0215] In Example 129, the apparatus of Example 128, wherein the cache memory controller is configured to evict the cache block from the determined list based on a non-sequential eviction order.

[0216] In Example 130, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a comparison of the determined size of the list to a threshold list size.

[0217] In Example 131, the apparatus of Example 130, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the size of the determined list with a threshold list size.

[0218] In Example 132, the apparatus of Example 119, wherein the cache controller is configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a predetermined threshold list size.

[0219] In Example 133, the apparatus of Example 132, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the size of the determined list with a predetermined threshold list size.

[0220] In Example 134, the apparatus of Example 119, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a comparison of the determined size of the list to a variable threshold list size.

[0221] In Example 135, the apparatus of Example 134, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the determined size of the list to a variable threshold list size.

[0222] In Example 136, the apparatus of Example 119, wherein the cache memory controller is configured to: determine a position of a candidate cache block for an eviction process within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0223] In Example 137, the apparatus of Example 136, wherein the cache memory controller is configured to: evict the candidate cache block from the list to which the candidate cache block is assigned based on the determined location of the candidate cache block.

[0224] In Example 138, the apparatus of Example 119, wherein the cache memory controller is configured to: determine a position of the candidate cache block within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0225] In Example 139, the apparatus of Example 138, wherein the cache memory controller is configured to: in response to determining that the position of the candidate cache block is a tail position, evict the candidate cache block from the list to which the candidate cache block is assigned.

[0226] In Example 140, a method for caching data accessed in a storage device, the method comprising: selecting a list from a first list and a second list based on a cache block accessed from a cache memory, the cache memory comprising a plurality of cache portions, the plurality of cache portions comprising a first cache portion and a second cache portion, the first list being assigned to the first cache portion and the second list being assigned to the second cache portion, the first list indicating an order in which cache blocks in the first cache portion are accessed, the second list indicating an order in which cache blocks in the second cache portion are accessed; determining whether the accessed block satisfies a list update criterion; and updating the order in which cache blocks assigned to the selected list are accessed from the cache memory based on determining that the accessed cache block satisfies the list update criterion.

[0227] In Example 141, a method for caching data accessed in a storage device includes: selecting a list from a plurality of lists based on a cache block accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed; determining whether the accessed cache block satisfies a list update criterion; and updating the order in which cache blocks assigned to the selected list are accessed from the cache memory based on determining that the accessed cache block satisfies the list update criterion.

[0228] In Example 142, the method of any one of Examples 140 or 141, wherein selecting a list from a plurality of lists comprises determining an address of the accessed cache block in the cache memory.

[0229] In Example 143, the method of Example 142, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on the determined address of the accessed cache block.

[0230] In Example 144, the method of any one of Examples 140 to 143, wherein selecting a list from a plurality of lists comprises determining whether an address of the accessed cache block in the cache memory is within the table.

[0231] In Example 145, the method of Example 144, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is within the table.

[0232] In Example 146, the method of any one of Examples 140 to 145, wherein selecting a list from a plurality of lists comprises determining within the table whether an address of the accessed cache block in the cache memory is associated with the selected list.

[0233] In Example 147, the method of Example 146, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0234] In Example 148, the method of any one of Examples 140 to 147, wherein selecting a list from a plurality of lists comprises determining within a lookup table that an address of the accessed cache block in the cache memory is associated with the selected list.

[0235] In Example 149, the method of Example 148, wherein selecting the list from the plurality of lists further comprises: selecting the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0236] In Example 150, the method of any one of Examples 140 to 149, wherein determining whether the accessed cache block satisfies the list update criteria comprises determining whether the accessed cache block was previously accessed within a threshold number of updates of the selected list.

[0237] In Example 151, the method of any one of Examples 140 to 150, wherein determining whether the accessed cache block satisfies the list update criteria comprises comparing a timestamp value associated with the accessed cache block to a threshold update count of the selected list.

[0238] In Example 152, the method of Example 151, wherein determining whether the accessed cache block satisfies the list update criteria comprises: determining that the accessed cache block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0239] In Example 153, the method of any one of Examples 140 to 152 further includes: modifying the count value each time an access to a corresponding cache block in the cache blocks causes the order of the selected list to be updated; and associating the modified count value with the corresponding cache block in the cache blocks that causes the selected list to be updated, wherein determining whether the accessed cache block meets the list update criteria includes: comparing the modified count value associated with the accessed cache block with a threshold update count of the selected list.

[0240] In Example 154, the method of Example 153, wherein determining whether the accessed cache block satisfies the list update criteria further comprises: determining that the accessed cache block satisfies the list update criteria based on the modified count value being greater than or equal to a threshold number of updates.

[0241] In Example 155, the method of any one of Examples 153 or 154 further includes: setting the modified count value to a timestamp value associated with a corresponding cache block in the cache block that causes the selected list to be updated, wherein determining whether the accessed cache block meets the list update criteria also includes: comparing the timestamp value associated with the accessed cache block with a threshold update count of the selected list.

[0242] In Example 156, the method of Example 155, wherein determining whether the accessed cache block satisfies the list update criteria comprises: determining that the accessed cache block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold number of updates.

[0243] In Example 157, the method of any one of Examples 140 to 156, wherein updating the order in which cache blocks assigned to the selected list are accessed includes: in response to the cache blocks being accessed, updating the order in which cache blocks assigned to the selected list are accessed.

[0244] In Example 158, the method of any one of Examples 140 to 157, wherein updating the order in which cache blocks assigned to the selected list are accessed includes updating the position of the accessed cache blocks within the order indicated by the selected list.

[0245] In Example 159, the method of any one of Examples 140 to 158, wherein updating the order in which cache blocks assigned to the selected list are accessed includes updating the position of the accessed cache block to a head position within the order indicated by the selected list.

[0246] In Example 160, the method of any one of Examples 140 to 159 further includes returning the cache block from the cache memory using a list of the plurality of lists.

[0247] In Example 161, the method of any one of Examples 140 to 160 further includes returning the cache block from the cache memory using the selected list indicating the updated order.

[0248] In Example 162, the method of any one of Examples 140 to 161 further includes: dividing the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0249] In Example 163, the method of any one of Examples 140 to 162 further includes: determining a list for the eviction process from a plurality of lists based on the eviction order.

[0250] In Example 164, the method of Example 163 further includes: evicting the cache block from the determined list based on the eviction order.

[0251] In Example 165, the method of any one of Examples 140 to 164 further includes: determining a list for the eviction process from a plurality of lists based on a predetermined eviction order.

[0252] In Example 166, the method of Example 165 further includes: evicting the cache block from the determined list based on a predetermined eviction order.

[0253] In Example 167, the method of any one of Examples 140 to 166 further includes: determining a list for the eviction process from a plurality of lists based on a sequential eviction order.

[0254] In Example 168, the method of Example 167 further includes: evicting the cache block from the determined list based on a sequential eviction process.

[0255] In Example 169, the method of any one of Examples 140 to 168 further includes determining a list for the eviction process from a plurality of lists based on a non-sequential eviction order.

[0256] In Example 170, the method of Example 169 further includes: evicting the cache block from the determined list based on a non-sequential eviction order.

[0257] In Example 171, the method of any one of Examples 140 to 170 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a threshold list size.

[0258] In Example 172, the method of Example 171 further includes: evicting the cache block from the determined list based on a comparison of the determined size of the list with a threshold list size.

[0259] In Example 173, the method of any one of Examples 140 to 172 further includes determining a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a predetermined threshold list size.

[0260] In Example 174, the method of Example 173 further includes: evicting the cache block from the determined list based on a comparison of the size of the determined list with a predetermined threshold list size.

[0261] In Example 175, the method of any one of Examples 140 to 174 further includes determining a list to be evict from the plurality of lists based on a comparison of the determined size of the list with a variable threshold list size.

[0262] In Example 176, the method of Example 175 further includes: evicting the cache block from the determined list based on a comparison of the determined size of the list with a variable threshold list size.

[0263] In Example 177, the method of any one of Examples 140 to 176 further includes: determining a position of a candidate cache block for an eviction process within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0264] In Example 178, the method of Example 177 further includes: evicting the candidate cache block from the list to which the candidate cache block is assigned based on the determined position of the candidate cache block.

[0265] In Example 179, the method of any one of Examples 140 to 178 further includes: determining a position of the candidate cache block within an order indicated by a list in a plurality of lists to which the candidate cache block is assigned.

[0266] In Example 180, the method of Example 179 further comprises: in response to determining that the position of the candidate cache block is a tail position, evicting the candidate cache block from the list to which the candidate cache block is assigned.

[0267] In Example 181, a device for caching data accessed in a storage device includes: a cache memory divided into multiple cache parts including a first cache part and a second cache part; and a cache memory controller configured to: select a list from a first list and a second list based on cache blocks accessed from the cache memory, the first list being assigned to the first cache part and the second list being assigned to the second cache part, the first list indicating the order in which cache blocks in the first cache part are accessed, and the second list indicating the order in which cache blocks in the second cache part are accessed; and determine whether the accessed cache block meets the list update criteria; and based on determining that the accessed cache block meets the list update criteria, update the order in which cache blocks assigned to the selected list are accessed from the cache memory.

[0268] In Example 182, a device for caching data accessed in a storage device includes: a cache memory divided into multiple cache parts; and a cache memory controller configured to: select a list from multiple lists based on cache blocks accessed from the cache memory, each list in the multiple lists being assigned to a corresponding cache part in the multiple cache parts, each list in the multiple lists indicating the order in which cache blocks in the corresponding part are accessed; determine whether the accessed cache block meets the list update criteria; and based on determining that the accessed cache block meets the list update criteria, update the order in which cache blocks assigned to the selected list are accessed from the cache memory.

[0269] In Example 183, the apparatus of any one of Examples 181 or 182, wherein the cache memory controller is configured to select a list from a plurality of lists by determining an address of an accessed cache block in the cache memory.

[0270] In Example 184, the apparatus of Example 183, wherein the cache memory controller is further configured to select a list from the plurality of lists based on the determined address of the accessed cache block.

[0271] In Example 185, the apparatus of any one of Examples 181 to 184, wherein the cache memory controller is configured to select a list from a plurality of lists by determining whether an address of an accessed cache block in the cache memory is within a table.

[0272] In Example 186, the apparatus of Example 185, wherein the cache memory controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is within the table.

[0273] In Example 187, the apparatus of any of Examples 181 to 186, wherein the cache memory controller is configured to select a list from a plurality of lists by determining within the table whether an address of an accessed cache block in the cache memory is associated with the selected list.

[0274] In Example 188, the apparatus of Example 187, wherein the cache controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0275] In Example 189, the apparatus of any of Examples 181 to 188, wherein the cache memory controller is configured to select a list from a plurality of lists by determining within a lookup table whether an address of an accessed cache block in the cache memory is associated with the selected list.

[0276] In Example 190, the apparatus of Example 189, wherein the cache controller is further configured to select the list from the plurality of lists based on determining that the address of the accessed cache block is associated with the selected list.

[0277] In Example 191, the apparatus of any of Examples 181 to 190, wherein the cache memory controller is configured to determine whether the accessed cache block satisfies the list update criteria by determining whether the accessed cache block was previously accessed within a threshold number of updates of the selected list.

[0278] In Example 192, the apparatus of any of Examples 181 to 191, wherein the cache memory controller is configured to determine whether an accessed cache block satisfies a list update criterion by comparing a timestamp value associated with the accessed cache block to a threshold update count of a selected list.

[0279] In Example 193, the device of Example 192, wherein the cache memory controller is further configured to determine whether the accessed cache block meets the list update criteria by: determining that the accessed cache block meets the list update criteria based on the timestamp value being greater than or equal to a threshold update number.

[0280] In Example 194, a device of any of Examples 181 to 193, wherein the cache memory controller is configured to: modify a count value each time an access to a corresponding cache block in the cache blocks causes the order of the selected list to be updated; and associate the modified count value with the corresponding cache block in the cache blocks, and the cache memory controller is further configured to determine whether the accessed cache block satisfies the list update criteria by comparing the modified count value associated with the accessed cache block with a threshold update count of the selected list.

[0281] In Example 195, the device of Example 194, wherein the cache memory controller is further configured to determine whether the accessed cache block meets the list update criteria by performing the following operations: determining that the accessed cache block meets the list update criteria based on the modified count value being greater than or equal to the threshold update number.

[0282] In Example 196, the device of any of Examples 194 or 195, wherein the cache memory controller is configured to: set the modified count value to a timestamp value associated with a corresponding cache block in the cache block that caused the selected list to be updated, and the cache memory controller is further configured to determine whether the accessed cache block meets the list update criteria by comparing the timestamp value associated with the accessed cache block with a threshold update number of the selected list.

[0283] In Example 197, the apparatus of Example 196, wherein the cache memory controller is further configured to determine whether the accessed cache block satisfies the list update criteria based on the timestamp value being greater than or equal to a threshold update number.

[0284] In Example 198, the apparatus of any one of Examples 181 to 197, wherein the cache memory controller is configured to update, in response to the cache blocks being accessed, an order in which cache blocks assigned to the selected list are accessed.

[0285] In Example 199, a device of any of Examples 181 to 198, wherein the cache memory controller is configured to update the order in which cache blocks assigned to a selected list are accessed by updating the position of the accessed cache blocks within the order indicated by the selected list.

[0286] In Example 200, a device of any of Examples 181 to 199, wherein the cache memory controller is configured to update the order in which cache blocks assigned to a selected list are accessed by updating the position of the accessed cache block to a head position within the order indicated by the selected list.

[0287] In Example 201, the apparatus of any one of Examples 181 to 200, wherein the cache memory controller is configured to return the cache block from the cache memory using a list of the plurality of lists.

[0288] In Example 202, the apparatus of any one of Examples 181 to 201, wherein the cache memory controller is configured to return the cache block from the cache memory using the selected list indicating the updated order.

[0289] In Example 203, the apparatus of any one of Examples 181 to 202, wherein the cache memory controller is configured to divide the cache memory into a plurality of cache portions such that each cache portion has an equal size.

[0290] In Example 204, the apparatus of any one of Examples 181 to 203, wherein the cache controller is configured to determine a list for the eviction process from the plurality of lists based on an eviction order.

[0291] In Example 205, the apparatus of Example 204, wherein the cache memory controller is configured to evict the cache block from the determined list based on an eviction order.

[0292] In Example 206, the apparatus of any one of Examples 181 to 205, wherein the cache controller is configured to determine a list for the eviction process from the plurality of lists based on a predetermined eviction order.

[0293] In Example 207, the apparatus of Example 206, wherein the cache memory controller is configured to evict the cache block from the determined list based on a predetermined eviction order.

[0294] In Example 208, the apparatus of any one of Examples 181 to 205, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a sequential eviction order.

[0295] In Example 209, the apparatus of Example 208, wherein the cache memory controller is configured to evict the cache block from the determined list based on a sequential eviction order.

[0296] In Example 210, the apparatus of any one of Examples 181 to 209, wherein the cache controller is configured to determine the list for the eviction process from the plurality of lists based on a non-sequential eviction order.

[0297] In Example 211, the apparatus of Example 210, wherein the cache memory controller is configured to evict the cache block from the determined list based on a non-sequential eviction order.

[0298] In Example 212, the apparatus of any one of Examples 181 to 209, wherein the cache controller is configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a threshold list size.

[0299] In Example 213, the device of Example 212, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the size of the determined list with a threshold list size.

[0300] In Example 214, the apparatus of any one of Examples 181 to 213, wherein the cache memory controller is configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a predetermined threshold list size.

[0301] In Example 215, the device of Example 214, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the size of the determined list with a predetermined threshold list size.

[0302] In Example 216, the apparatus of any one of Examples 181 to 215, wherein the cache memory controller is configured to determine a list for the eviction process from the plurality of lists based on a comparison of the determined size of the list with a variable threshold list size.

[0303] In Example 217, the apparatus of Example 216, wherein the cache memory controller is configured to: evict the cache block from the determined list based on a comparison of the determined size of the list to a variable threshold list size.

[0304] In Example 218, the apparatus of any one of Examples 181 to 217, wherein the cache memory controller is configured to: determine a position of a candidate cache for an eviction process within an order indicated by a list among a plurality of lists to which the candidate cache is assigned.

[0305] In Example 219, the apparatus of Example 218, wherein the cache memory controller is configured to: evict the candidate cache block from the list to which the candidate cache block is assigned based on the determined location of the candidate cache block.

[0306] In Example 220, the apparatus of any one of Examples 181 to 219, wherein the cache memory controller is configured to: determine a position of the candidate cache block within an order indicated by a list among a plurality of lists to which the candidate cache block is assigned.

[0307] In Example 221, the apparatus of Example 220, wherein the cache memory controller is configured to: in response to determining that the position of the candidate cache block is a tail position, evict the candidate cache block from the list to which the candidate cache block is assigned.

[0308] In Example 222, the apparatus of Example 220, wherein the cache memory controller is configured to: in response to determining that the position of the candidate cache block is a tail position, evict the candidate cache block from the list to which the candidate cache block is assigned.

[0309] In Example 223, a computing device includes a processing circuit configured to perform the method of any one of Examples 1 to 34.

[0310] In Example 224, a computing device includes a processing circuit configured to perform the method of any one of Examples 69 to 103.

[0311] In Example 225, a computing device includes a processing circuit configured to perform the method of any one of Examples 140 to 180.

[0312] In Example 226, a processing circuit is configured to perform the method of any one of Examples 1 to 34.

[0313] In Example 227, a processing circuit is configured to perform the method of any one of Examples 69 to 103.

[0314] In Example 228, a processing circuit is configured to perform the method of any one of Examples 140 to 180.

[0315] In Example 229, a non-transitory computer readable medium stores instructions that, when executed by a processor, cause the processor to perform the method of any one of Examples 1 to 20.

[0316] In Example 230, a non-transitory computer readable medium stores instructions that, when executed by a processor, cause the processor to perform the method of any one of Examples 69 to 103.

[0317] In Example 231, a non-transitory computer readable medium storing instructions, which when executed by a processor causes the processor to perform the method of any one of Examples 140 to 180.

[0318] In Example 232, a non-transitory computer readable medium stores instructions that, when executed by a processing circuit of a computing device, cause the computing device to perform the method of any one of Examples 1 to 20.

[0319] In Example 233, a non-transitory computer readable medium storing instructions, which when executed by a processing circuit of a computing device causes the computing device to perform the method of any one of Examples 69 to 103.

[0320] In Example 234, a non-transitory computer readable medium storing instructions, which when executed by a processing circuit of a computing device causes the computing device to perform the method of any one of Examples 140 to 180.

[0321] Although the above description and related drawings may depict electronic device components as separate elements, the skilled person will be aware of various possibilities for combining or integrating discrete elements into a single element. This may include: combining two or more circuits to form a single circuit, mounting two or more circuits onto a common chip or chassis to form an integrated element, executing discrete software components on a common processor core, etc. Conversely, the skilled person will recognize the possibility of separating a single element into two or more discrete elements, for example, splitting a single circuit into two or more separate circuits, separating a chip or chassis into discrete elements originally disposed thereon, separating a software component into two or more parts and executing each part on a separate processor core, etc.

[0322] It should be appreciated that the implementation of the methods detailed herein is illustrative in nature and is therefore understood to be implemented in corresponding devices. It is also appreciated that the implementation of the devices detailed herein is understood to be implemented as corresponding methods. It should therefore be understood that the devices corresponding to the methods detailed herein may include one or more components configured to perform each aspect of the related method.

[0323] All abbreviations defined in the above specification are additionally applicable in all claims contained herein.

[0324] The terms used herein are only for the purpose of describing specific example aspects, and are not intended to be limited. As used herein, the singular forms "one", "an" and "the" may be intended to also include plural forms, unless the context clearly indicates otherwise. The term "and / or" includes any and all combinations of one or more of the associated listed items. The terms "include", "comprise", "include", "contain" and "have" are inclusive, and therefore specify the existence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their groups. The method steps, processes and operations described herein should not be interpreted as necessarily requiring them to be performed in the specific order discussed or shown, unless specifically identified as an execution order. It should also be understood that additional or alternative steps can be adopted.

[0325] Although the terms first, second, third, etc. can be used in this article to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or part from another region, layer or part. When used herein, terms such as "first", "second" and other numerical items do not imply order or sequence, unless the context clearly indicates. Therefore, the first element, component, region, layer or part discussed below can be referred to as the second element, component, region, layer or part, without departing from the teaching of example aspects.

[0326] Although the disclosure has been particularly shown and described with reference to specific aspects, it will be appreciated by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims. The various aspects of the disclosure are not necessarily mutually exclusive, as some aspects of the disclosure may be combined with one or more other aspects of the disclosure to form new aspects. The scope of the disclosure is therefore indicated by the appended claims, and is therefore intended to include all changes within the meaning and scope of the equivalent content of the rights.

Claims

1. A method for caching data accessed in a storage device, the method comprising: include: selecting a list from a plurality of lists based on cache blocks accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed; determining whether the accessed cache block satisfies list update criteria based on the count value of the selected list, the count value of the accessed cache block, and a threshold number of updates to the selected list; and The order in which cache blocks assigned to the selected list are accessed from the cache memory is updated based on a determination that the accessed cache block satisfies the list update criteria.

2. The method according to claim 1, in, Selecting the list from the plurality of lists comprises: A determination is made within a lookup table as to whether the address of the accessed cache block in the cache memory is associated with the selected list.

3. The method according to claim 2, in, Selecting the list from the plurality of lists further comprises: The list is selected from the plurality of lists based on a determination that the address of the accessed cache block is associated with the selected list.

4. The method according to any one of claims 1 to 3, in, Determining whether the accessed cache block satisfies the list update criteria includes: A determination is made as to whether the accessed cache block was previously accessed within a threshold number of updates to the selected list.

5. The method according to claim 1, further comprising: include: modifying the count value each time an access to a corresponding one of the cache blocks causes the order of the selected list to be updated; as well as associating the modified count value with the corresponding one of the cache blocks causing the selected list to be updated, Wherein, determining whether the accessed cache block meets the list update standard includes: The modified count value associated with the accessed cache block is compared to a threshold update count for the selected list.

6. The method according to claim 5, in, Determining whether the accessed cache block satisfies the list update criteria further includes: Based on the modified count value being greater than or equal to the threshold update number, it is determined that the accessed cache block meets the list update criteria.

7. The method according to any one of claims 5 or 6, further comprising: include: setting the modified count value to a timestamp value associated with the corresponding one of the cache blocks that caused the selected list to be updated, Wherein, determining whether the accessed cache block satisfies the list update standard further includes: The timestamp value associated with the accessed cache block is compared to a threshold update number for the selected list.

8. The method according to any one of claims 1 to 3, in, Updating the order in which cache blocks assigned to the selected list are accessed comprises: The location of the accessed cache block is updated to the head position within the order indicated by the selected list.

9. The method according to any one of claims 1 to 3, further comprising: include: Cache blocks are returned from the cache memory using the selected list indicating the updated order.

10. The method according to any one of claims 1 to 3, further comprising: include: A list for an eviction process is determined from the plurality of lists based on an eviction order.

11. The method according to claim 10, further comprising: include: Cache blocks are evicted from the determined list based on the eviction order.

12. A method for caching data accessed in a storage device, the method include: selecting a list from a plurality of lists based on cache blocks accessed from a cache memory, the cache memory being divided into a plurality of cache portions, each list in the plurality of lists being assigned to a corresponding cache portion in the plurality of cache portions, each list in the plurality of lists indicating an order in which cache blocks in the corresponding cache portion are accessed; as well as The order in which cache blocks assigned to the selected list are accessed is updated based on the count value of the selected list, the count value of the accessed cache blocks, and a threshold number of updates to the selected list.

13. The method according to claim 12, in, Selecting the list from the plurality of lists comprises: An address of an accessed cache block in the cache memory is determined.

14. The method according to any one of claims 12 or 13, further comprising: include: Cache blocks are returned from the cache memory using the selected list indicating the updated order.

15. The method according to any one of claims 12 or 13, further comprising: include: A list for an eviction process is determined from the plurality of lists based on a sequential eviction order.

16. The method according to claim 15, further comprising: include: Cache blocks are evicted from the determined list based on the sequential eviction order.

17. A device for caching data, the device include: a cache memory storing a plurality of cache blocks, the cache memory being allocated with a list indicating an order in which cache blocks are accessed from the cache memory; as well as A cache memory controller is configured to determining whether a block to be accessed from a storage device is a cache block stored in the cache memory; In response to determining that the block is one of cache blocks stored in the cache memory, determining whether the block satisfies list update criteria based on a count value of the list, a count value of the block, and a threshold number of updates to the list; as well as In response to determining that the block satisfies the list update criteria, the order indicated by the list in which cache blocks are accessed from the cache memory is updated.

18. The device according to claim 17, in, The cache memory controller is configured to return a cache block from the cache memory using one of a plurality of lists, and The cache memory includes a plurality of cache portions, each of the plurality of lists is assigned to a corresponding cache portion of the plurality of cache portions, and each list indicates an order in which cache blocks in the corresponding cache portion are accessed.

19. The apparatus according to any one of claims 17 to 18, in, The cache memory controller is configured to: Cache blocks are returned from the cache memory using the list indicating the updated order.

20. The apparatus according to any one of claims 17 to 18, in, The cache memory controller is configured to: The cache memory is divided into a plurality of cache sections such that each cache section has an equal size.

21. The apparatus according to claim 18, in, The cache memory controller is configured to: A list for an eviction process is determined from the plurality of lists based on an eviction order.

22. The device according to claim 21, in, The cache memory controller is configured to: Cache blocks are evicted from the determined list based on the eviction order.

23. A computing device comprising processing circuitry configured to perform the method according to any one of claims 1 or 12.

24. A processing circuit configured to perform the method according to any one of claims 1 or 12.

25. A non-transitory computer readable medium storing instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 or 12.

Citation Information

Patent Citations

  • Critical-word-first ordering of cache memory fills to accelerate cache memory accesses, and related processor-based systems and methods

    EP2965209A1

  • System and method for adaptively managing pages in a memory

    US20050235114A1

  • Method for programmer-controlled cache line eviction policy

    US20060143396A1

  • Systems and methods for cooperative cache management

    US20130185488A1

  • Aggregating Cache Eviction Notifications to a Directory

    US20140229680A1