Method and system of managing virtualized physical memory in a data processing system
First Claim
1. A computing system coupled to a physical memory system having a plurality of memory modules for storing data as a plurality of memory blocks, each memory block comprising contiguous bytes of physical memory, and further coupled to at least one memory controller, wherein each memory controller of the at least one memory controller has one or more memory modules of the plurality of memory modules coupled thereto, and wherein each memory controller of the at least one memory controller responds to memory accesses by writing and reading memory blocks stored within one or more of the memory modules coupled thereto, and further coupled to a processor device for generating memory accesses containing real addresses associated with memory locations of die physical memory system for reading and writing of data thereto, the computing system comprising:
- a first field within the physical memory system storing a first real address corresponding to a first memory module of the plurality of memory modules coupled thereto, wherein a first memory controller coupled to the first memory module is programmed to respond to memory requests addressed to the first real address, and a second field within the physical memory system storing a second real address corresponding to a second memory module of the plurality of memory modules coupled thereto, wherein a second memory controller coupled to the second memory module is programmed to respond to memory requests addressed to the second real address;
a move engine that, in response to a notification that a configuration of the first and second memory modules is being modified, copies the plurality of memory blocks from the first memory module to the second memory module based on the first real address and the second real address; and
an operating system that restricts a write memory request being issued to the physical memory system that is addressed to the real address stored in one of the first field or second field during a time period that the move engine is copying the plurality of memory blocks from The first memory module to the second memory module, and that reprograms the second memory controller to respond to memory requests addressed to the first real address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module, wherein the first memory module is removed from the physical memory system after the operating system enables the second memory controller to respond to memory accesses addressed to the first zeal address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module.
1 Assignment
0 Petitions
Accused Products
Abstract
A move engine and operating system transparently reconfigure physical memory to accomplish addition, subtraction, or replacement of a memory module. The operating system stores FROM and TO real addresses in unique fields in memory that are used to virtualize the physical address of the memory module being reconfigured and provide the reconfiguration in real-time through the use of hardware functionality and not software. Using the FROM and TO real addresses to select a source and a target, the move engine copies the contents of the memory module to be removed or reconfigured into the remaining or inserted memory module. Then, the real address associated with the reconfigured memory module is re-assigned to the memory module receiving the copied contents, thereby creating a virtualized physical mapping from the addressable real address space being utilized by the operating system into a virtual physical address space. During the process of moving the memory contents, the operating system stalls. Write memory requests addressed to the real address space currently associated with the sourcing memory module indicated by either the FROM or TO real address space. As will be appreciated, a memory module can be inserted, removed or replaced in physical memory without the operating system having to stop all memory operations in the memory to accomplish the physical memory change.
31 Citations
14 Claims
-
1. A computing system coupled to a physical memory system having a plurality of memory modules for storing data as a plurality of memory blocks, each memory block comprising contiguous bytes of physical memory, and further coupled to at least one memory controller, wherein each memory controller of the at least one memory controller has one or more memory modules of the plurality of memory modules coupled thereto, and wherein each memory controller of the at least one memory controller responds to memory accesses by writing and reading memory blocks stored within one or more of the memory modules coupled thereto, and further coupled to a processor device for generating memory accesses containing real addresses associated with memory locations of die physical memory system for reading and writing of data thereto, the computing system comprising:
-
a first field within the physical memory system storing a first real address corresponding to a first memory module of the plurality of memory modules coupled thereto, wherein a first memory controller coupled to the first memory module is programmed to respond to memory requests addressed to the first real address, and a second field within the physical memory system storing a second real address corresponding to a second memory module of the plurality of memory modules coupled thereto, wherein a second memory controller coupled to the second memory module is programmed to respond to memory requests addressed to the second real address;
a move engine that, in response to a notification that a configuration of the first and second memory modules is being modified, copies the plurality of memory blocks from the first memory module to the second memory module based on the first real address and the second real address; and
an operating system that restricts a write memory request being issued to the physical memory system that is addressed to the real address stored in one of the first field or second field during a time period that the move engine is copying the plurality of memory blocks from The first memory module to the second memory module, and that reprograms the second memory controller to respond to memory requests addressed to the first real address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module, wherein the first memory module is removed from the physical memory system after the operating system enables the second memory controller to respond to memory accesses addressed to the first zeal address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of data processing within a data processing system, wherein the data processing system including a processor device for generating memory accesses containing physical addresses associated with memory locations of a physical memory system for reading and writing of data thereto, the physical memory system including a plurality of memory controllers, each responding to memory accesses requested by the processor device by writing and reading memory blocks stored within one or more memory modules coupled thereto, the method comprising:
-
setting a first field and a second field stored in the physical memory system to indicate a first real address and a second real address corresponding to a first and a second memory module, respectively, the first and second memory modules being coupled to a first and a second memory controller, respectively;
copying the plurality of memory blocks from the first memory module to the second memory module based on the first real address and the second real address;
after completing the copying step, configuring the first and second memory controllers to respond only to memory accesses addressed to the second real address; and
removing the first memory module from the physical memory system following the configuring step, and wherein the first real address is within a current addressable space for the physical memory system. - View Dependent Claims (7, 8, 9)
-
-
10. A data processing system comprising:
-
a physical memory system having a plurality of memory modules for storing data as a plurality of memory blocks, each memory block comprising contiguous bytes of physical memory;
a plurality of memory controllers, wherein each memory controller of the plurality of memory controllers has one or more memory modules of the plurality of memory modules coupled thereto, and wherein each memory controller of the plurality of memory controllers responds to memory accesses by writing and reading memory blocks stored within the one or more of the memory modules coupled thereto; and
a plurality of processor devices for generating memory accesses containing real addresses associated with memory locations of the physical memory system for reading and writing of data thereto;
a first field within the physical memory system storing a first real address corresponding to a first memory module of the plurality of memory modules coupled thereto, wherein a first memory controller coupled to the first memory module is programmed to respond to memory requests addressed to the first real address, and a second field within the physical memory system storing a second real address corresponding to a second memory module of the plurality of memory modules coupled thereto, wherein a second memory controller coupled to the second memory module is programmed to respond to memory requests addressed to the second real address;
a move engine that, in response to a notification that a configuration of the first and second memory modules is being modified, copies the plurality of memory blocks from the first memory module to the second memory module based on the first real address and the second real address; and
an operating system that restricts a write memory request being issued to the physical memory system that is addressed to the real address stored in one of the first field or second field during a time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module, and that reprograms the second memory controller to respond to memory requests addressed to the first real address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module wherein the first memory module is removed from the physical memory system after the operating system enables the second memory controller to respond to memory accesses addressed to the first real address after the time period that the move engine is copying the plurality of memory blocks from the first memory module to the second memory module. - View Dependent Claims (11, 12, 13, 14)
-
Specification