Managing data structures for multiple memory devices that are marked for demoting after the data structures are initialized

By demoting data structures from DRAM to NAND flash based on access and update counts, the method optimizes SCM system performance and extends the lifespan of flash memory cells.

JP7573615B2Active Publication Date: 2024-10-25INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022537265
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-01-07
Filing Date
2020-12-15
Publication Date
2024-10-25
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

Existing storage-class memory (SCM) systems face challenges in managing data structures across multiple memory devices, particularly due to the durability differences between DRAM and flash NAND devices, leading to inefficient wear and tear on flash memory cells.

Method used

A method for managing data structures by demoting them from high-latency first-level memory devices (like DRAM) to lower-latency second-level devices (like NAND flash) after initialization, based on access counts and update frequencies, optimizing system performance by aligning data storage with device endurance profiles.

Benefits of technology

This approach improves system performance by maximizing free space in high-latency devices for frequently accessed data and reducing wear on flash memory cells, ensuring efficient use of memory resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573615000001
    Figure 0007573615000001
  • Figure 0007573615000002
    Figure 0007573615000002
  • Figure 0007573615000003
    Figure 0007573615000003
Patent Text Reader

Abstract

A computer program product, system, and method are provided for managing data structures of multiple memory devices marked for demoting after initialization of the data structures. The data structures are marked for demoting after initialization from a first level memory device to a second level memory device. The first level memory device has a lower latency than the second level memory device. Upon completion of the initialization of the data structures in the first level memory device, the data structures marked for demoting after initialization are copied from the first level memory device to the second level memory device, and the data structures marked for de-initialization are deleted from the first level memory device.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a computer program product, system, and method for managing data structures of multiple memory devices that are marked to demote after initialization of the data structures. [Background technology]

[0002] A storage class memory (SCM) system utilizes low latency dynamic random access memory (DRAM) and one or more higher latency flash NAND memory devices that are lower cost than DRAM to provide high storage capacity for memory or cache at low cost by using higher latency, lower cost NAND devices. SCM allows system memory to be expanded with faster access non-volatile memory NAND devices.

[0003] Flash memory devices have a lower endurance than DRAM because flash bit cells have a limited number of erase cycles, much less than DRAM cells. One prior art technique for reducing wear on flash memory devices is to use a wear leveling technique that distributes writes across many flash memory cells in the same or different devices to avoid overusing a particular flash memory cell.

[0004] There is a need in the art for improved techniques for managing the storage of data across multiple memory devices in a memory subsystem, such as a SCM system. Summary of the Invention

[0005] Computer program products, systems, and methods are provided for managing data structures of a plurality of memory devices marked for demoting after initialization of the data structures. Data structures are marked for demoting from a first level memory device to a second level memory device after initialization. The first level memory device has a lower latency than the second level memory device. Upon completion of initialization of the data structures of the first level memory device, the data structures marked for demoting after initialization are copied from the first level memory device to the second level memory device and the data structures marked for transfer after initialization are deleted from the first level memory device.

[0006] In the above-described embodiment, a data structure that is accessed infrequently may be moved to a lower level memory device for continuous storage because the data structure is accessed infrequently and read accesses may be serviced from the lower level memory device. However, if a data structure designated as demoted needs to be written to after initialization, the data structure may be moved to the first level memory device for one or more write operations to the data structure. Once the write operations are completed, the data structure may be demoted from the first level memory device and moved to a lower level memory device because the data structure is not likely to be write accessed for a significant period of time.

[0007] In a further embodiment, access counts are maintained in data structures stored in the first level memory device that are not marked to be demoted after initialization, and access counts are not maintained in data structures that are marked to be demoted after initialization.

[0008] In the above-described embodiments, access counts are not required for data structures that are automatically demoted after being updated or initialized because access counts are emptied from the first level memory device after being used regardless of the access count.

[0009] In a further embodiment, the access counts are used to select data structures to be removed from the first level memory device and retained in the second level memory device to free up space in the first level memory device, and the access counts are used to determine whether an accessed data structure should be removed from the second level memory device.

[0010] In the above-described embodiments, using access counts to determine whether a data structure should be stored in low latency storage or high latency storage can improve system performance by placing high access count data in low latency storage to optimize system performance and low access count data in high latency storage where the low access count data is accessed less frequently and therefore has less impact on system performance.

[0011] In a further embodiment, an update to a data structure indicated to be demoted after initialization is received, the data structure to be updated is copied from the second level memory device to the first level memory device and updated, the updated data structure is copied from the first level memory device to the second level memory device, and the updated data structure is erased from the first level memory device.

[0012] In the above-described embodiment, system performance is improved by moving updated data structures marked for demoting after initialization to a low latency memory device to perform the updates, and then the data structures are purged from the first level memory device after being updated since they are unlikely to be accessed if data structures marked for demoting after initialization are accessed very infrequently.

[0013] Further provided are computer program products, systems, and methods for managing data in a plurality of memory devices of a computing system. An update to a data structure indicated to be demoted from a first level memory device is received. The data structure to be updated is copied from a second level memory device to the first level memory device and updated. The first level memory device has a lower latency than the second level memory device. The updated data structure is copied from the first level memory device to the second level memory device and demoted from the first level memory device in response to the update of the data structure.

[0014] In the above described embodiment, system performance is improved by moving updated data structures indicated for demoting to a lower latency memory device to perform the updates and then erasing them from the first level memory device after updating since the data structures indicated for demoting after initialization are unlikely to be accessed if they are accessed very infrequently. Moving infrequently accessed data structures from the lower latency device to a higher latency device for storage improves system performance by maximizing the free space on the lower latency device available for more frequently accessed data structures.

[0015] In a further embodiment, the updates to the data structure are to at least one field of the data structure to be updated that is less than all fields of the data structure, and copying the data structure includes copying only the at least one field to be updated from the data structure to the first level memory device, and copying the updated data structure includes copying the at least one field to be updated from the first level memory device to the second level memory device and erasing the at least one field to be updated from the first level memory device.

