A command from an application is received to access a data structure associated with one or more virtual addresses mapped to main memory. A first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory components and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory components are identified. data associated with the virtual address from the first physical addresses and data associated with the virtual addresses from the second physical addresses are accessed. The data associated with the symmetric and asymmetric memory components is accessed by the application without providing the application with an indication of whether the data is accessed within the symmetric memory component or the asymmetric memory component.
|
1. A method of accessing data from a memory system that has multiple parts including at least a first part of the memory system and a second part of the memory system, the first part of the memory system being different from the second part of the memory system in that the first part of the memory system has different access characteristics than the second part of the memory system or the first part of the memory system is used for a different type of memory-dependent operation than the second part of the memory system, the method comprising:
receiving a request from an application to access a data structure;
determining whether the request pertains to store the data structure on the memory system or to read the data structure from the memory system;
in response to determining that the request pertains to read the data structure from the memory system, determining that the data structure is associated with multiple virtual addresses mapped to the memory system;
querying, based on the multiple virtual addresses associated with the data structure, a table that manages first virtual addresses associated with first physical addresses in the first part of the memory system and second virtual addresses associated with second physical addresses within the second part of the memory system;
identifying, based on results of querying the table, a first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the first part of the memory system and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the second part of the memory system;
in response to identifying the first subset of virtual addresses for the data structure that are mapped to the first part of the memory system, identifying, from among the first physical addresses in the first part of the memory system, a first subset of physical addresses in the first part of the memory system that correspond to the first subset of virtual addresses for the data structure and accessing data from the first part of the memory system using the first subset of physical addresses;
in response to identifying the second subset of virtual addresses for the data structure that are mapped to the second part of the memory system, identifying, from among the second physical addresses within the second part of the memory system, a second subset of physical addresses within the second part of the memory system that correspond to the second subset of virtual addresses for the data structure and accessing data from the second part of the memory system using the second subset of physical addresses; and
generating a response to the request received from the application to access the data structure by integrating the data accessed from the first part of the memory system using the first subset of physical addresses and the data accessed from the second part of the memory system using the second subset of physical addresses.
2. The method of
providing the generated response to the application without providing the application with an indication of whether the data included in the response was accessed within the first part of the memory system or the second part of the memory system.
3. The method of
accounting for movement, during execution of the request from the application to read data associated with multiple virtual addresses, of data between the first part of the memory system and the second part of the memory system.
4. The method of
subsequent to receiving the request and prior to reading data corresponding to the particular virtual address included in the multiple virtual addresses, performing a memory migration operation on the data corresponding to the particular virtual address by moving the data corresponding to the particular virtual address from the particular physical address in the first part of the memory system to a particular physical address in the second part of the memory system and updating a portion of the table corresponding to the particular virtual address to reflect the particular physical address in the second part of the memory system; and
reading the data corresponding to the particular virtual address from the particular physical address in the second part of the memory system.
5. The method of
subsequent to receiving the request and prior to reading data corresponding to the particular virtual address included in the multiple virtual addresses, performing a memory migration operation on the data corresponding to the particular virtual address by moving the data corresponding to the particular virtual address from the particular physical address in the second part of the memory system to a particular physical address in the first part of the memory system and updating a portion of the table corresponding to the particular virtual address to reflect the particular physical address in the first part of the memory system; and
reading the data corresponding to the particular virtual address from the particular physical address in the first part of the memory system.
6. The method of
7. The method of
8. The method of
9. The method of
10. The method of
11. The method of
12. The method of
in response to determining that the request pertains to store the data structure on the memory system, determining, using a memory controller on the memory system, whether the data structure resides in the second part of the memory system;
in response to determining that the data structure resides in the second part of the memory system, identifying, using the memory controller, memory disruption characteristics related to storing the data structure in the second part of the memory system;
based on the identified memory disruption characteristics related to storing the data structure in the second part of the memory system, determining, using the memory controller, whether to store the data structure in the second part of the memory system; and
in response to a determination to store the data structure in the second part of the memory system, storing the data structure in the second part of the memory system.
13. The method of
identifying, using the memory controller, memory disruption characteristics related to storing the data structure in the second part of the memory system comprises:
identifying a first size of the data structure;
identifying a second size of a disruption region within the second part of the memory system in which the data structure resides, and
identifying memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the second part of the memory system in which the data structure resides; and
determining, using the memory controller, whether to store the data element in the second part of the memory system comprises:
determining, using the memory controller, whether to store the data element in the second part or the first part of the memory system based on the identified memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the second part of the memory system in which the data structure resides.
14. The method of
identifying, using the memory controller, memory disruption characteristics related to storing the data element in the asymmetric memory component comprises:
identifying a first size of the data element;
identifying a second size of a disruption region within the asymmetric memory component of the main memory in which the data element resides, and
identifying memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the second part of the memory system in which the data structure resides; and
determining, using the memory controller, whether to store the data structure in the second part or the first part of the memory system comprises:
determining, using the memory controller, whether to store the data structure in the second part or the first part of the memory system based on the identified memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the second part of the memory system in which the data structure resides.
15. The method of
determining to store the data structure in the second part of the memory system conditioned on the identified memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the second part of the memory system in which the data structure resides indicating that storing the data structure in the second part of the memory system represents a relatively low level of disruption because the first size of the data structure is relatively close to the second size of the disruption region.
16. The method of
determining to store the data structure in the first part conditioned on the identified memory disruption characteristics that reflect a comparison of the first size of the data structure and the second size of the disruption region within the asymmetric memory component of the main memory in which the data structure resides indicating that storing the data structure in the second part of the memory system represents a relatively high level of disruption because the first size of the data structure is smaller than the second size of the disruption region.
17. The method of
18. The method of
identifying a physical address of the data structure within the second part of the memory system,
identifying a disruption region within the second part of the memory system, that corresponds to the identified physical address, and
determining memory usage characteristics of the identified disruption region within the second part of the memory system; and
determining, using the memory controller, whether to store the data structure in the second part of the memory system comprises:
determining, using the memory controller, whether to store the data structure in the second party or the first part of the memory system based on the determined memory usage characteristics of the identified disruption region within the second part of the memory system.
19. The method of
determining to store the data structure in the second part of the memory system conditioned on the determined memory usage characteristics of the identified disruption region indicating that storing the data structure in the second part of the memory system represents a relatively low level of disruption because the identified disruption region has a relatively low level of memory usage.
20. The method of
determining to store the data structure in the first part of the memory system conditioned on the determined memory usage characteristics of the identified disruption region indicating that storing the data structure in the second part of the memory system represents a relatively high level of disruption because the identified disruption region has a relatively high level of memory usage.
|
This application is a continuation (and claims the benefit of priority under 35 USC 120) of U.S. application Ser. No. 13/525,960, filed Jun. 18, 2012, now allowed, which is a continuation of U.S. application Ser. No. 13/048,012, filed Mar. 15, 2011, now U.S. Pat. No. 8,205,061, issued Jun. 19, 2012, which is a continuation of U.S. application Ser. No. 11/935,254, filed Nov. 5, 2007, now U.S. Pat. No. 7,913,055, issued Mar. 22, 2011, which claims the benefit to U.S. Provisional Application No. 60/864,399, entitled, “MEMORY MANAGEMENT OF HYBRID MAIN MEMORY INCLUDING SYMMETRIC AND ASYMMETRIC MEMORY,” and filed on Nov. 4, 2006. All of these prior applications are incorporated by reference in their entirety.
This document relates to providing an application with seamless access to hybrid main memory, which includes symmetric and asymmetric memory components, within a computer system.
Applications use memory to store data. For example, a search application may store a search index in main memory. The search application may use the search index for comparison with a search query to identify results. The search application reads and writes to main memory during one or more times in the search process.
In one aspect, a data structure is accessed that has been stored as two portions accessible concurrently over a time period larger than that represented by a single access within symmetric and asymmetric memory components of main memory, respectively. The symmetric memory components are each configured to enable random access write operations in which an address within a block of the symmetric memory component is written without affecting the availability of other addresses within the block of the symmetric memory component. The asymmetric memory components are each configured to enable block write operations in which a write to an address within a block of one of the asymmetric memory components affects the availability of other addresses within the block of the asymmetric memory component. A command from an application is received to access a data structure associated with one or more virtual addresses mapped to main memory. Symmetric memory components of the main memory and asymmetric memory components of the main memory are configured to interface with a memory table controller. Based on the virtual addresses associated with the data structure and from within the memory table controller, a memory table that manages first virtual addresses associated with first physical addresses in symmetric memory components and second virtual addresses associated with second physical addresses within asymmetric memory components is queried. Based on results of the query of the memory table, a first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory components and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory components are identified. In response to identifying at least one virtual address from within the first subset of virtual addresses for the data structure that is mapped to the symmetric memory components, data associated with the virtual address from the first physical addresses within the symmetric memory components is accessed. In response to identifying at least one virtual address from within the second subset of virtual addresses for the data structure that is mapped to the asymmetric memory component, data associated with the virtual addresses from the second physical addresses within the asymmetric memory components is accessed. The data associated with the symmetric and asymmetric memory components by the application is accessed without providing the application with an indication of whether the data is accessed within the symmetric memory component or the asymmetric memory component.
Implementations may include one or more of the following features. For example, the symmetric memory component may include dynamic random access memory (DRAM) and the asymmetric memory component may include NOR flash. The system may receive a command from an application to access a data structure associated with one or more virtual addresses mapped to main memory that includes DRAM and NOR flash and configure the DRAM and the NOR flash of the main memory to interface with a memory table controller. Based on the virtual addresses associated with the data structure and from within the memory table controller, a memory table that manages first virtual addresses associated with first physical addresses in the DRAM and second virtual addresses associated with second physical addresses within the NOR flash is queried. Based on results of the query of the memory table, a first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the DRAM and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the NOR flash are identified. Data associated with the virtual address from the first physical addresses within the DRAM is accessed in response to identifying at least one virtual address from within the first subset of virtual addresses for the data structure that is mapped to the DRAM.
Data associated with the virtual addresses from the second physical addresses within the NOR flash in response is accessed to identifying at least one virtual address from within the second subset of virtual addresses for the data structure that is mapped to the NOR flash, and the data read from the symmetric and asymmetric memory components to the application is accessed without providing the application with an indication of whether the data is retrieved from the DRAM or the NOR flash.
The asymmetric memory component has asymmetric access characteristics that may include (1) the asymmetric memory component performs read operations at a first rate and performs write operations at a second rate that is more than an order of magnitude different than the first rate, (2) the asymmetric memory component uses an asymmetric memory access protocol, and (3) the asymmetric memory component includes non-volatile storage capability. The symmetric memory component has symmetric access characteristics that may include (1) the symmetric memory component performs read operations at a rate that that differs by less than an order of magnitude from a rate at which write operations are performed, (2) the symmetric memory component uses a symmetric memory access protocol, and (3) the symmetric memory component includes a volatile storage capability.
Accessing the data associated with the symmetric and asymmetric memory components to the application may include providing the data in a read operation from the symmetric and asymmetric memory components to the application without basing activities of the application upon knowledge by the application of whether the data is stored in the asymmetric memory component. Accessing the data associated with the symmetric and asymmetric memory components to the application may include writing the data to the symmetric and asymmetric memory components to the application without basing activities of the application upon knowledge by the application of whether the data is stored in the asymmetric memory component. Writing the data to the symmetric and asymmetric memory components to the application without basing activities of the application upon knowledge by the application of whether the data is stored in the asymmetric memory component may include receiving a CPU store instruction, determining, using the memory table, that a portion of the data structure resides in the asymmetric memory component, receiving a physical address associated with the symmetric memory component, modifying the CPU store instruction to use the physical address associated with the symmetric memory component, and executing the CPU store instruction the physical address associated with the symmetric memory component to store the portion in the symmetric memory component.
Identifying the first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory component may include identifying a range of virtual addresses specified with a starting virtual address and an ending virtual address. Identifying the first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory component may include identifying a block.
Identifying the first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory component may include identifying a first collection of discontinuous virtual addresses that map to the symmetric memory component, the discontinuous virtual addresses having unused virtual addresses within a range of virtual addresses. Identifying the second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory component may include identifying a range of virtual addresses specified with a starting virtual address and an ending virtual address. Identifying the second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory component may include identifying a block. Identifying the second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory component may include identifying a second collection of discontinuous virtual addresses that map to the asymmetric memory component, the discontinuous virtual addresses having unused virtual addresses within a range of virtual addresses.
A first collection of discontinuous virtual addresses may be identified that map to the symmetric memory component that are interspersed with the second collection of the discontinuous virtual addresses and the first collection and the second collection may be accessed in order to provide the data read from the symmetric and asymmetric memory components to the application.
Implementations may include one or more of the following features. For example, providing the data to the application may include providing the data to the application without requiring the application to operate differently based on whether the data is stored in the asymmetric memory component. Providing the data to the application may include providing the data to the application without revealing to the application whether the data is stored in the asymmetric memory component.
In another aspect, an instance of data stored within one or more symmetric memory components of main memory with an instance of data stored within one or more asymmetric memory components is accessed. The symmetric memory components are each configured to enable random access write operations in which an address within a block of the symmetric memory component is written without affecting the availability of other addresses within the block of the symmetric memory component. The asymmetric memory components are each configured to enable block write operations in which an address within a block of one of the asymmetric memory components affects the availability of other addresses within the block of the asymmetric memory component, the method comprising. A command from an application is received to read data associated with a virtual address mapped to main memory. Data from the command to be read in accordance with the received command is gleaned and the virtual address that is mapped to main memory for the data which is to be read in accordance with the received command is determined. Symmetric memory components of the main memory and asymmetric memory components of the main memory are configured to interface with a memory table controller.
Based on the determined virtual address and from within the memory table controller, a memory table is queried that manages first virtual addresses associated with first physical addresses in symmetric memory components and second virtual addresses associated with second physical addresses within asymmetric memory components. Based on results of querying the memory table with the determined virtual address, it is determined whether the virtual address with which the data in the read command is associated is mapped in a symmetric memory component or an asymmetric memory component. The data associated with the virtual address from one of the first physical addresses is read in response to determining that the virtual address is mapped to a symmetric memory component. The data associated with the virtual address from one of the second physical addresses is read in response to determining that the virtual address is mapped to an asymmetric memory component. The data is provided to the application without an indication of whether the data is retrieved from the symmetric memory component or the asymmetric memory component.
Providing the data to the application may include providing the data to the application without requiring the application to operate differently based on whether the data is stored in the asymmetric memory component. Providing the data to the application may include providing the data to the application without revealing to the application whether the data is stored in the asymmetric memory component.
In yet another aspect, an application access request that implicates data stored within symmetric and asymmetric memory components of main memory is resolved. The symmetric memory components are each configured to enable random access write operations in which an address within a block of the symmetric memory component is written without affecting the availability of other addresses within the block of the symmetric memory component. The asymmetric memory components are each configured to enable block write operations in which an address within a block of one of the asymmetric memory components affects the availability of other addresses within the block of the asymmetric memory component. A command from an application is received to access data to be used in performing an application function. It is determined that the data is associated with virtual addresses with which the data in the read command is associated by accessing a memory table controller that interfaces symmetric memory components of the main memory and asymmetric memory components of the main memory.
The memory table controller is leveraged to query a memory table that manages first virtual addresses associated with first physical addresses in symmetric memory components and second virtual addresses associated with second physical addresses within asymmetric memory components. Based on the memory table, it is determined whether the virtual addresses with which the data in the read command is associated are mapped to a symmetric memory component of the main memory or an asymmetric memory component of the main memory. The data associated with the corresponding virtual addresses using at least one of the first physical addresses is accessed in response to determining that one or more of the virtual addresses with which the data in the read command is associated is mapped to a corresponding symmetric memory component.
The data associated with the corresponding virtual addresses using at least one of the second physical addresses is accessed in response to determining that one or more of the virtual addresses with which the data in the read command is associated is mapped to a corresponding asymmetric memory component. The data associated with the first virtual address from within the corresponding symmetric memory component and accessing data associated with the second virtual address from within the corresponding asymmetric memory component is accessed in response to determining that at least a first of the virtual addresses with which the data in the read command is associated is mapped to a corresponding symmetric memory component and at least a second of the virtual addresses is mapped to a corresponding asymmetric memory component. The data accessed is provided, including data from each of the symmetric and asymmetric memory components when the virtual addresses are determined to map to corresponding symmetric and corresponding asymmetric memory components, to the application in response to the command from the application to access data to be used in performing the application function.
The detailed description is divided into four sections. Section A provides a brief description of method and mechanisms. Section B provides a description of the hardware, software, and system context. Section C provides a description of read movement and write movement. Section D provides a discussion of operations performed and additional configurations.
An application on a computer system accesses a specialized memory structure and uses the specialized memory structure as main memory. More precisely, an application may read and write application data to the specialized memory structure. The memory structure is “specialized” in that the memory structure includes symmetric memory components and asymmetric memory components. An example of a symmetric memory component used in the specialized memory structure includes DRAM (“Dynamic Random Access Memory”), and an example of the asymmetric memory component includes NOR flash. In one configuration, the specialized memory structure is packaged as DRAM and NOR flash components within a DIMM (“Dual Inline Memory Module”) module. The DIMM modules are configured and inserted into DIMM sockets, and, as a result, the CPU may be configured to treat the specialized memory structure with DRAM and NOR flash as main memory, able to support application read and write commands.
The labels “symmetric” and “asymmetric” that are herein used to modify the term memory component refer to the access characteristics of the underlying memory system. For example, symmetric memory components, such as DRAM, support random access read and write operations, which may be performed in comparable access times, without disrupting application performance as a write is performed. In addition, performing a random access write operation to a physical address in the symmetric memory component does not affect the ability to access perform write operations to physical addresses that are proximate to the symmetric memory component.
In contrast, asymmetric memory components, such as NOR flash, do not support random access write operations. In order to write data to a physical address in an asymmetric memory component, a block write operation is performed. Performing a block write involves writing to a single block in an asymmetric memory component, which impacts several aspects of a computer system. First, a block write may create a disruption region that impacts several blocks. A disruption region generally refers to a region whose access behavior is impacted (often undesirably) during a write to an asymmetric memory component. The access behavior may include corrupt data, access delays, and/or an inability to have confidence in results that are returned during a read operation (even if the results are correct and not delayed). And, although the data to be written may itself affect only a portion of the disruption region, a block write can affect a larger amount of storage within the disruption region. To illustrate, writing a 2 Mbyte block during a block write may affect a 2 GByte disruption region in a 16 GByte memory component. Thus, even though the specialized memory structure may be provided with a physical interface to act as main memory, additional configuration is useful in shielding an application from the consequences of undesired access behaviors.
A memory controller is configured to manage the manner in which such a specialized memory structure is accessed. Because symmetric memory components, like DRAM, do not experience adverse consequences associated with performing write operations that asymmetric memory components experience, the memory controller is configured to load and maintain write-intensive data in symmetric memory components. Conversely, because asymmetric memory components demonstrate read access characteristics similar to symmetric memory components, read-intensive data is loaded and maintained in symmetric memory components.
The computer system may be configured to shield an application from the underlying manner in which the hybrid memory system operates. In one particular example, the memory controller is configured to present a normalized interface to an application, reconfiguring communications exchanged through the normalized interface to enable and inspire the special operations required of the hybrid memory system.
In another example, a server with a hybrid memory system hosts a data mining application that imposes severe demands on memory resources. In order to facilitate computationally-efficient data mining, the data mining application organizes atomic data into a large and complex data structure designed to facilitate identification of relationships between different sets of data. The large and complex data structure is stored as two portions accessible concurrently over a time period larger than that represented by a single access within symmetric and asymmetric memory components of main memory. Put differently, at least one portion of the complex data structure is stored in DRAM, and at least one portion of the data structure is stored in NOR flash. The DRAM components are each configured to enable random access write operations in which an address within a block of the DRAM is written without affecting the concurrent availability of other addresses within the block of the symmetric memory component. In contrast, the NOR flash components are each configured to enable block write operations in which a block write to the NOR flash affects the availability of other addresses within a bank of NOR flash beyond the page being written.
The memory controller receives a command from the data mining application to read the complex data structure associated with one or more virtual addresses mapped to main memory, and configures DRAM and NOR flash components in the main memory to interface with a memory table controller. Based on the virtual addresses associated with the complex data structure and from within the memory table controller, the memory controller queries a memory table that manages first virtual addresses associated with first physical addresses in DRAM and second virtual addresses associated with second physical addresses within NOR flash. The memory controller identifies, based on results of the query of the memory table, a first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the DRAM and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the NOR flash.
In response to identifying at least one virtual address from within the first subset of virtual addresses for the data structure that is mapped to the DRAM the memory controller reads data that is associated with the virtual address from the first physical addresses within the DRAM. In response to identifying at least one virtual address from within the second subset of virtual addresses for the data structure that is mapped to the NOR flash, the memory controller reads data that is associated with the virtual addresses from the second physical addresses within the NOR flash. The memory controller then provides the data read from the DRAM and NOR flash to the data mining application without providing the application with an indication of whether the data is retrieved from the DRAM or the NOR flash.
As can be appreciated through this example, in at least one implementation, it is possible for an application that interfaces with the computer system configured in this manner to access the data structure without providing the application with an indication of whether the data is accessed within the symmetric memory component or the asymmetric memory component.
Referring now to
Examples of application processes may include a web browsing or hosting program, a word processing program, a search program, a data mining and analytical program, or other type of application configured to execute on the AP layer. Application programs may be stored on a disk and remain in a passive state until a user chooses to execute an application program where it is loaded into memory as an application process.
Although other application processes may be employed, each application process (AP1 110A to APN 110N) loaded into memory may be allocated space in the main memory including a text region 111, a data region 112, and a stack region 113. The text region 111 may include executable instructions associated with the application program. The data region 112 may include data associated with the application. The data may be dynamic and/or static. The stack region 113 may include a state of a function or procedure of the application program and its activation frame.
The hardware layer 103 may include a central processing unit or processor 131, a main memory 132, and a hard disk storage 133. The main memory 132 may include symmetric memory 135a (e.g., DRAM) and asymmetric memory 135b (e.g., NOR flash memory). In one implementation, the asymmetric memory component 135b is NOR flash electrically erasable programmable read only memory (EEPROM).
The operating system layer 102 resides between the HW layer 103 and the AP layer 101. The operating system layer 102 may be a modified operating system, such as Microsoft Windows, Linux, or another Unix variant, configured to manage hardware included in the HW layer 103 of the computer system. The operating system may include a flash memory trap handler 125 configured to manage the asymmetric memory 135b in the main memory 132. The flash memory trap handler 125 may be configured to reduce the number of write accesses to the asymmetric memory 135b.
Multiple processes may place demands on main memory 132 in a computer system. The operating system may respond to those demands for main memory 132 by managing how physical memory is allocated to a virtual address space of each process executing on the AP layer 101. In some implementations, the operating system may use virtual memory management techniques to efficiently manage available physical memory resources and to indicate to the application processes that there is more memory capacity available for use over and beyond the physical memory capacity in main memory 132. In these implementations, the operating system 102 maintains a page table 122 to map virtual addresses in application processes to physical addresses in main memory 132. The hard disk storage 133 may be used to provide additional memory capacity for an application process.
Virtual memory management techniques may be configured to estimate the immediate memory needs in a specified application and allocate physical memory responsive to the specified application's needs, as opposed to other memory requirements that can be deferred and allocated to hard disk storage 133. A contiguous addressable range of memory, referred to as a page, may be swapped between physical main memory 132 and hard disk storage 133 as its need for immediate use increases or decreases.
Referring now to
The second layer model 200 differs from the first layer model 100 in that the hypervisor layer 104 is included between the operating system layer 102 and the hardware layer 103, and, instead of the operating system being modified, the hypervisor in the hypervisor layer 104 includes a write access hypervisor trap handler 225 configured to manage the asymmetric memory 135b. The write access hypervisor trap handler 225 may be configured to reduce the number of write accesses to the asymmetric memory component 135b in the main memory 132.
A hypervisor in a computer system may be a layer of hardware, software, firmware, or combinations thereof operating between the operating system layer and the hardware layer that allows one or more host operating systems (or portions of an operating system) to run, unmodified, on a host computer at the same time.
Each of the one or more host operating systems 102 may maintain one or more page tables 122 to map virtual addresses in application processes to physical addresses in main memory 135. The hypervisor layer 104 may maintain one or more respective shadow page tables 222 for each host operating system to map virtual addresses of the application processes to physical addresses in main memory 135.
The CPU 111A includes logic configured to implement one or more processing operations. Examples of a CPU 111A may include x86-based processors from Intel Inc. and Advanced Micro Devices Inc. (AMD), and/or ARM (TM) processors. The CPU 111A may include one or more processor cores.
Generally, each CPU 111A interfaces with an operating system. The operating system, in turn, may interface with one or more applications. These applications may include a search engine, business analytics, data mining, and database operations. Each of these applications may be compiled (or interpreted) into different machine-level instructions for execution on the CPU 111A. Although only one CPU 111A is shown, multiple CPUs may be used. Each CPU 111A supports an instruction set with a variety of instructions. These instructions may include, among other operations, register shifts, arithmetic operations, and memory operations. Examples of the memory operations may include random access read and write operations and I/O read and write instructions that can be used to initiate block read and write operations.
As shown, the CPU 111A includes a memory management unit 120A. Generally, the memory management unit 120A is configured to manage a physical address space for the CPU 111A. As the CPU 111A is executing a program, the CPU 111A may request to read data from a particular address and write data to a particular address. More precisely, the memory management unit 120A may be configured to receive a virtual address from the CPU 111A and translate the virtual address into a physical address (i.e., a memory management unit-specified physical address). In the case of a read, the CPU 111A may be configured to consult the memory management unit 120A to obtain the physical address associated with the virtual address specified by the CPU 111A. The memory management unit 120A (or some other entity) in the CPU 111A is instructed to retrieve data from the MMU-specified physical address. Other systems (e.g., the memory controller 130) may, in turn, process the memory management unit-specified physical address as an additional type of virtual address. In another configuration where a translation element of an MMU is separated out from the portion of the CPU that is responsible for interacting with the memory subsystem, the MMU may be configured to obtain the physical address associated with the virtual address. The MMU (or another entity in the CPU) then may be instructed to retrieve data from the MMU-specified physical address.
The memory controller 130A is logically oriented as an intermediary system to enable the CPU 111A to interface with a memory system 150A. More precisely, the memory controller 130A is a system configured to receive read and write instructions with a memory management unit-specified physical address from the memory management unit 120, lookup a memory controller-specified physical address associated with the memory management unit-specified physical address, and perform the requested read and/or write instruction on the block(s) of physical memory corresponding to the memory controller-specified physical address.
The memory controller 130A includes logic (hardware and/or software) configured to manage the placement of and movement of data within a memory system 150A. The memory controller 130A may be configured to dynamically process instructions based on a determination of whether the data and/or address is associated with symmetric memory or asymmetric memory. Similarly, the memory controller 130A may be configured to process read instructions in a first way, and process write instructions in a second way. For example, the memory controller 130A may be configured to permit read operations from the memory management unit that specify a particular address to leverage or otherwise operate on a first address within asymmetric memory, while concurrently processing write operations from the memory management unit that specify a particular address to leverage or otherwise operate on a second address within symmetric memory.
The memory controller 130A includes a physical interface to the memory system 150A. The physical interface is configured to automatically exchange physical address information as the memory controller 130A interfaces with the memory system 150A.
The memory controller 130A includes a remapping table 140A that stores an association between a memory management unit-specified physical address and a memory controller-specified physical address. The remapping table 140A may associate multiple memory controller-specified physical addresses with a memory management unit-specified physical address. For example, the remapping table 140A may be configured to indicate that writes to the disruption region should be directed to a “new” physical address range for the memory management unit, while reads from the disruption region should be directed to the “old” physical address range. Moreover, the remapping table 140A may indicate that a particular memory management unit-specified physical address is associated with a disruption region. For example, high-order address bits and some low-order bits in the MMU-supplied physical address may be analyzed to indicate which bank is being used. Alternatively, the memory controller may include logic (or include another column in a software table) that identifies the bank being used. Configuring the memory controller to have a bank identifier readily available may be used to reduce the processing burden of identifying a bank, for example, when performing write operations. The memory system 150A may include symmetric memory 160A and asymmetric memory 170A. The memory system 150A may be packaged as one or more DIMMs (Dual Inline Memory Modules) and configured to support DIMM protocols, signaling, interconnects, and physical interfaces.
The symmetric memory 160A includes one or more memory systems where read characteristics have similar properties to the write characteristics. Examples of symmetric memory include DRAM, and other random access memory technologies.
The asymmetric memory 170A includes one or more memory systems where read characteristics and write characteristics are dissimilar. For example, some types of asymmetric memory have write latencies that are orders of magnitude greater than the read latencies. Examples of asymmetric memory may include NOR flash. With some types of asymmetric memory, an interface is used to (among other things) require an entire region of content to be rendered inaccessible to read requests whenever any constituent block of the region is written, for example, using an I/O block write, instead of a smaller, random access write to the specific update location.
In configurations where the memory system 150A resides in DIMM packaging, the DIMM may be configured to dynamically process read and write instructions. For example, in a read mode, one or more DIMMs may be configured to receive instructions to access content residing at a particular physical address, and provide requested content to the processor through the memory controller. Generally, in a write mode, the DIMM is configured to receive data to be written with a physical address. Depending on whether the physical address represents flash or DRAM, the data may be written in a random access manner (e.g., a word or byte) or in a block (e.g., a 4 Megabyte or a 4 kilobyte block). In one configuration, the DIMM is entirely made up of one type of memory (e.g., DRAM or NOR flash). In another implementation, the DIMM includes a hybrid of both DRAM and flash and relies on an internal or external memory controller to perform the different operations required to implement a hybrid memory system. And, although one or more configurations were described where a hybrid and/or dedicated configuration were used, a different configuration may be used.
For example, restructuring application programs to be aware of and interface with a hybrid memory system may be easier to implement if the modification to the structure of the application is limited. In this example, application programs that rely on memory-mapped input/output (“I/O”) functionality, similar to that provided by a memory map (“mmap”) system call, may reduce the degree of restructuring that is required to support a hybrid main memory. Existing parameters and arguments supplied with a mmap call may be used to make a determination about whether or not a certain I/O object should reside in the asymmetric memory region. However, applications that are associated with a more dynamic use of memory resources, for example, to implement an application-specific cache for I/O objects, may require a more extensive revision to the memory commands in order to support a hybrid main memory. In one example, a program associated with a more dynamic use of memory resources may be specifically configured to operate with certain symmetric (e.g., DRAM) memory characteristics, and thus, may have read/write access behaviors that are not well suited to asymmetric memory.
In some implementations, unmodified application programs (e.g., a program encoded in binary form) may be used with a hybrid DRAM/flash memory subsystem. In these implementations, the portion of the application code and data that are accessed in a read-only fashion and/or operations that are relatively tolerant of increased access latency, may be migrated over time in an adaptive fashion from DRAM memory regions into the flash memory regions in the main memory.
Referring now to
Each slot 320 in the page table map 302 may include a page frame number (PFN) 321 and one or more protection bits 322, one of which may be a write protection bit 322W that may be used to provide/signal page protection. The write protection bit controls whether CPU-initiated writes are allowed against virtual page locations corresponding to the page table entry. When set, writes are disallowed, resulting in an operating system or hypervisor level trap that enables software to exercise control over whether and how the write operation is performed.
In one example, the write protection bit may be set to logical zero to indicate that the associated page is read-only. In another example, the write protection bit may be set to logical one to indicate that the associated page is read-only. In either example, the write protection bit may be changed to indicate that the associated page is read accessible only. Without the write protection bit being appropriately set to protect a page from write access, the page may be both read and write accessible.
In translating a virtual address to a physical address in physical memory, additional translation hierarchy may be used in addition to the page table map 302 to provide additional addressable memory. The hierarchy may include page directories to point to page tables, page directory pointer tables to point to page directories, and a page map level table to point to the page directory pointer tables. However, the page table map 302 may be used to support the hybrid main memory at the lowest level of the address translation hierarchy.
In one initial default configuration, an application may be assigned by the page table map 302 to use DRAM memory pages 330 in the hybrid main memory 303. For example, a virtual page X of addressable memory 310X indexes into, relates to, or points to a slot 320Y in the page table map 302 to translate the virtual address into a physical address that points to a DRAM memory page Y 330Y in one of the DRAM memory regions of the physical hybrid main memory 303. In this example, the write protection bit 322W of the slot 320Y in the page table map 302 is set to zero to indicate that the DRAM memory page 330Y in the physical hybrid main memory 303 is both read and write accessible.
Referring now to
In implementations in which write access to the flash memory page Z is disallowed, if an application attempts to write using a store instruction to the protected flash memory page, the application is interrupted and a protection handler (e.g., the trap handler) in the operating system is given control to handle the write operation to the protected flash memory page Z 331Z′. The attempt to write to the protected page may be referred to as a general protection fault or a segmentation violation that is trapped by the operating system.
Referring to
Because write access times into asymmetric memory devices may be significantly longer than read access times, a modified operating system may be configured to trap attempted write accesses into the asymmetric memory. The trap may be configured by setting the write protection bit in the page table entry to permit only read accesses. An attempt by the processor to write to a location on the corresponding page may trigger a protection fault. A protection fault handler or trap handler 125 can either complete the write (at the slower speed), or decide to copy back the page of data into a DRAM memory page and update it with the write access into the DRAM memory page. Such a DRAM memory page may also be marked, for example, in the page table, as being non-migratable into a flash memory page for a period of time so as to complete the update of the information by writing into the DRAM memory page. For example, the memory controller may create an access collections table, or modify a memory table to include parameters to track access to data in memory. Reading a virtual address may increment a read counter while writing a virtual address may increment a write counter or set a warning flag indicating that a write to the virtual address has been recently performed. The access collections table may be modified to include a time parameter indicating that the page should not be migrated for (1) a specified duration or monitoring cycle, or (2) until a threshold degree of reads are performed before another write operation is performed. The access collections table may track the amount of data written to storage and the elapsed time since the data was migrated to the asymmetric memory component. The amount of data written may be used in prioritizing which data is migrated to the asymmetric memory component so that larger amounts of data are favored as being computationally more efficient. The elapsed time since the data was migrated may be used to as an indicator of whether the data is likely to be subject to future write operations. Referring now to
The hypervisor supports executing one or more copies of a host operating system to provide the illusion of enabling multiple virtual machines on one physical machine. The hypervisor manages the allocation of raw hardware resources, including main memory, amongst the one or more virtual machines.
The shadow page table 222 in the hypervisor 104 is similarly managed as the page table 303 discussed previously to migrate information in DRAM memory regions into flash memory regions of a main memory. That is, the shadow page table 222 has its page table entries updated as information in DRAM memory pages are copied into flash memory pages and vice-versa. The hypervisor 104 also changes the write protection bits in the slots of the shadow page table 222 to protect the corresponding mapped flash memory pages from being written.
In one configuration, the hypervisor trap 225 works in conjunction with the kernel page table (KPT) 232 maintained by the hypervisor 104. In this configuration, the kernel page table 232 has one or more slots or page table entries 620 that point to the physical address for each process page table 602 of each respective operating system of each respective virtual machine maintained by the hypervisor. For example, entry 620A points to the process page table 602A for a first operating system of a first virtual machine. Entry 620N points to the process page table 602N of the Nth operating system of the Nth virtual machine. Each process page table 602 has page table entries 320 to map virtual addresses to physical addresses. For an operating system to allocate or modify a process page table 602, it ends up passing control to the hypervisor via with the kernel page table 232. Before the operating system can allocate or modify a process page table 602, the hypervisor trap 225 traps the instruction that wants to update information located in certain locations of the page table.
Upon initial allocation, the hypervisor allocates a process page table to a given operating system but prevents it from being written to by the operating system. This prevents the operating system from changing the bits in the process page table. In this configuration, this behavior is achieved as follows. Each slot or entry 620N in the kernel page table 232 includes a protection bit 622N to protect its associated process page table 602N from being written.
In one configuration, the DRAM memory resources freed up because of the migration of information from a page in a DRAM memory region to a page in the flash memory region of the hybrid main memory may be used by the hypervisor to support the memory requirements of other virtual machines. In a second configuration, these freed resources may be made available for use by the virtual machine from which they were recovered by dynamically expanding the memory allocation initially configured for that machine.
After a threshold of writes have been collected in the access collections table, or a threshold of time has passed, the information being collected in DRAM memory may be integrated back into NOR flash memory. The process for performing this migration may include using the same controlling logic that was used during the original move of information from DRAM into NOR. More precisely, and referring now to
A memory management unit 716, integrated with or separate from the processor core 704, working in cooperation with the operating system may bring forward pages of information associated with addresses in an application's virtual address space into main memory 135 to allow the execution engines to actively process this information. That is, the memory management unit 716 may page information by reading pages of information from the hard disk storage 133 into the main memory 135. Additionally, portions of the information may be brought forward into one or more levels of the cache memory 702A-702N. A valid bit in each slot in the page table corresponding to the page of memory is set to indicate a valid page in memory. If the page of information is no longer needed in main memory, the valid bit is cleared so that page of memory may be reused. If the page of information was updated, indicated by the setting of a dirty bit, the page of information may be written into the hard disk storage 133 by the operating system.
As the hard disk storage 133 may maintain a copy of each page in the memory hierarchy 701, the computer system may be configured so that pages of information in the memory hierarchy 701 are not pushed back down to slower memory in the memory hierarchy. However in implementations having a hybrid memory 135, pages of information may be pushed down the memory hierarchy 701 from DRAM memory regions 401 in the main memory, which may be a faster memory type, into flash memory regions 402 in the main memory, which may be a slower memory type while retaining its direct addressability in memory. Moreover, the hybrid main memory 135 has two different types of memory pools that are managed by the operating system or hypervisor, flash type memory regions and DRAM type memory regions. The DRAM type memory regions may be readily read-writeable. In contrast, the flash type memory regions may be readily readable but it is desirous to write infrequently into flash memory due to a slower write access time and the possibility of flash memory wear out.
Initially, the memory controller receives a command from an application to access a data structure associated with one or more virtual addresses mapped to main memory (810). Receiving the command may include receiving a single load instruction by the CPU that takes responsibility for performing the translation by performing looking up virtual addresses in the memory map. In one configuration, accessing a data structure includes receiving a request by an application to write to a first range of virtual addresses. In another configuration, accessing a data structure includes receiving a command to read a particular variable (or virtual block) associated with a large record, which particular variable is translated by the operating system into a collection or range of virtual addresses.
The memory controller configures symmetric and asymmetric memory components of the main memory to interface with a memory table controller (820). Generally, configuring symmetric and asymmetric memory components of the main memory to interface with the memory table controller includes establishing a physical and logical interconnect between the memory controller and main memory, which may include configuring the memory controller to use protocols and signaling responsive to the type of memory being accessed. Additional examples of establishing the physical and logical interconnections may include configuring the memory controller to exchange physical address and data information across interconnections with the memory storage systems. The physical address may be automatically loaded to a memory map across the interconnects as a result of performing reads and writes to the hybrid memory system. The memory controller also may be configured to selectively invoke symmetric and asymmetric memory protocols in response to identifying which type of memory component the memory controller is interfacing with.
The memory controller queries, based on the virtual addresses associated with the data structure implicated by the received command and from within the memory table controller with which the symmetric and asymmetric memory components interface, a memory table that manages first virtual addresses associated with first physical addresses in symmetric memory components and second virtual addresses associated with second physical addresses within asymmetric memory components (830). Querying the memory table includes referencing the memory table with a virtual address, or other virtual data structure, in order to reveal an association between the virtual reference and the physical address. For example, the operating system may request access information for a search index. As a large and complex data structure, the search index may be associated with numerous virtual address ranges and virtual blocks, and it may include constituent labels and subrecords that point to additional information.
The memory controller identifies, based on results of the query of the memory table, a first subset of the virtual addresses for the data structure having constituent addresses that are mapped to the symmetric memory components and a second subset of the virtual addresses for the data structure having constituent addresses that are mapped to the asymmetric memory components (840). For example, a search index may include a first collection of virtual addresses that map to the symmetric memory component and a second collection of virtual addresses that map to the asymmetric memory component. The virtual addresses may be mapped to the particular type of memory component using a physical address to identify the particular address in memory in which a portion of data is accessed.
In response to identifying at least one virtual address from within the first subset of virtual addresses for the data structure that is mapped to the symmetric memory components, the memory controller accesses data associated with the virtual address from the first physical addresses within the symmetric memory components (850). For example, where accessing the data includes performing a read operation, accessing the data associated with the virtual address from the first physical addresses includes reading the data from the symmetric memory component. In contrast, where accessing the data includes performing a write operation, accessing the data associated with the virtual address from the first physical addresses includes writing the data to the symmetric memory component, using for example, a random access write command.
Likewise, since some of the accessed data is associated with asymmetric memory components, in response to identifying at least one virtual address from within the second subset of virtual addresses for the data structure that is mapped to the asymmetric memory component, the memory controller accesses data associated with the virtual addresses from the second physical addresses within the asymmetric memory components (860). In configurations where accessing the data includes writing the data, the data may be written using a block write command to the asymmetric memory component. Storage may be initially allocated in the symmetric memory component, and structured in a block format. Once a threshold amount of data has been loaded to the block format in the symmetric memory component, the block may be written. In contrast, where accessing the data includes reading the data, the data may be read using a random access or page read from the asymmetric memory component (depending on the granularity of access permitted by the hybrid memory system and the memory controller).
Application access to the data associated with the symmetric and asymmetric memory components is then enabled without providing the application with an indication of whether the data is accessed from the symmetric memory component or the asymmetric memory component (870). For example, where the application requests access to a portion of the search index, the memory controller provides the portions of the search index without indicating to the application which aspects of the portions were stored in the symmetric memory component, and which portions were stored in the asymmetric memory component.
The operations in flow chart 800 were directed to general access operations performed in the course of supporting an application where the memory controller is configured to perform both read and write operations.
Thus,
The memory controller configures DRAM and NOR flash components within the main memory to interface with a page table controller (920A). Interfacing a memory controller with DRAM and NOR flash may include installing a specialized DIMM module into a DIMM socket within a server system. The specialized DIMM module may include DRAM and NOR flash modules, enabling the specialized DIMM module to support both read and write operations using both DRAM and NOR flash. The specialized DIMM module may include an internal memory controller enabling the internal memory controller to specify how data is stored in the DRAM and/or NOR flash. Interfacing DRAM and NOR flash with a memory controller also may include configuring data and addressing interconnects to interface with motherboard logic to enable a separate and distinct memory controller to automatically exchange data with the memory systems, and updating entries within a page table based on the automatically exchanged addresses and data.
The memory controller queries, based on the virtual addresses associated with the search index and from within the page table controller, a page table that manages virtual addresses for the search index (930A).
Based on querying the page table, the memory controller identifies search index virtual addresses that are mapped to DRAM and search index virtual addresses that map to NOR flash (940A). The search index virtual addresses may be interspersed. Put differently, constituent addresses that are mapped to the NOR flash may be immediately higher, immediately lower, or immediately higher and lower than other virtual addresses that map to DRAM. A first collection of discontinuous virtual addresses may be identified that map to the DRAM that are interspersed with the second collection of the discontinuous virtual addresses that map to NOR flash. The first collection and the second collection may be accessed in order to provide the search index read from the DRAM and NOR flash to the application. In one configuration, the memory controller identifies virtual addresses for those portions of the search index that are associated with the subject “California”.
In response to identifying search index virtual addresses that are mapped to DRAM, the memory controller reads portions of the search index associated with the virtual address from the first physical addresses within DRAM (950A). For the other requested portions of the search index, the memory controller reads portions of the search index associated with the virtual addresses from the second physical addresses within NOR flash (960A). The portions of the search index from DRAM and NOR flash are integrated and provided to the application without providing the application with an indication of whether the data is retrieved from DRAM or NOR flash (970A). For example, the search index may be provided in the desired, organized manner designed to facilitate subsequent analysis. Providing the search index to the application may include providing the search index to the search application without requiring the search application to operate differently based on whether the data is stored in NOR flash. That is, the search application may be configured to perform identical operations, irrespective of whether portion of the search index is stored in DRAM or NOR flash.
In another configuration, providing the search index to the application without providing the application with an indication of whether the data is accessed within the symmetric memory component or the asymmetric memory component includes providing the search index to the application without revealing to the application whether the data is stored in NOR flash. Typically, the search application does not receive a parameter indicative of where the portion of the search index is stored. Similarly, the search application may be shielded from receiving addressing information (virtual or physical) that is determinative of where the search index is stored.
A computer system can be a dynamic environment, particularly a system that is executing transactions, updating existing records, and generating new records. As a result, the page table may store different values at different times, even within execution of a single command. For example, and depending on whether the system supports out-of-order read and write instructions, reading a large data structure may span a number of cycles. In the case of a search index with 10,000 entries, the page table may exist in a first configuration as entry 1 is read, exist in a second configuration as entry 5,000 is read, and exist in a third configuration as entry 10,000 is read. The memory controller may use more configurations (e.g., states) where the system is acting as a multisource transaction processing system (e.g., processing transaction processing requests from thousands of Internet systems). Configuration 900C illustrates how the memory controller 920C maintains different associations at a different instance in time. The associations are different than those maintained by the memory controller 920B at a first instance in time. In particular, virtual address 2 is associated with physical address 2 in a symmetric memory component in a first instance in time and is associated with physical address 6 in an asymmetric memory component in a second instance in time. Notwithstanding storage in a different location in a different instance in time, an application executing a GET (RECORD 1) instruction reads the data associated with virtual address 2 irrespective of whether the data is stored in the symmetric memory component at a first instance in time or the symmetric memory component at a second instance in time.
Although
A memory controller configures DRAM and NOR flash components to interface with the page table (1020A). As noted above with respect to operation 920A, configuring DRAM and NOR flash components to interface with the memory controller includes establishing logical and physical interconnections between the two systems. In one configuration, a memory map on the memory controller is configured to reflect available address space. If the database server has experienced a power failure or otherwise been interrupted, the memory controller may be configured to identify those portions of the database that have been stored in NOR flash and are still available for access (due to the non-volatile nature of NOR flash).
The memory controller queries a page table that manages first virtual addresses associated with first physical addresses in DRAM and second virtual addresses associated with second physical addresses within NOR flash (1030A). In one configuration, the memory controller is configured to receive write requests, and process the write requests by translating a virtual address provided by a MMU within the CPU to a physical address.
The memory controller identifies virtual addresses for the database having constituent addresses that are mapped to DRAM and virtual addresses for the database having constituent addresses that are mapped to NOR flash (1040A). For example, in the case of the airline reservation system, the memory controller may determine that the configuration of a master schedule for the next sixth months is stored in NOR flash and that flight configuration information for particular flights (e.g., seat availability) is stored in DRAM. Alternatively, the memory controller may update the master schedule with availability on a periodic basis (e.g., hourly) and accumulate updates to the master schedule with availability in DRAM.
The update associated with the virtual address from the first physical addresses within DRAM is written (1050A). Although the memory controller processes writes to NOR flash differently using a block write that creates a disruption region, the update associated with the virtual addresses from the second physical addresses within NOR flash also is written (1060A). In one configuration where writes to NOR flash are avoided in most configurations, writing the update may be redirected to DRAM or to another portion of NOR flash that is not disruptive to system performance. In another configuration where the memory controller determines that writing the NOR flash update to the second physical addresses is not disruptive, for example, because the disruption region in NOR flash is not being used, or the entire bank is being replaced, the memory controller may write the NOR flash update to second physical addresses.
As a result, the memory controller writes the update specified by the application to the DRAM and NOR flash components without providing the database application with an indication of whether the data is retrieved from the DRAM or the NOR flash (1070A). The application may receive an indication that an update to the airline ticketing and reservation system has been entered without receiving an indication of where the update has been written.
If SECOND_RECORD is a large enough record, or if writing the update occurs across a longer duration, the page table may be modified to reflect that other portions of SECOND_RECORD have been updated. Thus, as shown in
The nature of the reads, writes, and updates shown in
Other implementations are within the scope of the claims. For example, although certain operations were described using certain systems, such as a hypervisor layer, other systems may be configured to perform the operations.
In another example, other useful implementations could be achieved if operations of the disclosed techniques were performed in a different order and/or if components in the disclosed systems were combined in a different manner and/or replaced or supplemented by other components. Accordingly, other implementations are within the scope of the following claims.
Although one or more operations are described as being performed by a particular agent, such as a memory controller, the agent may be configured to operate within one or more components within the computer system. For example, the memory controller may be configured to operate within the operating system, the hypervisor layer and/or an intermediary component. Alternatively, the memory controller may be configured to operate in a distributed manner.
Ganapathy, Kumar, Parekh, Rajesh, Karamcheti, Vijay, Singhai, Ashish, Okin, Kenneth A.
Patent | Priority | Assignee | Title |
11074018, | Apr 06 2017 | International Business Machines Corporation | Network asset management |
9836409, | Nov 04 2006 | SanDisk Technologies, Inc | Seamless application access to hybrid main memory |
Patent | Priority | Assignee | Title |
4757533, | Sep 11 1985 | SECURITY SOFTWARE AMERICA, INC , A CORP OF DE | Security system for microcomputers |
5012408, | Mar 15 1990 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Memory array addressing system for computer systems with multiple memory arrays |
5404485, | Mar 08 1993 | Sandisk IL Ltd | Flash file system |
6393545, | Apr 30 1919 | Canon Kabushiki Kaisha | Method apparatus and system for managing virtual memory with virtual-physical mapping |
6549959, | Aug 30 1999 | ADVANCED SILICON TECHNOLOGIES, LLC | Detecting modification to computer memory by a DMA device |
6564326, | Jul 06 1999 | HELBIG COMPANY | Method and apparatus for enhancing computer system security |
6970968, | Feb 13 1998 | Intel Corporation | Memory module controller for providing an interface between a system memory controller and a plurality of memory devices on a memory module |
7761623, | Sep 28 2006 | Western Digital Technologies, INC | Main memory in a system with a memory controller configured to control access to non-volatile memory, and related technologies |
7761624, | Sep 28 2006 | SanDisk Technologies, Inc | Systems and apparatus for main memory with non-volatile type memory modules, and related technologies |
7761625, | Sep 28 2006 | SanDisk Technologies, Inc | Methods for main memory with non-volatile type memory modules, and related technologies |
7761626, | Sep 28 2006 | Western Digital Technologies, INC | Methods for main memory in a system with a memory controller configured to control access to non-volatile memory, and related technologies |
7774556, | Nov 04 2006 | SanDisk Technologies, Inc | Asymmetric memory migration in hybrid main memory |
7818489, | Nov 04 2006 | Western Digital Technologies, INC | Integrating data from symmetric and asymmetric memory |
7913055, | Nov 04 2006 | Western Digital Technologies, INC | Seamless application access to hybrid main memory |
7930513, | Nov 04 2006 | Western Digital Technologies, INC | Writing to asymmetric memory |
8205061, | Nov 04 2006 | Western Digital Technologies, INC | Seamless application access to hybrid main memory |
8782373, | Nov 04 2006 | SanDisk Technologies, Inc | Seamless application access to hybrid main memory |
20020051350, | |||
20020118593, | |||
20020133684, | |||
20020138600, | |||
20030137862, | |||
20030188083, | |||
20040117581, | |||
20040160835, | |||
20040177243, | |||
20040186948, | |||
20040193783, | |||
20050044303, | |||
20050166026, | |||
20050235131, | |||
20050240745, | |||
20050251617, | |||
20050273570, | |||
20050289317, | |||
20060106984, | |||
20060149857, | |||
20060230250, | |||
20090106478, | |||
20090157989, | |||
20100235598, | |||
20100325383, | |||
20110022788, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Nov 05 2007 | PAREKH, RAJESH | VIRIDENT SYSTEMS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033485 | /0736 | |
Nov 05 2007 | KARAMCHETI, VIJAY | VIRIDENT SYSTEMS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033485 | /0736 | |
Nov 05 2007 | OKIN, KENNETH A | VIRIDENT SYSTEMS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033485 | /0736 | |
Nov 05 2007 | GANAPATHY, KUMAR | VIRIDENT SYSTEMS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033485 | /0736 | |
Nov 06 2007 | SINGHAI, ASHISH | VIRIDENT SYSTEMS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033485 | /0736 | |
Jul 14 2014 | Virident Systems Inc. | (assignment on the face of the patent) | / | |||
Jul 25 2016 | VIRIDENT SYSTEMS, INC | Virident Systems, LLC | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 042456 | /0747 | |
Jun 10 2020 | Virident Systems, LLC | Western Digital Technologies, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053180 | /0472 | |
Aug 28 2020 | Western Digital Technologies, INC | JPMORGAN CHASE BANK, N A , AS AGENT | SECURITY INTEREST SEE DOCUMENT FOR DETAILS | 053926 | /0446 | |
Feb 03 2022 | JPMORGAN CHASE BANK, N A | Western Digital Technologies, INC | RELEASE OF SECURITY INTEREST AT REEL 053926 FRAME 0446 | 058966 | /0321 | |
Aug 18 2023 | Western Digital Technologies, INC | JPMORGAN CHASE BANK, N A | PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT | 064715 | /0001 | |
Aug 18 2023 | Western Digital Technologies, INC | JPMORGAN CHASE BANK, N A | PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT | 067045 | /0156 |
Date | Maintenance Fee Events |
Aug 02 2019 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Oct 09 2023 | REM: Maintenance Fee Reminder Mailed. |
Mar 25 2024 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Feb 16 2019 | 4 years fee payment window open |
Aug 16 2019 | 6 months grace period start (w surcharge) |
Feb 16 2020 | patent expiry (for year 4) |
Feb 16 2022 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 16 2023 | 8 years fee payment window open |
Aug 16 2023 | 6 months grace period start (w surcharge) |
Feb 16 2024 | patent expiry (for year 8) |
Feb 16 2026 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 16 2027 | 12 years fee payment window open |
Aug 16 2027 | 6 months grace period start (w surcharge) |
Feb 16 2028 | patent expiry (for year 12) |
Feb 16 2030 | 2 years to revive unintentionally abandoned end. (for year 12) |