Scalable Unified Memory Architecture
A memory architecture includes a memory controller coupled to multiple modules. Each module includes a computing engine coupled to a shared memory. Each computing engine is capable of receiving instructions from the memory controller and processing the received instructions. The shared memory is configured to store main memory data and graphical data. Certain computing engines are capable of processing graphical data. The memory controller may include a graphics controller that provides instructions to the computing engine. An interconnect on each module allows multiple modules to be coupled to the memory controller.
Latest Rambus Inc. Patents:
This application is a continuation of co-pending application Ser. No. 12/911,624, filed Oct. 25, 2010, which is a continuation of U.S. Pat No. 7,821,519, filed Feb. 15, 2005, which is a continuation of U.S. Pat. No. 6,864,896, filed May 15, 2001. Each of the above-referenced documents is entitled “Scalable Unified Memory Architecture” and is incorporated herein by reference.
FIELDThe present invention relates to memory systems and, in particular, to scalable unified memory architecture systems that support parallel processing of data.
BACKGROUNDVarious systems are available for storing data in memory devices and retrieving data from those memory devices.
The architecture of
Improvements in integrated circuit design and manufacturing technologies allow higher levels of integration, thereby allowing an increasing number of subsystems to be integrated into a single device. This increased integration reduces the total number of components in a system, such as a computer system. As subsystems with high memory performance requirements (such as graphics subsystems) are combined with the traditional main memory controller, the resulting architecture may provide a single high-performance main memory interface.
Another type of computer memory architecture is referred to as a unified memory architecture (UMA). In a UMA system, the graphics memory is statically or dynamically partitioned off from the main memory pool, thereby saving the cost associated with dedicated graphics memory. UMA systems often employ less total memory capacity than systems using discrete graphics memory to achieve similar levels of graphics performance. UMA systems typically realize additional cost savings due to the higher levels of integration between the memory controller and the graphics controller.
The memory controller/graphics controller 210 controls all memory access, both for data stored in the main memory portion of shared memory 204 and for data stored in the graphics memory portion of the shared memory. The shared memory 204 may be partitioned statically or dynamically. A static partition allocates a fixed portion of the shared memory 204 as “main memory” and the remaining portion is the “graphics memory.” A dynamic partition allows the allocation of shared memory 204 between main memory and graphics memory to change depending on the needs of the system. For example, if the graphics memory portion is full, and the graphics controller needs additional memory, the graphics memory portion may be expanded if a portion of the shared memory 204 is not currently in use or if the main memory allocation can be reduced.
Regardless of the system architecture, graphics rendering performance is often constrained by the memory bandwidth available to the graphics subsystem. In the system of
Unified memory architectures such as that shown in
A system architecture which could offer the cost savings advantages of a unified memory architecture, while providing scalability options to higher levels of aggregate memory bandwidth (and therefore graphics performance) relative to systems using dedicated graphics memory would be advantageous.
SUMMARYThe systems and methods described herein achieve these goals by supporting the capability of locating certain processing functions on the memory modules, while providing the capability of partitioning tasks among multiple parallel functional units or modules.
In one embodiment, an apparatus includes a memory controller coupled to one or more modules. Each installed module includes a computing engine coupled to a shared memory. The computing engine is configured to receive information from the memory controller. The shared memory includes storage for instructions or data, which includes a portion of the main memory for a central processing unit (CPU).
In another embodiment, the computing engine is a graphics rendering engine.
In a particular implementation of the system, the shared memory is configured to store main memory data and graphical data.
Another embodiment provides that the computing engine is coupled between the memory controller and the shared memory.
In a particular embodiment, the memory controller includes a graphics controller.
In a described implementation, one or more modules are coupled to a memory controller. Each installed module includes a computing engine and a shared memory coupled to the computing engine.
The architecture described herein provides one or more discretememory modules coupled to a common memory controller. Each memory module includes a computing engine and a shared memory. Thus, the data processing tasks can be distributed among the various computing engines and the memory controller to allow parallel processing of different portions of the various processing tasks.
Various examples are provided herein for purposes of explanation. These examples include the processing of graphical data by one or more rendering engines on one or more memory modules. It will be understood that the systems described herein are not limited to processing graphical data. Instead, the systems described herein may be applied to process any type of data from any data source.
Rendering engine 312 may also be referred to as a “compute engine” or a “computing engine.” The shared memory 314 typically includes multiple memory devices coupled together to form a block of storage space. Each rendering engine 312 is capable of performing various memory access and/or data processing functions. For the embodiment shown in
In the example of
The memory controller/graphics controller 310 distributes particular processing tasks (such as graphical processing tasks) to the different rendering engines, and performs certain processing tasks itself. These tasks may include data to be processed and/or instructions to be processed. Although four memory modules 304 are shown in
The architecture of
When all rendering engines have finished processing their portion of the processing task, the memory controller/graphics controller reassembles the finished portions of the task (block 410). In certain situations, the memory controller/graphics controller may perform certain portions of the processing task itself rather than distributing them to a rendering engine. In other situations, the processing task may be partitioned such that one or more rendering engines perform multiple portions of the processing task. In another embodiment, the processing task may be partitioned such that one or more rendering engines are idle (i.e., they do not perform any portion of the processing task).
For typical graphics applications, primitive data (e.g., triangles or polygons) are sorted by the graphics controller or CPU according to the spatial region of the rendering surface (e.g., the x and y coordinates) covered by that primitive. The rendering surface is generally divided into multiple rectangular regions of pixels (or picture elements), referred to as “tiles” or “chunks.” Since the tiles generally do not overlap spatially, the rendering of the tiles can be partitioned among multiple rendering engines.
An example of the procedure described with respect to
In an alternate embodiment, each of the rendering engines is assigned to process a particular set of rows or columns of the rendering surface, where these rows or columns represent a band of any size of pixels (at least one pixel wide). As shown in
The example discussed above with respect to
Referring to
Referring to
As discussed above, each memory module has its own memory interconnect for communicating data between the memory module's rendering engine and the various memory devices. The memory interconnect on each memory module is relatively short and provides significant bandwidth for communicating with the multiple memory devices on the module. Further, the simultaneous processing and communication of data on each memory module reduces the volume or bandwidth of data communicated between the memory modules and the memory controller/graphics controller. The memory interconnects discussed herein may be a bus, a series of point-to-point links, or any combination of these types of interconnects.
A particular embodiment of the memory modules shown in
In a particular embodiment of the architecture shown in
Although particular examples are discussed herein as having one or two rendering engines, alternate implementations may include any number of rendering engines or computing engines on a particular module. Further, a particular module may contain any number of memory devices coupled to any number of rendering engines and/or computing engines.
Thus, a system has been described that provides multiple discrete memory modules coupled to a common memory controller. Each memory module includes a computing engine and a shared memory. A data processing task from the memory controller can be partitioned among the different computing engines to allow parallel processing of the various portions of the processing task.
Although the description above uses language that is specific to structural features and/or methodological acts, it is to be understood that the invention defined in the appended claims is not limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the invention.
Claims
1. A system comprising:
- a processor subsystem;
- at least one main memory interconnect coupled to the processor subsystem; and
- a plurality of memory modules coupled to the main memory interconnect, at least one memory module in the plurality storing execution instructions for the processor subsystem, and at least one memory module in the plurality further comprising a computing engine to perform processing tasks, using memory located on that memory module.
2. The system of claim 1, wherein the processor subsystem includes a central processing unit to execute first instructions that reference first data; a memory controller coupled to the central processing unit to communicate the first instructions and the first data; and a graphics controller coupled to the central processing unit to process graphical data.
3. The system of claim 2, wherein a first memory module in the plurality includes a first integrated-circuit computing engine coupled to the subsystem to receive the first data; and first integrated-circuit memory coupled to the integrated-circuit computing engine to store the first data; and wherein the first integrated-circuit computing engine writes the first data to the first integrated-circuit memory and reads the first data from the first integrated-circuit memory.
4. The system of claim 3, wherein a second memory module in the plurality includes a second integrated-circuit computing engine coupled to the subsystem to execute second instructions conveyed from at least one of the central processing unit, the memory controller, and the graphics controller, the second integrated-circuit computing engine to process second data responsive to the second instructions; and second integrated-circuit memory coupled to the second integrated-circuit computing engine to store the second data.
5. The system of claim 4, further wherein the main memory interconnect conveys the first data to the first memory module and the second instructions to the second memory module.
6. The system of claim 5, wherein the first and second memory modules are interconnected by the main memory interconnect.
7. The system of claim 4, wherein the graphics controller distributes the second instructions to the second module.
8. The system of claim 4, wherein the second instructions include graphics instructions.
9. The system of claim 4, wherein the second instructions include at least one of floating-point instructions, digital signal processing instructions, data compression instructions, and data decompression instructions.
10. The system of claim 2, wherein the central processing unit, the memory controller, and the graphics controller are instantiated on a plurality of integrated circuits.
11. The system of claim 2, wherein at least two of the central processing unit, the memory controller, and the graphics controller are instantiated on one integrated circuit.
12. The system of claim 1, wherein the at least one main memory interconnect includes point-to-point interconnects extending between the subsystem and respective ones of the memory modules.
13. The system of claim 1, wherein the processor subsystem divides image processing tasks into different portions and conveys the portions to respective ones of the memory modules.
14. The system of claim 13, wherein the processor subsystem references each of the portions to a respective display area.
15. A memory module for storing main-memory instructions executed by a central processing unit and referencing first data, the memory module comprising:
- first integrated-circuit memory to store the main-memory instructions and the first data;
- second integrated-circuit memory to store second instructions and second data; and
- an integrated-circuit computing engine coupled to the first and second integrated-circuit memories, the integrated-circuit computing engine to convey the instructions and first data between the central processing unit and the first integrated-circuit memory and to execute the second instructions with reference to the second data.
16. The memory module of claim 15, wherein the first integrated-circuit memory consists of one or more first memory integrated circuits and the second integrated-circuit memory consists of one or more second memory integrated circuits separate from the first memory integrated circuits.
17. The memory module of claim 15, wherein the integrated-circuit computing engine uses the second instructions and second data to process graphical images.
18. The memory module of claim 15, wherein the integrated-circuit computing engine uses the second instructions and second data to process floating-point instructions.
19. The memory module of claim 15, wherein the integrated-circuit computing engine performs at least one of digital signal processing, data compression, and data decompression on the second data responsive to the second instructions.
20. The memory module of claim 19, wherein the integrated-circuit computing engine further performs image processing responsive to the second instructions.
Type: Application
Filed: Mar 26, 2012
Publication Date: Jul 19, 2012
Applicant: Rambus Inc. (Sunnyvale, CA)
Inventor: Richard E. Perego (Thorton, CA)
Application Number: 13/430,405
International Classification: G06F 15/167 (20060101);