[0016] In the above described embodiment, space in the low latency first level memory is further saved and optimized by simply copying and updating the fields to be updated from the data structure in the second level memory device to the first level memory device.

[0017] In a further embodiment, a data structure to be updated resides in a second level memory device. The determination is whether the update includes an update event of a plurality of predefined update events. The data structure is copied to the first level memory device for updating in response to a determination that the update includes an update event. A plurality of writes to the data structure are performed as part of the update event. The data structure to be updated as part of the update event is copied from the first level memory device to the second level memory device, and in response to completion of the writes of the update event, the updated data structure is erased from the first level memory device.

[0018] In the above-described embodiment, data structures that are to be demoted after being updated or initialized are generally accessed infrequently, but are copied to the first level memory device if the data structures are likely to be subject to bursts of writes. Such data structures may be periodically staged to the first level memory device for bursts of writes as part of an operation to update a system configuration file. Because such configuration files are updated very infrequently, after the update event the system data structures may be moved back to the lower level memory device for storage and access. This frees up space on the faster access first level memory device for other, more frequently accessed data. [Brief description of the drawings]

[0019] [Figure 1] FIG. 1 illustrates one embodiment of a computing environment having a memory subsystem having multiple memory devices. [Diagram 2] FIG. 1 illustrates one embodiment of data structure information for managing storage of data structures in a memory device. [Diagram 3] FIG. 1 illustrates one embodiment of operations for performing system initialization to generate initial system data structures. [Figure 4] FIG. 1 illustrates one embodiment of operations for processing an access request for the single copy case in which only a single copy of a data structure is stored throughout a memory subsystem. [Diagram 5] FIG. 1 illustrates one embodiment of operations for performing memory management operations to free up space in a first level memory device for a single copy case in which only a single copy of a data structure is stored throughout a memory subsystem. [Figure 6] FIG. 1 illustrates one embodiment of operations for processing access requests for the multiple copy case where multiple copies of a data structure are stored throughout a memory subsystem. [Figure 7] FIG. 1 illustrates one embodiment of operations for performing memory management operations to free up space in a first level memory device for the case of multiple copies of a data structure stored throughout a memory subsystem. [Figure 8] FIG. 1 illustrates one embodiment of operations for processing access requests for the multiple copy case where multiple copies of a data structure with separate update and read counts are stored throughout a memory subsystem. [Figure 9] FIG. 13 illustrates one embodiment of operations for performing memory management operations to free up space in a first level memory device for the case where multiple copies of a data structure with separate update and read counts are stored throughout a memory subsystem. [Figure 10] FIG. 1 illustrates one embodiment of operations for performing system initialization and generating data structures in a memory subsystem having multiple memory devices. [Figure 11] FIG. 1 illustrates one embodiment of operations for handling access to a data structure that is demoted after initialization in a memory subsystem of a plurality of memory devices. [Figure 12] FIG. 2 illustrates a computing environment in which the components of FIG. 1 can be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] System control structures used to define the logical devices of a computing system may be maintained in the main DRAM memory, however, when the DRAM reaches a point where it is nearly full, a time-consuming memory management process is used to move the DRAM data structures to lower levels of storage, such as higher latency NAND flash memory or disk storage.

[0021] The described embodiments provide improved computer techniques for managing data structures in a memory subsystem comprised of multiple different levels of memory devices having different characteristics, e.g., a first level memory device with the lowest latency, e.g., DRAM, and a lower level memory device with a different, higher latency and less expensive, e.g., NAND flash memory. In the described embodiments, access counts are used to determine when to move a data structure from a first level memory device to a lower level memory device with a higher latency. Access counts can also be used to determine whether multiple copies of a data structure should be maintained in the first level memory device and the lower level memory device based on access thresholds maintained in the different lower level memory devices to align placement of the data structure in the lower level memory device with an appropriate endurance profile, e.g., number of erase cycles, with the access count profile of the data structure.

[0022] In further embodiments, the access count can be used to determine whether multiple copies of a data structure should be maintained in multiple memory devices as the data structure is accessed, or should simply remain in the first level memory device. Data structures that are accessed less frequently than the most frequently updated data structures can be designated as swappable to allow storage in lower level memory devices having higher latency, while the most frequently accessed data structures are not swappable and can remain in the first level memory device with the lowest latency.

[0023] Yet further, the access counts may include separate read and update counts for use in determining whether to move less frequently updated data structures to lower level memory devices. Additionally, there may be more expensive lower level memory devices with higher endurance, such as allowing more erase cycles, and only the highest access count data structures may be placed in the lower level memory devices with greater endurance, while data structures with lower update counts may be stored in less expensive lower level memory devices with lower endurance, such as allowing fewer erase cycles. This allows for optimizing placement of data structures in the lower level memory devices by aligning the data structures with the lower level memory devices by update count based on the endurance of the lower level memory devices.

[0024] 1 illustrates one embodiment of a computing environment. A number of hosts 102 can send input / output (I / O) requests over a network 106 to a storage controller 104 to access data in volumes 108 (e.g., logical unit numbers, logical devices, logical subsystems, etc.) in a storage 110. The storage controller 104 includes one or more processors 112 and a number of memory devices, e.g., a first level memory device 1161, a second level memory device 1162 through an nth level memory device 1163, and a second level memory device 1164. nThe virtual memory manager 114 maintains data structure information 200 having information about data structures 1181, 1182, and 1183, such as system data structures or objects, created by the operating system during system initialization, and the virtual memory manager 114 processes the data structure information 200 to determine which of one or more level memory devices 1161...116 in which to store the system and other data structures. n The virtual memory manager 114 also maintains an address translation table to provide translation services and to keep track of the memory devices 1161...116 within the volume 108. n The virtual memory manager 114 manages the lower level memory devices 1161...116 n Different memory devices such as solid-state storage devices (SSDs) or flash memory have a limited number of erase cycles to extend their lifespan. n and algorithms for performing wear leveling to distribute write operations to different locations within the memory device. In certain embodiments, the virtual memory manager 114 and the level memory devices 1161...116 n The memory subsystem, including the storage controller 104, may act as a cache for other computing devices.

[0025] A processor 112, a virtual memory manager 114, and memory devices 1161...116 n can communicate via one or more bus interfaces 120. Additionally, the virtual memory manager 114 manages the memory devices 1161...116 nFor example, a local memory interface may be used to communicate with a first level memory device 1161, such as a DRAM, and a storage device interface may be used to communicate with a lower level memory device 1162, such as a non-volatile memory express (NVME), etc. n and thereby can communicate with flash memory and SSDs.

[0026] In one embodiment, the first level memory devices 1161 may include high cost, very low latency devices, such as dynamic random access memory (DRAM) or static random access memory (SRAM), and the lower level memory devices 1161...116 n may include less expensive, higher latency, and larger capacity storage devices, such as non-volatile random access memory (NVRAM), including magnetoresistive random access memory (MRAM), phase change memory (PCM), resistive random access memory (RRAM), spin transfer torque memory (STM-RAM), conductive bridging RAM (CBRAM), NAND memory devices such as flash memory and solid state drives (SSD), etc. In one embodiment, the lower level memory devices 1162...116 n may have endurance profiles with different numbers of available erase cycles, resulting in memory devices 1162...116 n The higher level ones are memory devices 1162...116 n For example, the lower level memory device 116 can be erased at a higher number of erase cycles, i.e., at a higher endurance, than the lower level memory device 116. i 116 jhave greater durability, i.e., be capable of more erase cycles, where i < j. One or more lower level memory devices 116 i may be present.

[0027] The virtual memory manager 114 can include a separate process or hardware device implemented as microcode or firmware in a hardware device of a storage controller 104, such as an application specific integrated circuit (ASIC). Alternatively, the virtual memory manager 114 can include a system having a processor that executes code loaded into a memory device. Still further, the virtual memory manager 114 can be implemented as code loaded into a first level memory device 1161 and executed by a processor 112.

[0028] The storage 110 can include one or more storage devices known in the art, such as solid state storage devices (SSDs), magnetic hard disk drives, optical disks, tapes, etc. The storage device can further be configured as an array of devices such as just a bunch of disks (JBOD), direct access storage device (DASD), redundant array of independent disks (RAID), virtualized devices, etc. Further, the storage device can include heterogeneous storage devices from different vendors or from the same vendor.

[0029] The network 106 may include a storage area network (SAN), a local area network (LAN), a wide area network (WAN), the Internet, an intranet, etc. Alternatively, the host 102 may be connected to the storage controller 104 via a bus interface, such as a peripheral component interconnect (PCI) bus interface and other interfaces known in the art.

[0030] FIG. 2 illustrates a data structure identifier (ID) 202, such as a file or object name, and a representation of the data structure 202 stored in a first level memory device 1161 and a lower level memory device 1162...116 n a swappable flag indicating whether the data structure 202 can be periodically moved between the first level memory device 1161 and the second level memory device 1162; an update count 206 indicating the number of times the data structure 202 has been updated within a measurement period; a read count 208 indicating the number of times the data structure 202 has been read within a measurement period; an after-initialization demote flag 210 indicating whether the data structure 202 should be demoted immediately after being created in the first level memory device 1161; n Data structure information 200 of a data structure including a device pointer 212 indicating i 1 illustrates an embodiment of the above case.

[0031] In one embodiment, the swappable flag 204 and the demote after initialization flag 210 may be set by an operating system developer or administrator based on the estimated frequency with which the data structures will be accessed. For example, the most frequently updated or accessed data structures may be marked as swappable to always be kept in the fastest first level memory device 1161. Less frequently accessed data structures 1181, 1182, 1183 may be occasionally moved to lower level memory devices 1162...1163 to free up space in the first level memory device 1161. n can be swapped to

[0032] The update count 206 is a signal to a lower level memory device 116 that can store data structures to match the endurance or available erase cycles. i For example, a more frequently accessed data structure, i.e., one with a higher update count 206, may be allocated to a lower level memory device 116 that has a higher durability. i In this way, the lower level memory devices 1162...116 n Each of the update counts may be associated with a range of update counts. In an alternative embodiment, the update counts may be determined when a data structure should be swapped out of the first level memory device 1161 and may be associated with a range of update counts. i There can be only one access count for reading or writing or both, which is used to select.

[0033] Data structure information 200 indicated as not being swappable 204 i Such data structures may not maintain access counts 206, 208 since they are not managed across memory devices on an access basis.

[0034] The after-initialization demote flag 210 may be set for data structures that are static and rarely, but occasionally, changed, and are further indicated as not swappable 204. In such cases, such very infrequently accessed data structures may be stored persistently in the lower level memory device 116. i The reason is that the extremely rare write and read accesses are transferred to the lower level memory device 116 iHowever, if a data structure, shown as demoted 210 after initialization, needs to be written to, the data structure may be moved to the first level memory device 1161 for one or more write operations to the data structure. Once the write operations are complete, the data structure is demoted from the first level memory device 1161 and moved to the lower level memory device 116 i , because the data structures are unlikely to be write-accessed for any significant amount of time.

[0035] In one embodiment, the data structures managed by virtual memory manager 114 include data structures created during system initialization or initial microcode load (IML) and may include structures that provide configuration information for hardware and logical devices, paths and subsystems, device characteristics, and settings. In an alternative embodiment, the data structures may be created by applications.

[0036] In particular embodiments, periodically, virtual memory manager 114 may decrement access counts, such as update count 206 and read count 208, to reduce the weighting of accesses over time, thereby providing that the intensity of the access counts is time dependent and decays over time.

[0037] 3 illustrates one embodiment of operations performed for system initialization of the storage controller 104 by the operating system of the storage controller 104, which may be maintained in the first level memory device 1161 and the virtual memory manager 114. Upon starting the system initialization (at block 300), system data structures are generated (at block 302) and stored in the first level memory device 1161. For each generated data structure shown as post-initialization demoted 210, the generated data structure is copied (at block 304) to the lowest level memory device (e.g., the third level) and deleted from the first level memory device 1161.

[0038] FIG. 4 shows the data structure 118 i Only one copy of the data is stored in memory device 1161...116 n 4 illustrates one embodiment of operations performed by virtual memory manager 114 to process an access request, such as a read or write, for the case of a single copy maintained in the virtual memory structure 118. In processing the access request (at block 400), the accessed data structure 118 is accessed (at block 402). i If the accessed data structure 118 is not swappable 204, control proceeds to FIG. 11 for processing as a non-swappable data structure. i Data structure information 200 i The swappable flag 204 of the data structure 118 i indicates that the access count is swappable, then the access count is incremented (at block 406). In the embodiments of Figures 4 and 5, there may be only one access count for read accesses or write accesses or both.

[0039] (at block 408) the accessed data structure 118 iIf the data structure 118 exists in the first level memory device 1161, the access request is executed in the first level memory device 1161 (at block 410). i If the first level memory device 1161 does not have a i The lower level memory device 116 i to the first level memory device 1161 (at block 412), and i The lower level memory device 116 i (at block 414 ) and update the device pointer 212 to point to the first level memory device 1161 .

[0040] In the embodiment of FIG. 4, the virtual memory manager 114 manages the memory device 116. i maintain a single copy of the data structure in one of the lower level memory devices 116 and swap the data structure when accessed i to the first level memory device 1161.

[0041] FIG. 5 shows the data structure 118 i A single copy of the i 5 illustrates one embodiment of operations performed by virtual memory manager 114 to free up space in first level memory device 1161 when the amount of free space in first level memory device 1161 is maintained at one of the memory thresholds. Upon starting memory management (at block 500), control ends (at block 502) if the amount of free space in first level memory device 1161 exceeds the memory threshold. If the amount of free space is below the memory threshold (at block 502), virtual memory manager 114 frees up data structure 118 of first level memory device 1161 designated as swappable that has the lowest access count that satisfies the amount of free space. i The selected data structure is stored in the lower level memory device 116 (block 504).i 1161, and the device pointer 212 of the moved data structure is copied (at block 506) to one of the lower level memory devices 1162 to which the selected data structure was added. i will be updated to point to

[0042] In one embodiment, the access count of a selected data structure may be used to determine the lower level memory device in which the data structure is stored. i If the memory devices are ordered according to endurance in terms of erasable cycles, with lower numbered devices having a higher endurance than higher numbered devices, e.g., memory device 1162 has a higher endurance than memory device 1163, then the data structure will be accessed by memory device 116 with the lowest endurance threshold exceeding the data structure access count. i will be placed in.

[0043] In the embodiment of FIG. 5, to free up space in the first level memory device 1161, the virtual memory manager 114 considers data structures with the lowest access counts because such data structures are updated and accessed less frequently and are more likely to be accessed by the lower level memory devices 1162...116 n This is because it is most suitable for storing in

[0044] FIG. 6 shows the data structure 118 i Multiple copies of the memory device 1161...116 n 6 and 7, there is one access count that includes an update count 206 or a read count 208, or both. In processing the access request (at block 600), the accessed data structure 118 is updated (at block 602). iIf the accessed data structure 118 is not swappable 204, control proceeds to FIG. 11 for processing as a non-swappable data structure. i Data structure information 200 i The swappable flag 204 of the data structure 118 i If so, then the access count is incremented (at block 606).

[0045] (at block 608) the accessed data structure 118 i If the data structure 118 exists in the first level memory device 1161, the access request is executed in the first level memory device 1161 (at block 610). i If the first level memory device 1161 does not have a i The lower level memory device 116 i to the first level memory device 1161 (at block 612) and update the device pointer 212 to point to the first level memory device 1161 (at block 614). If the access request is an update (at block 616), the copies of the data structure in one or more memory devices are updated (at block 616).

[0046] The virtual memory manager 114 manages the data structures 118 i a lower level memory device 116 having a lowest level threshold whose access count exceeds the j (at block 618) and the lower level memory device 116 j is the selected data structure 118 i The memory device having the best endurance for the access count of the data structure 118 is selected (at block 620). i However, the lower level memory device 116 jIf not present, the virtual memory manager 114 uses the data structure 118 i , Data Structure 118 i Currently, the lower level memory devices 116 i a lower level memory device 116 having a lowest level threshold determined from the j 6, the data structure is copied (at block 622) to the lower level memory device 116 i From Data Structure 118 i (at block 624). i However, the lower level memory device 116 j If the device pointer 212 is already present in or has been copied there (at block 622), then the device pointer 212 is now stored in the data structure 118. i A lower level memory device 116 having j (at block 626).

[0047] In the embodiment of FIG. 6, the accessed data structure is moved to the first level memory device 1161 and also retained in the lower level memory devices, including the lower level memory devices having an endurance, i.e., erasable cycles, commensurate with the access count of the data structure. By matching the data structure by access count with the lower level memory devices by endurance, the data structure is stored in the lower level memory device having an endurance level that best suits the frequency of access of the data structure. Additionally, if the access count of the data structure is higher than the highest level threshold of the second memory level device 1162, the data structure is transferred to the lower level memory device 1162...116 n Since the cost of the memory level device 116 having the data structures is too high, it is not possible to transfer the data structures to another memory level device. i will be deleted.

[0048] FIG. 7 shows the data structure 118 iCopies of multiple levels of memory devices 1161...116 n 7 illustrates one embodiment of operations performed by virtual memory manager 114 to perform memory management when multiple copies are maintained in a data structure 118 of first level memory device 1161. Upon starting memory management for the multiple copies case (at block 700), if the amount of free space in first level memory device 1161 exceeds the memory threshold, control ends (at block 702). If the amount of free space is below the memory threshold (at block 702), virtual memory manager 114 selects a data structure 118 of first level memory device 1161 designated as swappable that has the lowest access count that satisfies the amount of free space. i The operations in blocks 706 through 718 select the selected data structure 118. i is performed for each of

[0049] The virtual memory manager 114 manages the data structures 118 i a lower level memory device 116 having a lowest level threshold whose access count exceeds the j (at block 708) and the lower level memory device 116 j is the selected data structure 118 i The memory device having the best endurance for the access count of the data structure 118 is selected (at block 710). i However, the lower level memory device 116 j If not present, the virtual memory manager 114 uses the data structure 118 i 1161 to the lower level memory device 116 having the determined lowest level threshold. j (at block 712) into data structure 118. i However, the lower level memory device 116 j If it already exists in or has been copied thereto (at block 712), then iis deleted from the first level memory device 1161 (at block 714) and the device pointer 212 is now stored in the data structure 118 i A lower level memory device 116 having j (at block 716) is updated to indicate

[0050] In the embodiment of FIG. 7, to free up space in the first level memory device 1161, the virtual memory manager 114 considers data structures with the lowest access counts because such data structures are less likely to be updated and accessed, and therefore more likely to be used in the lower level memory devices 1162...116 n The selected data structure having the lowest access count is removed from the first level memory device 1161 and transferred to the lower level memory device 116 having a level threshold that includes the access count of the data structure to be transferred. i is held in

[0051] FIG. 8 shows the data structure 118 i Multiple copies of the memory device 1161...116 n 8 illustrates one embodiment of operations performed by virtual memory manager 114 to process an access request when separate update counts 206 and read counts 208 are maintained for multiple of the data structure 118. In processing the access request (at block 800), the accessed data structure 118 i If the accessed data structure 118 is not swappable 204, control proceeds to FIG. 11 for processing as a non-swappable data structure. i Data structure information 200 i The swappable flag 204 of the data structure 118 i indicates that the access is swappable, then if the access is a write, then the update count 206 is incremented, and if the access is a read, then the read count 208 is incremented (at block 806).

[0052] (at block 808) the accessed data structure 118 i If the data structure 118 exists in the first level memory device 1161, then the access (read or write) is performed in the first level memory device 1161 (at block 810). i If the first level memory device 1161 does not have a i The lower level memory device 116 i to the first level memory device 1161 (at block 812) and update the device pointer 212 to point to the first level memory device 1161 (at block 814). If the access request is an update (at block 816), then the first level memory device 1161 and the lower level memory device 116 i The copy of the data structure is updated (at block 818).

[0053] If the access is a read (from block 816) or an update of data (from block 818), the virtual memory manager 114 reads data structure 118 i a lower level memory device 116 having a lowest level threshold exceeding an update count 206 of j (at block 820) and the lower level memory device 116 j is the selected data structure 118 i The memory device that is most suitable for updating the count of the data structure 118 (at block 822). i However, the lower level memory device 116 j If not present, the virtual memory manager 114 uses the data structure 118 i , Data Structure 118 i A lower level memory device 116 having ia lower level memory device 116 having a lowest level threshold determined from the j 8. Copy (at block 824) data structure 118 i 116 i The data structure is deleted from the determined lower level memory device 116 having the lowest level threshold (at block 826). j If so (from block 822 or 826), the device pointer 212 is now in the data structure 118 i A lower level memory device 116 having j (at block 828).

[0054] In the embodiment of FIG. 8, the accessed data structure is moved to the first level memory device 1161 and also persisted in lower level memory devices, including lower level memory devices having a durability, i.e., erasable cycles, commensurate with the update count of the data structure. By aligning the data structure by update count with the lower level memory devices by durability, the data structure is stored in the lower level memory device having the durability level that best suits the frequency of updates to the data structure. Additionally, if the update count of the data structure is higher than the highest level threshold of the second memory level device 1162, the data structure is stored in the lower level memory device 1162...116 n The endurance profile of the memory level device 116 with the data structures is too high, so it is not possible to move the data structures to another memory level device. i will be deleted.

[0055] FIG. 9 shows the data structure 118 i Copies of multiple levels of memory devices 1161...116 n9 illustrates one embodiment of operations performed by virtual memory manager 114 to perform memory management when multiple copies with distinct update and read counts are maintained. Upon starting memory management for multiple copies with distinct update and read counts (at block 900), control ends if the amount of free space in first level memory device 1161 exceeds a memory threshold (at block 902). If the amount of free space is below the memory threshold (at block 902), virtual memory manager 114 selects a data structure 118 in first level memory device 1161 designated as swappable that has the lowest update count 206 that satisfies the amount of free space. i The operations in blocks 906 through 918 select the selected data structure 118. i is performed for each of

[0056] The virtual memory manager 114 manages the data structures 118 i a lower level memory device 116 having a lowest level threshold exceeding an update count 206 of j (at block 908) and the lower level memory device 116 j is the selected data structure 118 i The memory device that is most suitable for updating the count of the data structure 118 (at block 910). i However, the lower level memory device 116 j If not present, the virtual memory manager 114 uses the data structure 118 i 1161 to the lower level memory device 116 having the determined lowest level threshold. j (at block 912) into data structure 118. i However, the lower level memory device 116 j If it already exists in or has been copied thereto (at block 912), then the data structure 118 iis deleted from the first level memory device 1161 (at block 914) and the device pointer 212 is now stored in the data structure 118 i A lower level memory device 116 having j (at block 916) is updated to indicate

[0057] In the embodiment of FIG. 9, to free up space in the first level memory device 1161, the virtual memory manager 114 considers data structures with the lowest update counts because such data structures are updated less frequently and are more likely to be updated in the lower level memory devices 1162...116. n The selected data structure having the smallest update count is removed from the first level memory device 1161 and stored in the lower level memory device 1162 having a level threshold that includes the update count of the data structure to be moved. i is held in

[0058] 10 illustrates one embodiment of operations performed by virtual memory manager 114 to generate data structures, such as a system type data structure, during system initialization, including data structures that provide configuration information about logical subsystems, logical volumes, path groups, physical paths, logical paths, subsystem characteristics, and other configuration data. Upon performing system initialization (at block 1000), which may begin with a basic input operating system (BIOS), initial microcode load (IML), or other boot device, system data structures are generated and stored (at block 1002) in first level memory device 1161 as part of the system initialization. The generated system data structures 118 i Data structure information 200 i The device pointer 212 of the first level memory device 1161 is updated (at block 1004) to point to the first level memory device 1161. iindicates in field 210 that the data structure should be demoted after initialization. i The determined data structure is transferred from the first level memory device 1161 to the selected lower level memory device 1162 (block 1006). i The selected lower-level memory device may be selected based on the access or update counts to select a lower-level memory device having an endurance profile suitable for the access or update counts of a data structure, such as those described with respect to FIGS.

[0059] Copied determined data structure 118 i is deleted (at block 1010) from the first level memory device 1161 and the transferred data structure 118 i The device pointer 212 is updated (at block 1012) to point to the selected underlying memory device that has been transferred.

[0060] In the embodiment of FIG. 10, the data structures shown to be demoted, which may include system data structures that are accessed very infrequently, are stored in the appropriate lower level memory device 116. i , because infrequent access patterns dictate that the data structures do not need to be stored in the first level memory device 1161 after they have been initialized during system initialization.

[0061] FIG. 11 illustrates a non-swappable data structure 118 such as those invoked in blocks 404, 604, and 804 of FIGS. 4, 6, and 8, respectively. i 1 illustrates one embodiment of operations performed by virtual memory manager 114 to handle accesses to non-swappable data structure 118. i Upon initiating an access (at block 1100), the non-swappable data structure 118i If the field 210 is not indicated as demoted after initialization, the virtual memory manager 114 deletes the data structure 118 of the first level memory device 1161. i 11. (at block 1102) performs a read or write access to data structure 118. i If the access is a read, then (at block 1106) the virtual memory manager 114 returns the accessed data structure 118 i Data structure information 200 i The level memory device 116 identified by the device pointer 212 in i Data Structures 118 i 11. At block 1108, the read access is performed to .

[0062] If the access is a write (at block 1106), and if so (at block 1110), then the data structure 118 i If the update to is not a member of the set of defined update events, the requested write is i The lower level memory device 116 indicated by the device pointer 212 i If the update is a member of a defined update event (block 1110), then virtual memory manager 114 updates data structure 118. i The write event then copies (at block 1114) the data structure 118 (or the particular field or portion to be updated) to the first level memory device 1161 and updates the device pointer 212 to point to the first level memory device 1161. The write event then copies (at block 1114) the data structure 118 (or the particular field or portion to be updated) to the first level memory device 1161 and updates the device pointer 212 to point to the first level memory device 1161. i , or a particular field of the data structure (at block 1116). Once the event-related write is complete (at block 1118), the virtual memory manager 114 then updates the data structure 118. i, or simply transferring the updated fields and portions from the first level memory device 1161 to the selected lower level memory device 116 i (e.g., the lowest level selected to reduce wear leveling) (at block 1120) and stored in data structure 118 i from the first level memory device 1161 and select the lower level memory device 116 i The device pointer 212 is updated to indicate

[0063] In one embodiment, the set of defined events that trigger the migration of data structures to the first level memory device 1161 can include data structures that are system configuration files that are updated very infrequently, such as adding or deleting logical subsystems, volumes, path groups, physical paths, and logical paths. Update events can further include updating the configuration information with new subsystem characteristics and other information.

[0064] In the operation of FIG. 11, the lower level memory device 116 i Data structures identified as demoted after initialization that are mostly stored in i may be periodically staged to the first level memory device 1161 for bursts of writes as part of operations to update system configuration files. Because such configuration files are updated very infrequently, after the update event the system data structures may be moved back to the lower level memory device for storage and access, thereby freeing up space in the faster access first level memory device 1161 for other, more frequently accessed data.

[0065] The present invention may be a system, method, and / or computer program product, which may include a computer-readable storage medium (or media) having computer-readable program instructions for causing a processor to perform aspects of the present invention.

[0066] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves with instructions recorded thereon, and any suitable combination of the foregoing. As used herein, computer-readable storage media should not be construed as being ephemeral signals per se, such as electric waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted through wires.

[0067] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each computing / processing device or to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface of each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0068] The computer readable program instructions for carrying out the operations of the present invention may be either source code or object code written in any combination of one or more programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or conventional procedural programming languages, such as object oriented programming languages, such as Java®, Smalltalk®, C++, etc., and traditional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry to perform aspects of the invention.

[0069] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0070] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, create means for performing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams to produce a machine. These computer readable program instructions may also be stored on a computer readable storage medium that can instruct a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored constitutes an article of manufacture containing instructions implementing aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0071] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable apparatus, or other device to perform a series of operational steps to generate a computer-implemented process, such that the instructions, which execute on the computer, other programmable apparatus, or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0072] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions that includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that executes the specified functions or operations or executes a combination of dedicated hardware instructions and computer instructions.

[0073] The computing components of FIG. 1, including the host 102 and the storage controller 104, may be implemented in one or more computer systems, such as the computer system 1202 shown in FIG. 12. The computer system / server 1202 may be described in the general context of computer system executable instructions, such as program modules, executed by the computer system. Generally, program modules include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system / server 1202 may also be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.

[0074] As shown in FIG. 12, a computer system / server 1202 is shown in the form of a general-purpose computing device. The components of the computer system / server 1202 may include, but are not limited to, one or more processors or processing units 1204, a system memory 1206, and a bus 1208 that couples various system components, including the system memory 1206, to the processor 1204. The bus 1208 represents any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and without limitation, such architectures include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0075] The computer system / server 1202 typically includes a variety of computer system readable media. Such media can be any available media that can be accessed by the computer system / server 1202 and includes both volatile and nonvolatile media, removable and non-removable media.

[0076] The system memory 1206 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1210 and / or cache memory 1212. The computer system / server 1202 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 1213 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, commonly referred to as a "hard drive"). Although not shown, a magnetic disk drive (e.g., a "floppy disk") for reading from and writing to a removable, non-volatile magnetic disk, and an optical disk drive for reading from or writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical media, may also be provided. In such an example, each may be connected to the bus 1208 by one or more data media interfaces. As further illustrated and described below, the memory 1206 may include at least one program product having a set (e.g., at least one) of program modules configured to perform functions of embodiments of the present invention.

[0077] A program / utility 1214 having a set (at least one) of program modules 1216 may be stored in the memory 1206, as well as, by way of example and not limitation, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or a combination thereof, may include an implementation in a networked environment. The components of the computer 1202 may generally be implemented as program modules 1216 that perform the functions and / or methods of embodiments of the invention as described herein. The system of FIG. 1 may be implemented in one or more computer systems 1202, where when the system of FIG. 1 is implemented in multiple computer systems 1202, the computer systems may communicate over a network.

[0078] The computer system / server 1202 may further communicate with one or more external devices 1218, such as a keyboard, a pointing device, a display 1220, or the like, one or more devices that allow a user to interact with the computer system / server 1202, or devices that allow the computer system / server 1202 to communicate with one or more other computing devices (e.g., network cards, modems, etc.), or combinations thereof. Such communication may occur via an input / output (I / O) interface 1222. Additionally, the computer system / server 1202 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or combinations thereof, via a network adapter 1224. As shown, the network adapter 1224 communicates with other components of the computer system / server 1202 via a bus 1208. Although not shown, it should be understood that other hardware and / or software components may be used with the computer system / server 1202. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems.

[0079] The terms "an embodiment," "embodiment," "embodiments," "the embodiment," "the embodiment," "the embodiment," "one or more embodiments," "some embodiments," and "one embodiment" mean "one or more (but not all) embodiment of the present invention(s)," unless otherwise specified.

[0080] The terms "including," "comprising," and "having," and variations thereof, unless otherwise expressly stated, mean "including but not limited to."

[0081] Enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless specifically stated otherwise.

[0082] The terms "a," "an," and "the" mean "one or more" unless otherwise specified.

[0083] Devices that are in communication with each other need not be in continuous communication with each other unless otherwise specified. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.

[0084] A description of an embodiment having several components in communication with each other does not imply that all such components are required, rather a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.

[0085] It will be readily apparent that when a single device or article is described herein, two or more devices / articles (whether they cooperate or not) may be used in place of the single device / article. Similarly, when two or more devices or articles are described herein (whether they cooperate or not), it will be readily apparent that a single device / article may be used in place of two or more devices or articles, or a different number of devices / articles may be used in place of the number of devices or programs shown. The functionality and / or features of a device may alternatively be embodied by one or more other devices not expressly described as having such functionality / features. Thus, other embodiments of the present invention need not include the device itself.

[0086] The foregoing description of various embodiments of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. It is intended that the scope of the invention be limited not by this detailed description, but rather by the appended claims. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be constructed without departing from the scope of the invention, the invention resides in the claims hereinafter appended.

Claims

1. 1. A computer program product for managing data in a plurality of memory devices of a computing system, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that, when executed, performs operations, the operations including: indicating a data structure to be demoted from a first level memory device to a second level memory device after initialization, the first level memory device having a lower latency than the second level memory device; responsive to completion of initialization of the data structures of the first level memory device, copying the data structures indicated to be demoted after initialization from the first level memory device to the second level memory device and deleting the data structures indicated to be moved after initialization from the first level memory device; 2. A computer program product comprising:

2. The operation is receiving a read request to a data structure stored in the second level memory device; returning data from the data structure stored in the second level memory device in response to the read request; 10. The computer program product of claim 1, further comprising:

3. The operation is maintaining access counts for said data structures stored in said first level memory devices that are not marked to be demoted after initialization, where access counts are not maintained for data structures marked to be demoted after initialization.

10. The computer program product of claim 1, further comprising:

4. The operation is using said access counts to select a data structure to remove from said first level memory device and retain in said second level memory device to free up space in said first level memory device; using the access count to determine whether to remove an accessed data structure from the second level memory device; 4. The computer program product of claim 3, further comprising:

5. The operation is receiving updates to a data structure that is marked for demoting after initialization; copying and updating the data structures to be updated from the second level memory device to the first level memory device; copying an update data structure from the first level memory device to the second level memory device and erasing the update data structure from the first level memory device; 10. The computer program product of claim 1, further comprising:

6. 1. A computer program product for managing data in a plurality of memory devices of a computing system, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that, when executed, performs operations, the operations including: receiving updates to a data structure indicated to be demoted from the first level memory device; updating the data structure to be updated by copying it from a second level memory device to the first level memory device, the first level memory device having a lower latency than the second level memory device; copying an updated data structure from the first level memory device to the second level memory device and erasing the updated data structure from the first level memory device in response to updating the data structure; 2. A computer program product comprising:

7. 7. The computer program product of claim 6, wherein the updates to the data structure are to at least one field of the data structure to be updated that is less than all fields of the data structure, and wherein the copying of the data structure comprises copying only the at least one field to be updated from the data structure to the first level memory device, and wherein the copying of the updated data structure comprises copying the at least one field to be updated from the first level memory device to the second level memory device and erasing the at least one field to be updated from the first level memory device.

8. the data structure to be updated resides in the second level memory device, and the operation comprises: determining whether the update includes an update event of a plurality of predefined update events; copying the data structure to be updated to the first level memory device in response to determining that the update includes the update event; performing a plurality of writes to the data structure as part of the update event; copying the data structure that is updated as part of the update event from the first level memory device to the second level memory device, and erasing the updated data structure from the first level memory device upon completion of the writing of the update event; 7. The computer program product of claim 6, further comprising:

9. 9. The computer program product of claim 8, wherein the predefined update events include a plurality of update events that are members of a subset of update events that include additions or deletions of logical devices of the computing system, volumes, path groups, physical paths, logical paths in the computing system, and subsystem property and other configuration changes.

10. The operation is performing, in the second level memory device, the update to the data structure to be updated in response to determining that the update does not include one of the plurality of predefined update events.

9. The computer program product of claim 8, further comprising:

11. a first level memory device; a second level memory device; indicating a data structure to be demoted from a first level memory device to a second level memory device after initialization, the first level memory device having a lower latency than the second level memory device; responsive to completion of initialization of the data structures of the first level memory device, copying the data structures indicated to be demoted after initialization from the first level memory device to the second level memory device and deleting the data structures indicated to be moved after initialization from the first level memory device; A virtual memory manager to run Including, the system.

12. The operation to be performed is receiving a read request to a data structure stored in the second level memory device; returning data from the data structure stored in the second level memory device in response to the read request; The system of claim 11 further comprising:

13. The operation to be performed is maintaining access counts for said data structures stored in said first level memory devices that are not marked to be demoted after initialization, where access counts are not maintained for data structures marked to be demoted after initialization. The system of claim 11 further comprising:

14. The operation to be performed is using said access counts to select a data structure to remove from said first level memory device and retain in said second level memory device to free up space in said first level memory device; using the access count to determine whether to remove an accessed data structure from the second level memory device; The system of claim 13 further comprising:

15. The operation to be performed is receiving updates to a data structure that is marked for demoting after initialization; copying and updating the data structures to be updated from the second level memory device to the first level memory device; copying an update data structure from the first level memory device to the second level memory device and erasing the update data structure from the first level memory device; The system of claim 11 further comprising:

16. a first level memory device; a second level memory device; receiving updates to a data structure indicated to be demoted from the first level memory device; updating the data structure to be updated by copying it from a second level memory device to the first level memory device, the first level memory device having a lower latency than the second level memory device; copying an updated data structure from the first level memory device to the second level memory device and erasing the updated data structure from the first level memory device in response to updating the data structure; A virtual memory manager to run Including, the system.

17. 17. The system of claim 16, wherein the updates to the data structure are to at least one field of the data structure to be updated that is less than all fields of the data structure, and wherein the copying of the data structure includes copying only the at least one field to be updated from the data structure to the first level memory device, and wherein the copying of the updated data structure includes copying the at least one field to be updated from the first level memory device to the second level memory device and erasing the at least one field to be updated from the first level memory device.

18. the data structure to be updated resides in the second level memory device, and the operation to be performed comprises: determining whether the update includes an update event of a plurality of predefined update events; copying the data structure to be updated to the first level memory device in response to determining that the update includes the update event; performing a plurality of writes to the data structure as part of the update event; copying the data structure that is updated as part of the update event from the first level memory device to the second level memory device, and erasing the updated data structure from the first level memory device upon completion of the writing of the update event; The system of claim 16 further comprising:

19. 20. The system of claim 18, wherein the predefined update events include a plurality of update events that are members of a subset of update events that include additions or deletions of logical devices of the system, volumes, path groups, physical paths, logical paths in the system, and subsystem property and other configuration changes.

20. The operation to be performed is performing, in the second level memory device, the update to the data structure to be updated in response to determining that the update does not include one of the plurality of predefined update events.

20. The system of claim 18, further comprising:

21. 1. A method for managing data in a plurality of memory devices of a computing system, comprising: indicating a data structure to be demoted from a first level memory device to a second level memory device after initialization, the first level memory device having a lower latency than the second level memory device; responsive to completion of initialization of the data structures of the first level memory device, copying the data structures indicated to be demoted after initialization from the first level memory device to the second level memory device and deleting the data structures indicated to be moved after initialization from the first level memory device; A method comprising:

22. receiving a read request to a data structure stored in the second level memory device; returning data from the data structure stored in the second level memory device in response to the read request; 22. The method of claim 21 further comprising:

23. maintaining access counts for said data structures stored in said first level memory devices that are not marked to be demoted after initialization, where access counts are not maintained for data structures marked to be demoted after initialization.

22. The method of claim 21 further comprising:

24. using said access counts to select a data structure to remove from said first level memory device and retain in said second level memory device to free up space in said first level memory device; using the access count to determine whether to remove an accessed data structure from the second level memory device; 24. The method of claim 23, further comprising:

25. receiving updates to a data structure that is marked for demoting after initialization; copying and updating the data structures to be updated from the second level memory device to the first level memory device; copying an update data structure from the first level memory device to the second level memory device and erasing the update data structure from the first level memory device; 24. The method of claim 23, further comprising:

Citation Information

Patent Citations

  • File system and file caching method

    JP2002091811A

  • Information terminal equipment and application management program

    JP2003015892A

  • Disk array device and cache control method for disk array device

    JP2005309739A

  • Storage management method, storage management system, computer system and program

    JP2016085666A

  • Configuring a Cache Management Mechanism Based on Future Accesses in a Cache

    US20140164711A1