WO2025138620A1 - Computing device - Google Patents
Computing device Download PDFInfo
- Publication number
- WO2025138620A1 WO2025138620A1 PCT/CN2024/098894 CN2024098894W WO2025138620A1 WO 2025138620 A1 WO2025138620 A1 WO 2025138620A1 CN 2024098894 W CN2024098894 W CN 2024098894W WO 2025138620 A1 WO2025138620 A1 WO 2025138620A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory
- interface
- memory module
- cpu
- expansion board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7803—System on board, i.e. computer system on one or more PCB, e.g. motherboards, daughterboards or blades
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0026—PCI express
Definitions
- the present application relates to the field of communication technology, and in particular to a computing device.
- the memory data is written into a large storage unit matrix in bits. As long as a row and a column are specified, a storage unit can be accurately located. This is the basic principle of memory chip addressing. We call such an array a logical bank of memory.
- the UBC connector 0 can also be replaced with other types of connectors, such as the DIMM connector.
- the number of slots may also be 1.
- the structure of the memory expansion board B is the same as that of the memory expansion board A, and will not be described in detail here.
- a memory expansion controller MXC2 may be further provided on the memory expansion board A, and a memory expansion controller MXC3 may be further provided on the memory expansion board B, as shown in FIG4 .
- the interface of the memory expansion controller MXC2 supports connecting to DDR5 or DDR4, and can communicate with DDR4 or DDR5 using CXL or PCIE protocol, and MXC0 and CPU111 can also communicate through CXL protocol or PCIE protocol, and the interface connecting MXC2 to CPU111 and memory module a respectively is called the first CXL interface and the second CXL interface of MXC2; the embodiment of the present application takes the communication between the memory expansion controller MXC2 and the CPU and memory module a using CXL protocol as an example, and the protocol of the memory expansion controller MXC3 is the same as MXC2, which will not be repeated here.
- the first CXL interface of the memory expansion controller MXC2 can be connected to the interface P0 of the CPU, and the second CXL interface of the memory expansion controller MXC2 can be electrically connected to the memory module c.
- the memory module c is a DDR5 memory module or a DDR4 memory module. In this way, the CPU111 can exchange data with the memory module c through the interface P0 and the memory expansion controller MXC2.
- the first CXL interface of the memory expansion controller MXC3 can be connected to the interface P1 of the CPU, and the second CXL interface of the memory expansion controller MXC3 can be electrically connected to the memory module d.
- the CPU 111 can exchange data with the memory module d through the interface P1 and the memory expansion controller MXC3.
- the structures of memory module c and memory module d are the same as the aforementioned memory module a.
- the structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
- interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, which can shorten the access path and thus increase the data transmission speed.
- the interface of the memory expansion controller MXC4 supports connecting to DDR5 or DDR4, and can communicate with DDR4 or DDR5 using the CXL or PCIE protocol.
- MXC4 and CPU111 can also communicate through the CXL protocol or the PCIE protocol, and the interfaces connecting MXC4 to the CPU112 and the memory module a respectively are called the first CXL interface and the second CXL interface of MXC4; the embodiment of the present application takes the communication between the memory expansion controller MXC4 and the CPU and the memory module a using the CXL protocol as an example.
- the protocol of the memory expansion controller MXC5 is the same as that of MXC4, which will not be repeated here.
- the mainboard 1 is also provided with a CPU 112, and the CPU 112 is connected to the CPU 111 by a socket/inter-chip global memory interconnect (xGMI) bus so that the two can exchange data.
- xGMI global memory interconnect
- the xGMI bus is a new high-speed interconnect bus for communication between sockets launched by the AMD platform (core architecture Zen platform). It consists of 4 groups of x16 links, each of which contains 16 channels (lane), and each channel contains 2 pairs of bidirectional high-speed differential pairs. Among them, the two ends of data exchange are realized through a bidirectional communication connection, and one end of the communication connection is called a socket.
- CPU 112 may be the same as that of CPU 111.
- CPU 112 may be provided with multiple CXL interfaces, for example, 4 CXL interfaces, namely interface P0, interface P1, interface P2 and interface P3, wherein interface P0 and interface P1 belong to the same interface group, and interface P2 and interface P3 belong to the same interface group.
- the first CXL interface of the memory expansion controller MXC4 can be connected to the interface P0 of the CPU 112, and the second CXL interface of the memory expansion controller MXC4 can be electrically connected to the memory module e.
- the memory module e is a DDR5 memory module or a DDR4 memory module. In this way, the CPU 112 can exchange data with the memory module e through the interface P0 and the memory expansion controller MXC4.
- the first CXL interface of the memory expansion controller MXC5 can be connected to the interface P1 of the CPU 112, and the second CXL interface of the memory expansion controller MXC5 can be electrically connected to the memory module f.
- the CPU 112 can exchange data with the memory module f through the interface P1 and the memory expansion controller MXC5.
- the structures of memory module e and memory module f are the same as the aforementioned memory module a.
- the structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
- interface P0 and interface P1 of CPU112 in the embodiment of the present application belong to the same interface group, CPU112 does not need to access across groups when accessing memory module e and memory module f, which can shorten the access path and thus improve the data transmission speed between CPU112 and memory module e and memory module f.
- CPU111 accesses memory module e and memory module f
- it can exchange data with CPU112 through the xGMI bus, and then CPU112 can exchange data with memory module e and memory module f.
- CPU112 accesses memory module e and memory module f, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e and memory module f.
- CPU112 accesses memory module a and memory module b
- it can exchange data with CPU111 through the xGMI bus, and then CPU111 interacts with memory module a and memory module b.
- CPU111 accesses memory module a and memory module b, there is no need for cross-group access, which can shorten the access path and thus improve the data transmission speed between CPU112 and memory module a and memory module b.
- the memory expansion board and memory module connected to the CPU 111 in the embodiment of the present application are the same as those in the second embodiment of the present application, and the memory expansion board and memory module connected to the CPU 112 in the embodiment of the present application are the same as those in the third embodiment of the present application, as shown in Figure 6.
- interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, and the access path can be shortened, thereby improving the data transmission speed between CPU111 and memory module a, memory module b, memory module c and memory module d.
- CPU 112 accesses memory module e and memory module f, it does not need to access across groups, which can shorten the access path, thereby increasing the data transmission speed between CPU 112 and memory module e and memory module f.
- CPU111 accesses memory module e and memory module f
- it can exchange data with CPU112 through the xGMI bus, and then CPU112 can exchange data with memory module e and memory module f.
- CPU112 accesses memory module e and memory module f, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e and memory module f.
- CPU112 accesses memory module a, memory module b, memory module c, and memory module d
- it can exchange data with CPU111 through the xGMI bus, and then CPU111 can exchange data with memory module a, memory module b, memory module c, and memory module d.
- CPU111 accesses memory module a, memory module b, memory module c, and memory module d, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU112 and memory module a, memory module b, memory module c, and memory module d.
- the interface of the memory expansion controller MXC6 supports connecting to DDR5 or DDR4, and can enable it to communicate with DDR4 or DDR5 using the CXL or PCIE protocol, and MXC4 and CPU111 can also communicate through the CXL protocol or the PCIE protocol, and the interfaces that connect MXC6 to the CPU112 and the memory module a respectively are called the first CXL interface and the second CXL interface of MXC6; the embodiment of the present application takes the use of the CXL protocol between the memory expansion controller MXC6 and the CPU and the memory module a as an example, the protocol of the memory expansion controller MXC7 is the same as that of MXC6, which will not be repeated here.
- the first CXL interface of the memory expansion controller MXC6 can be connected to the interface P0 of the CPU 112, and the second CXL interface of the memory expansion controller MXC6 can be electrically connected to the memory module g.
- the memory module g is a DDR5 memory module or a DDR4 memory module. In this way, the CPU 112 can exchange data with the memory module g through the interface P0 and the memory expansion controller MXC6.
- the structures of memory module g and memory module h are the same as the aforementioned memory module a.
- the structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
- interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, and the access path can be shortened, thereby improving the data transmission speed between CPU111 and memory module a, memory module b, memory module c and memory module d.
- CPU 112 accesses memory module e, memory module f, memory module g, and memory module h, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission rate between CPU 112 and memory module e, memory module f, memory module g, and memory module h. Transfer speed.
- CPU111 accesses memory module e, memory module f, memory module g, and memory module h
- it can exchange data with CPU112 through the xGMI bus, and then CPU112 exchanges data with memory module e, memory module f, memory module g, and memory module h.
- CPU112 accesses memory module e, memory module f, memory module g, and memory module h, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e, memory module f, memory module g, and memory module h.
- CPU112 accesses memory module a, memory module b, memory module c, and memory module d
- it can exchange data with CPU111 through the xGMI bus, and then CPU111 can exchange data with memory module a, memory module b, memory module c, and memory module d.
- CPU111 accesses memory module a, memory module b, memory module c, and memory module d, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU112 and memory module a, memory module b, memory module c, and memory module d.
- the sixth embodiment of the present application is a specific implementation of the fifth embodiment.
- a power module 1 is provided on the mainboard 11, and specifically, the power module 1 can be a switching power supply.
- a power supply connector 1 is provided on the memory expansion board A
- a power supply connector 2 is provided on the memory expansion board B.
- a cable can be used to connect the output end of the power module 1 to the power supply connector 1 and the power supply connector 2, so that the power module 1 can supply power to the memory expansion boards A and B.
- the output end of the power module 2 on the mainboard 11 can supply power to the memory expansion board C via the power connector 3, and can also supply power to the memory expansion board D via the power connector 4.
- one memory channel connects two memory bars; for example, DIMM1 and DIMM2 are connected to MXC1 via the same memory channel, and DIMM3 and DIMM4 are connected to MXC2 via the same memory channel...
- the connection mode of other memory bars is the same as that of DIMM1 and DIMM2, and will not be described in detail.
- the mainboard 11 includes a UBC connector A0 , and the interface P0 is electrically connected to the UBC connector A0 via metal traces on the mainboard 1 .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Multi Processors (AREA)
Abstract
Description
本申请要求于2023年12月28日提交中国专利局、申请号为202311841697.0、申请名称为“一种计算设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on December 28, 2023, with application number 202311841697.0 and application name “A Computing Device”, the entire contents of which are incorporated by reference into this application.
本申请涉及通信技术领域,尤其涉及一种计算设备。The present application relates to the field of communication technology, and in particular to a computing device.
计算设备(例如服务器)中可以包括主板,主板上可以设置有一个或者多个中央处理器CPU。每个CPU可以通过内存扩展控制器与内存模块电连接,这样CPU可与内存模块进行数据交互。例如,CPU可以将数据写入到内存模块中,也可以从内存模块中读取数据。A computing device (such as a server) may include a motherboard, and one or more central processing units (CPUs) may be provided on the motherboard. Each CPU may be electrically connected to a memory module via a memory expansion controller, so that the CPU may exchange data with the memory module. For example, the CPU may write data to the memory module, or read data from the memory module.
随着数据存储量越来越大,CPU与内存模块进行数据交互的速度至关重要。但是,当前主板上的CPU在与内存模块进行数据传输时,存在着数据传输速度较慢这一技术问题。As the amount of data storage increases, the speed at which the CPU and memory modules exchange data is critical. However, there is a technical problem that the CPU on the current motherboard has a slow data transmission speed when transmitting data to the memory module.
因此,如何提高CPU与内存模块之间的数据传输速度成为了当前亟待解决的技术问题。Therefore, how to increase the data transmission speed between the CPU and the memory module has become a technical problem that needs to be solved urgently.
发明内容Summary of the invention
本申请实施例提供了一种计算设备,能够提高CPU与内存模块之间的数据传输速度。An embodiment of the present application provides a computing device that can increase the data transmission speed between a CPU and a memory module.
第一方面,本申请提供一种计算设备,所述计算设备包括主板、第一内存扩展板、第一内存模块、第二内存扩展板以及第二内存模块;所述主板上设置有第一CPU,所述第一CPU中包括第一接口以及第二接口,所述第一接口与所述第二接口为内存接口,属于所述第一CPU的同一接口分组;所述第一内存扩展板上设置有第一内存扩展控制器,所述第二内存扩展板上设置有第二内存扩展控制器;所述第一内存扩展控制器分别与所述第一接口和所述第一内存模块电连接,所述第二内存扩展控制器分别与所述第二接口和所述第二内存模块电连接。这样一来,由于第一CPU的第一接口与第二接口属于同一接口分组,第一CPU在访问第一内存模块以及第二内存模块时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。In the first aspect, the present application provides a computing device, the computing device includes a mainboard, a first memory expansion board, a first memory module, a second memory expansion board and a second memory module; the mainboard is provided with a first CPU, the first CPU includes a first interface and a second interface, the first interface and the second interface are memory interfaces, belonging to the same interface group of the first CPU; the first memory expansion board is provided with a first memory expansion controller, the second memory expansion board is provided with a second memory expansion controller; the first memory expansion controller is electrically connected to the first interface and the first memory module respectively, and the second memory expansion controller is electrically connected to the second interface and the second memory module respectively. In this way, since the first interface and the second interface of the first CPU belong to the same interface group, when the first CPU accesses the first memory module and the second memory module, there is no need to cross-group access, the access path can be shortened, and thus the data transmission speed can be increased.
在一种可能的实现方式中,所述计算设备还包括第三内存模块以及第四内存模块;所述第一内存扩展板上还设置有第三内存扩展控制器,所述第二内存扩展板上还设置有第四内存扩展控制器;所述第一接口经第三内存扩展控制器与第三内存模块电连接,所述第二接口经第四内存扩展控制器与第四内存模块电连接。这样,由于第一CPU的第一接口与第二接口属于同一接口分组,第一CPU在访问第一内存模块、第二内存模块、第三内存模块以及第四内存模块时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。In a possible implementation, the computing device further includes a third memory module and a fourth memory module; a third memory expansion controller is further provided on the first memory expansion board, and a fourth memory expansion controller is further provided on the second memory expansion board; the first interface is electrically connected to the third memory module via the third memory expansion controller, and the second interface is electrically connected to the fourth memory module via the fourth memory expansion controller. In this way, since the first interface and the second interface of the first CPU belong to the same interface group, when the first CPU accesses the first memory module, the second memory module, the third memory module, and the fourth memory module, there is no need to cross-group access, which can shorten the access path, thereby increasing the data transmission speed.
在一种可能的实现方式中,所述计算设备还包括第三内存扩展板、第四内存扩展板、第五内存模块以及第六内存模块;所述主板上还设置有第二CPU,所述第二CPU中包括第三接口以及第四接口,所述第三接口与所述第四接口为内存接口,属于所述第二CPU的同一接口分组;所述第二CPU与所述第一CPU经xGMI总线电连接;所述第五内存扩展控制器分别与所述第三接口和所述第五内存模块电连接,所述第六内存扩展控制器分别与所述第四接口和所述第六内存模块电连接。这样,由于第二CPU的第三接口与第四接口属于同一接口分组,第一CPU或者第二CPU在访问第五内存模块以及第六内存模块时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。此外,第二CPU在访问第一CPU的第一接口以及第二接口所连接的内存模块时,也可以提高数据传输速度。In a possible implementation, the computing device further includes a third memory expansion board, a fourth memory expansion board, a fifth memory module, and a sixth memory module; a second CPU is also provided on the mainboard, the second CPU includes a third interface and a fourth interface, the third interface and the fourth interface are memory interfaces, and belong to the same interface group of the second CPU; the second CPU is electrically connected to the first CPU via an xGMI bus; the fifth memory expansion controller is electrically connected to the third interface and the fifth memory module, respectively, and the sixth memory expansion controller is electrically connected to the fourth interface and the sixth memory module, respectively. In this way, since the third interface and the fourth interface of the second CPU belong to the same interface group, when the first CPU or the second CPU accesses the fifth memory module and the sixth memory module, there is no need to cross-group access, and the access path can be shortened, thereby improving the data transmission speed. In addition, when the second CPU accesses the memory module connected to the first interface and the second interface of the first CPU, the data transmission speed can also be improved.
在一种可能的实现方式中,所述计算设备还包括第七内存模块以及第八内存模块;所述第三内存扩展板上还设置有第七内存扩展控制器,所述第四内存扩展板上还设置有第八内存扩展控制器;所述第七内存扩展控制器分别与所述第三接口和所述第七内存模块电连接,所述第八内存扩展控制器分别与所述第四接口和所述第八内存模块电连接因此,第一CPU或者第二CPU在访问第五内存模块、第六内存模块、第七内存模块以及第八内存模块时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。In a possible implementation, the computing device also includes a seventh memory module and an eighth memory module; a seventh memory expansion controller is also provided on the third memory expansion board, and an eighth memory expansion controller is also provided on the fourth memory expansion board; the seventh memory expansion controller is electrically connected to the third interface and the seventh memory module, respectively, and the eighth memory expansion controller is electrically connected to the fourth interface and the eighth memory module, respectively. Therefore, when the first CPU or the second CPU accesses the fifth memory module, the sixth memory module, the seventh memory module and the eighth memory module, there is no need for cross-group access, the access path can be shortened, and the data transmission speed can be increased.
在一种可能的实现方式中,所述第一接口与所述第二接口为快速计算链路CXL接口。这样,内存接口具体为快速计算链路CXL接口。In a possible implementation, the first interface and the second interface are fast computing link CXL interfaces. Thus, the memory interface is specifically a fast computing link CXL interface.
在一种可能的实现方式中,所述第一CPU采用内存交织方式访问所述第一内存模块以及第二内存模块。这样,第一CPU采用内存交织方式访问所述第一内存模块以及第二内存模块,以向第一内存模块以及第二 内存模块中写入(或者读取)数据。In a possible implementation, the first CPU accesses the first memory module and the second memory module in a memory interleaving manner. Thus, the first CPU accesses the first memory module and the second memory module in a memory interleaving manner to provide the first memory module and the second memory module with a memory interleaving manner. Write (or read) data from the memory module.
在一种可能的实现方式中,所述主板上设置有第一电源模块;所述第一电源模块的输出端与所述第一内存扩展板以及所述第二内存扩展板电连接。这样,主板上的第一电源模块可以向第一内存扩展板供电,还可以向第二内存扩展板供电。In a possible implementation, a first power module is provided on the mainboard; an output end of the first power module is electrically connected to the first memory expansion board and the second memory expansion board. In this way, the first power module on the mainboard can supply power to the first memory expansion board and also to the second memory expansion board.
在一种可能的实现方式中,所述第一内存模块包括至少一个双列直插式存储模块DIMM,所述第二内存模块包括至少一个双列直插式存储模块DIMM;所述第一内存模块插设于所述第一内存扩展板上,所述第二内存模块插设于所述第二内存扩展板上。。这样,第一内存模块的具体形式可以为至少一个双列直插式存储模块DIMM。In a possible implementation, the first memory module includes at least one dual inline memory module DIMM, and the second memory module includes at least one dual inline memory module DIMM; the first memory module is plugged into the first memory expansion board, and the second memory module is plugged into the second memory expansion board. In this way, the specific form of the first memory module can be at least one dual inline memory module DIMM.
在一种可能的实现方式中,其特征在于,所述第一内存扩展板上设置有第一连接器,所述主板上设置有第二连接器,所述第二内存扩展板上设置有第三连接器;所述第一内存扩展板通过所述第一连接器和所述第二连接器与所述第一接口电连接,所述第二内存扩展板通过所述第三连接器和所述第二连接器和所述第二接口电连接。这样,第一接口经过第一连接器、第二连接器与内存扩展板电连接,从而使得第一CPU可以通过第一接口与内存扩展板的DIMM进行数据交互。In a possible implementation, it is characterized in that the first memory expansion board is provided with a first connector, the main board is provided with a second connector, and the second memory expansion board is provided with a third connector; the first memory expansion board is electrically connected to the first interface through the first connector and the second connector, and the second memory expansion board is electrically connected to the second interface through the third connector and the second connector. In this way, the first interface is electrically connected to the memory expansion board through the first connector and the second connector, so that the first CPU can exchange data with the DIMM of the memory expansion board through the first interface.
在一种可能的实现方式中,所述第一内存模块为DDR4内存或者DDR5内存,所述第二内存模块为DDR4内存或者DDR5内存。这样,第一内存模块既可以采用DDR4内存,也可以采用DDR5内存。第二内存模块亦是如此。In a possible implementation, the first memory module is a DDR4 memory or a DDR5 memory, and the second memory module is a DDR4 memory or a DDR5 memory. In this way, the first memory module can use either a DDR4 memory or a DDR5 memory. The same is true for the second memory module.
图1是本申请实施例提供的一种计算设备的结构示意图;FIG1 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;
图2是本申请实施例中的一种CPU的结构示意图;FIG2 is a schematic diagram of the structure of a CPU in an embodiment of the present application;
图3是本申请实施例提供的一种内存扩展板的结构示意图;FIG3 is a schematic diagram of the structure of a memory expansion board provided in an embodiment of the present application;
图4是本申请实施例提供的另一种计算设备的结构示意图;FIG4 is a schematic diagram of the structure of another computing device provided in an embodiment of the present application;
图5是本申请实施例提供的又一种计算设备的结构示意图;FIG5 is a schematic diagram of the structure of another computing device provided in an embodiment of the present application;
图6是本申请实施例提供的又一种计算设备的结构示意图;FIG6 is a schematic diagram of the structure of another computing device provided in an embodiment of the present application;
图7是本申请实施例提供的又一种计算设备的结构示意图;FIG7 is a schematic diagram of the structure of another computing device provided in an embodiment of the present application;
图8是本申请实施例提供的又一种计算设备的结构示意图。FIG8 is a schematic diagram of the structure of another computing device provided in an embodiment of the present application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol "/" in this article indicates that the associated objects are in an or relationship, for example, A/B means A or B.
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一响应消息和第二响应消息等是用于区别不同的响应消息,而不是用于描述响应消息的特定顺序。The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
计算快速链路(compute express link,CXL)协议是一种高速串行协议,它允许在计算机系统内部的不同组件之间进行快速、可靠的数据传输。它旨在解决高性能计算中的瓶颈问题,包括内存容量、内存带宽和输入输出延迟等问题。CXL协议还可以实现内存扩展和内存共享,并且可与计算加速器(如图形处理器GPU以及现场可编程门阵列芯片FPGA)等外部设备通信,提供更快、更灵活的数据传输方式。The compute express link (CXL) protocol is a high-speed serial protocol that allows fast and reliable data transmission between different components within a computer system. It is designed to address bottlenecks in high-performance computing, including memory capacity, memory bandwidth, and input-output latency. The CXL protocol can also enable memory expansion and memory sharing, and can communicate with external devices such as computing accelerators (such as graphics processors GPUs and field-programmable gate array chips FPGAs), providing faster and more flexible data transmission methods.
CXL协议是基于PCIE5.0协议发展而来的。CXL协议依托于第五代外围组件快速互连(peripheral component interconnect express 5,PCIE5.0)的物理层,针对缓存和内存优化的一个新协议。CXL协议与PCIE5.0协议具有相同的电气特性。CXL功能需要使用一个灵活的接口(例如,CXL接口),这个接口可以根据链路层协商决定是采用PCIE协议还是CXL协议。 The CXL protocol is developed based on the PCIE5.0 protocol. The CXL protocol is based on the physical layer of the fifth-generation peripheral component interconnect express 5 (PCIE5.0) and is a new protocol optimized for cache and memory. The CXL protocol has the same electrical characteristics as the PCIE5.0 protocol. The CXL function requires the use of a flexible interface (e.g., CXL interface), which can decide whether to use the PCIE protocol or the CXL protocol based on link layer negotiation.
计算设备中可以包括主板,主板上设置有CPU,CPU可以包括多个内存接口。计算设备还包括内存扩展板,内存扩展板上设置有内存扩展控制器(memory expander controller,MXC)。The computing device may include a mainboard, on which a CPU is disposed, and the CPU may include a plurality of memory interfaces. The computing device may also include a memory expansion board, on which a memory expansion controller (MXC) is disposed.
在相关技术中,内存扩展控制器可以与CPU的内存接口(例如CXL接口)相连接,同时,内存扩展控制器还可以与内存模块相连接。这样一来,CPU可以通过内存扩展控制器与内存模块进行数据交互。具体的,CPU可以通过内存扩展控制器从内存模块中读取数据,也可以通过内存扩展控制器向内存模块中写入数据。但是,当CPU与内存模块进行数据交互时,往往会出现CPU与内存模块之间的数据传输速率较低的技术问题。In the related art, a memory expansion controller can be connected to a memory interface (such as a CXL interface) of a CPU, and at the same time, the memory expansion controller can also be connected to a memory module. In this way, the CPU can exchange data with the memory module through the memory expansion controller. Specifically, the CPU can read data from the memory module through the memory expansion controller, and can also write data to the memory module through the memory expansion controller. However, when the CPU and the memory module exchange data, a technical problem of low data transmission rate between the CPU and the memory module often occurs.
为便于理解本申请实施例的技术方案,下面对本申请实施例中涉及的术语进行解释。To facilitate understanding of the technical solutions in the embodiments of the present application, the terms involved in the embodiments of the present application are explained below.
双倍数据率同步动态随机存取存储器DDR SDRAM(Double Data Rate Synchronous Dynamic Random Access Memory,DDR SDRAM)为具有双倍资料传输速率的SDRAM,其资料传输速度为系统主频的两倍,由于速度增加,其传输性能优于传统的SDRAM(Synchronous Dynamic Random Access Memory,SDRAM),DDR SDRAM在系统时钟的上升沿和下降沿都可以进行数据传输。为了简化表述,以下将DDR SDRAM简称为DDR。DDR内存通常用于计算机、服务器、路由器等设备中,是一种高性能、低功耗的内存技术,它可以提高系统的性能和带宽,满足不同设备的存储需求。Double Data Rate Synchronous Dynamic Random Access Memory DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory, DDR SDRAM) is an SDRAM with double data transfer rate. Its data transfer speed is twice the system main frequency. Due to the increased speed, its transmission performance is better than traditional SDRAM (Synchronous Dynamic Random Access Memory, SDRAM). DDR SDRAM can transmit data at both the rising and falling edges of the system clock. To simplify the description, DDR SDRAM is referred to as DDR below. DDR memory is commonly used in computers, servers, routers and other devices. It is a high-performance, low-power memory technology that can improve system performance and bandwidth to meet the storage needs of different devices.
目前DDR已经发展到第五代DDR5,与DDR4相比,DDR5标准性更强,功耗更低,并且所有的DDR5芯片都具有ECC(Error Checking and Correcting,ECC)功能,可以在数据发送到CPU之前检测并纠正错误。本申请实施例内存模块中的内存芯片以DDR5为例,但不局限于DDR5,也可以是其他内存芯片。At present, DDR has developed to the fifth generation DDR5. Compared with DDR4, DDR5 has stronger standardization and lower power consumption, and all DDR5 chips have ECC (Error Checking and Correcting, ECC) function, which can detect and correct errors before data is sent to the CPU. The memory chip in the memory module of the embodiment of the present application takes DDR5 as an example, but is not limited to DDR5, and can also be other memory chips.
不同代次的DDR内存的接口不同,第一代DDR包括DDR接口、第二代DDR2包括DDR2接口、第三代DDR3包括DDR3接口、第四代DDR4包括DDR4接口以及第五代DDR5包括DDR5接口,接口用于传输高速信号,每种接口都有不同的规格和性能。DDR接口的主要特点是高速传输和低功耗,它可以在同样的频率下传输更多的数据,从而提高系统的性能。Different generations of DDR memory have different interfaces. The first generation of DDR includes DDR interface, the second generation of DDR2 includes DDR2 interface, the third generation of DDR3 includes DDR3 interface, the fourth generation of DDR4 includes DDR4 interface and the fifth generation of DDR5 includes DDR5 interface. The interface is used to transmit high-speed signals. Each interface has different specifications and performance. The main features of DDR interface are high-speed transmission and low power consumption. It can transmit more data at the same frequency, thereby improving system performance.
DDR内存的接口的主要包括以下优点:The main advantages of DDR memory interface include the following:
1.高速传输:DDR内存可以在每个时钟周期内传输两次数据,因此比SDR内存更快。1. High-speed transmission: DDR memory can transmit data twice in each clock cycle, so it is faster than SDR memory.
2.低功耗:DDR内存使用低电压,因此功耗更低。2. Low power consumption: DDR memory uses low voltage and therefore consumes less power.
3.更高的带宽:DDR内存可以在同样的频率下传输更多的数据,从而提高系统的带宽。3. Higher bandwidth: DDR memory can transmit more data at the same frequency, thereby increasing the bandwidth of the system.
4.更大的容量:DDR内存可以支持更大的容量,从而满足更高的存储需求。4. Larger capacity: DDR memory can support larger capacity to meet higher storage requirements.
内存交织是指不同内存上的交错访问来提高内存访问性能的技术。CPU中的内存控制器以交替模式在不同的内存模块之间分配数据,允许内存控制器访问每个内存模块来获取较小的数据位,而不是访问单个内存模块来获取整个数据块,为内存控制器提供了更多带宽用于跨通道(内存通道)访问相同的数据量,而不是遍历单个通道将所有数据存储到单个内存模块中。Memory interleaving refers to the technology of interleaving access on different memories to improve memory access performance. The memory controller in the CPU distributes data between different memory modules in an alternating pattern, allowing the memory controller to access each memory module to obtain smaller bits of data, rather than accessing a single memory module to obtain the entire data block, providing the memory controller with more bandwidth for accessing the same amount of data across channels (memory channels), rather than traversing a single channel to store all data in a single memory module.
接下来,对本申请实施例提供的计算设备进行详细介绍。Next, the computing device provided in the embodiment of the present application is introduced in detail.
示例性的,本申请实施例提供的一种计算设备1,如图1所示。其中,计算设备1为具有数据处理能力的装置、设备或平台。在一个例子中,计算设备1可以为服务器。Exemplarily, an embodiment of the present application provides a computing device 1, as shown in Figure 1. The computing device 1 is a device, equipment or platform with data processing capabilities. In one example, the computing device 1 can be a server.
计算设备1可以包括主板11,主板11上设置有CPU111。CPU111中包括多个内存接口。内存接口具体可以为PCIE接口或者CXL接口,也就是通过PCIE协议或者CXL协议与内存模块进行通信的接口。。例如,4个CXL接口,分别为接口P0、接口P1、接口P2以及接口P3。其中,接口P0与接口P1属于同一接口分组,接口P2和接口P3属于同一接口分组,同一接口分组即为同一corner。The computing device 1 may include a motherboard 11, on which a CPU 111 is disposed. The CPU 111 includes a plurality of memory interfaces. The memory interface may specifically be a PCIE interface or a CXL interface, that is, an interface for communicating with a memory module through a PCIE protocol or a CXL protocol. For example, the four CXL interfaces are interface P0, interface P1, interface P2, and interface P3. Among them, interface P0 and interface P1 belong to the same interface group, interface P2 and interface P3 belong to the same interface group, and the same interface group is the same corner.
此处的corner是指芯片的角落,如图2所示,本申请实施例的接口P0和接口P1属于corner1,接口P2和接口P3属于corner2。The corner here refers to the corner of the chip. As shown in FIG. 2 , the interface P0 and the interface P1 of the embodiment of the present application belong to corner1, and the interface P2 and the interface P3 belong to corner2.
计算设备1还包括内存扩展板A以及内存扩展板B,内存扩展板A上设置有内存扩展控制器MXC0,内存扩展板B上设置有内存扩展控制器MXC1。The computing device 1 also includes a memory expansion board A and a memory expansion board B. The memory expansion board A is provided with a memory expansion controller MXC0, and the memory expansion board B is provided with a memory expansion controller MXC1.
内存扩展控制器MXC0的接口支持连接DDR5或者DDR4,可以使其与DDR4或者DDR5采用CXL或者PCIE协议进行通信,且MXC0与CPU111之间也可以通过CXL协议或者PCIE协议进行通信。示例性的,当采用CXL协议时,可以将MXCO分别与CPU111和内存模块a进行连接的接口称为第一CXL接口和第二CXL接口;本申请实施例以内存扩展控制器MXCO与CPU和内存模块a之间采用CXL协议进行通信为例,内存扩展控制器MXC1的协议与MXCO相同,在此不再赘述。内存扩展控制器MXC0的第一CXL接口可以与CPU的接口P0相连接,内存扩展控制器MXC0的第二CXL接口可以与内存模块a电连接。其中,内存模块a为DDR5内 存模块或者DDR4内存模块。The interface of the memory expansion controller MXC0 supports connecting to DDR5 or DDR4, and can communicate with DDR4 or DDR5 using CXL or PCIE protocol, and MXC0 and CPU111 can also communicate through the CXL protocol or PCIE protocol. Exemplarily, when the CXL protocol is adopted, the interfaces that connect MXCO to CPU111 and memory module a respectively can be referred to as the first CXL interface and the second CXL interface; the embodiment of the present application takes the communication between the memory expansion controller MXCO and the CPU and memory module a using the CXL protocol as an example, and the protocol of the memory expansion controller MXC1 is the same as that of MXCO, which will not be repeated here. The first CXL interface of the memory expansion controller MXC0 can be connected to the interface P0 of the CPU, and the second CXL interface of the memory expansion controller MXC0 can be electrically connected to the memory module a. Among them, the memory module a is a DDR5 memory. memory module or DDR4 memory module.
这样一来,CPU111可以通过内存扩展控制器MXC0与内存模块a进行数据交互。具体的,CPU111可以通过接口P0以及内存扩展控制器MXC0从内存模块a中读取数据,也可以通过接口P0以及内存扩展控制器MXC0向内存模块a中写入数据。In this way, CPU111 can exchange data with memory module a through memory expansion controller MXC0. Specifically, CPU111 can read data from memory module a through interface P0 and memory expansion controller MXC0, and can also write data to memory module a through interface P0 and memory expansion controller MXC0.
同理,内存扩展控制器MXC1的第一CXL接口可以与CPU的接口P1相连接,内存扩展控制器MXC1的第二CXL接口可以与内存模块b电连接。这样,CPU111可以通过接口P1以及内存扩展控制器MXC1从内存模块b中读取数据,也可以通过接口P1以及内存扩展控制器MXC1向内存模块b中写入数据。Similarly, the first CXL interface of the memory expansion controller MXC1 can be connected to the interface P1 of the CPU, and the second CXL interface of the memory expansion controller MXC1 can be electrically connected to the memory module b. In this way, the CPU 111 can read data from the memory module b through the interface P1 and the memory expansion controller MXC1, and can also write data to the memory module b through the interface P1 and the memory expansion controller MXC1.
在采用内存交织技术的情况下,可以以统一的间隔将连续的内存地址映射到不同的CXL设备,具体可以为内存模块a以及内存模块b。若内存模块a连接CPU111的接口P0,内存模块b连接CPU111的接口P2,由于接口P0和接口P2不属于同一接口分组,因此CPU111在访问内存模块a和内存模块b时存在访问路径太长,数据传输速度较慢的技术问题。When the memory interleaving technology is used, continuous memory addresses can be mapped to different CXL devices at uniform intervals, specifically memory module a and memory module b. If memory module a is connected to interface P0 of CPU 111, and memory module b is connected to interface P2 of CPU 111, since interface P0 and interface P2 do not belong to the same interface group, when CPU 111 accesses memory module a and memory module b, there is a technical problem that the access path is too long and the data transmission speed is slow.
相比之下,本申请实施例中的CPU111的接口P0与接口P1属于CPU111接口的同一接口分组(同一group),该接口分组是超威半导体(AMD)公司的CPU的产品手册上定义的,接口P0和接口P1属于同一接口分组,接口P2和接口P3属于另一接口分组,且P0-P3接口的功能相同,均用于与内存条或者内存扩展板连接,以从内存条读取或写入数据,其中内存条可以是DDR4,DDR5,内存扩展板可以是CXL扩展板。因此,CPU111在访问内存模块a以及内存模块b时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。In contrast, the interface P0 and interface P1 of the CPU 111 in the embodiment of the present application belong to the same interface group (same group) of the CPU 111 interface, which is defined in the product manual of the CPU of Advanced Micro Devices (AMD). Interfaces P0 and P1 belong to the same interface group, and interfaces P2 and P3 belong to another interface group. The functions of the P0-P3 interfaces are the same, and they are all used to connect to a memory stick or a memory expansion board to read or write data from the memory stick, wherein the memory stick can be DDR4, DDR5, and the memory expansion board can be a CXL expansion board. Therefore, when CPU 111 accesses memory module a and memory module b, there is no need to cross-group access, which can shorten the access path and thus increase the data transmission speed.
需要说明的是,CPU的同一接口分组分别所连接的CXL扩展板上的内存条可以应用内存交织技术,也可以不应用内存交织技术,在此不做具体限定。It should be noted that the memory bars on the CXL expansion boards respectively connected to the same interface group of the CPU may or may not apply the memory interleaving technology, which is not specifically limited here.
此外,在CPU111访问内存模块a时,实质上是CPU111的内核通过接口P0对应的CXL控制器访问内存模块a。同理,在CPU111访问内存模块b时,实质上是CPU111的内核通过接口P1对应的CXL控制器访问内存模块b。In addition, when CPU 111 accesses memory module a, it is actually the core of CPU 111 that accesses memory module a through the CXL controller corresponding to interface P0. Similarly, when CPU 111 accesses memory module b, it is actually the core of CPU 111 that accesses memory module b through the CXL controller corresponding to interface P1.
需要说明的是,内存交织(memory interleaving)是AMD CPU用于增加应用程序可用内存带宽的一种技术。在没有内存交织的情况下,连续的内存块都是从同一物理内存,例如同一个内存通道的内存条上读取的,CPU通过访问一个内存条上连续的内存块,从而来获取整个数据块。在采用内存交织的情况下,连续的内存块可位于不同内存通道的内存条上,CPU可以并发访问不同通道的内存条上的连续的内存块,从而获取整个数据块,因此有利于提升应用可用内存带宽,并降低内存延迟。It should be noted that memory interleaving is a technology used by AMD CPU to increase the memory bandwidth available to applications. Without memory interleaving, continuous memory blocks are read from the same physical memory, such as the memory stick of the same memory channel. The CPU obtains the entire data block by accessing continuous memory blocks on a memory stick. When memory interleaving is used, continuous memory blocks can be located on memory sticks of different memory channels. The CPU can concurrently access continuous memory blocks on memory sticks of different channels to obtain the entire data block, which is beneficial to improving the memory bandwidth available to applications and reducing memory latency.
示例性的,上述的内存模块a具体可以为DIMM(dual-inline-memory-modules,双列直插式存储模块),DIMM的数量根据内存扩展控制器的第二CXL接口的数量以及内存扩展板的尺寸确定,每个第二CXL接口可以连接1个或2个DIMM。内存模块b的结构与内存模块a相同,在此不再详述。Exemplarily, the memory module a may be a DIMM (dual-inline-memory-modules), the number of which is determined by the number of the second CXL interfaces of the memory expansion controller and the size of the memory expansion board, and each second CXL interface may be connected to one or two DIMMs. The structure of the memory module b is the same as that of the memory module a, and will not be described in detail here.
以下对DIMM的结构进行详细描述。The structure of DIMM is described in detail below.
在DIMM的内部,内存的数据是以位(bit)为单位写入一张大的存储单元矩阵中。只要指定一个行(Row),再指定一个列(Column),就可以准确地定位到某个存储单元,这就是内存芯片寻址的基本原理。这样的一个阵列我们就叫它内存的逻辑Bank(Logical Bank)。Inside the DIMM, the memory data is written into a large storage unit matrix in bits. As long as a row and a column are specified, a storage unit can be accurately located. This is the basic principle of memory chip addressing. We call such an array a logical bank of memory.
由于工艺上的原因,这个存储单元阵列不可能做得太大,所以一般DIMM中都是将内存容量分成几个阵列来制造,也就是说在DIMM中存在多个逻辑Bank。随着芯片容量的不断增加,逻辑Bank数量也在不断增加。逻辑Bank的地址线是通用的,利用逻辑Bank的编号可以对不同Bank进行区分。例如,一个DIMM中包括4个逻辑Bank,各Bank的编号分别为Bank0到Bank3,每一Bank包括8M个存储单元。那么一个逻辑Bank的存储容量就是64Mbit(8M×8bit),4个逻辑Bank的总存储容量为256Mbit(32MB)。Due to technological reasons, this storage unit array cannot be made too large, so the memory capacity is generally divided into several arrays in DIMMs, that is, there are multiple logical banks in the DIMM. As the chip capacity continues to increase, the number of logical banks is also increasing. The address lines of the logical banks are universal, and different banks can be distinguished by the logical bank numbers. For example, a DIMM includes 4 logical banks, and the banks are numbered from Bank0 to Bank3, and each bank includes 8M storage units. Then the storage capacity of a logical bank is 64Mbit (8M×8bit), and the total storage capacity of 4 logical banks is 256Mbit (32MB).
此外,本申请实施例中的接口P0以及接口P1仅为示例性说明。本申请实施例中的内存扩展板A可以与接口P2相连接,内存扩展板B可以与接口P3相连接,其实现方式与前面的描述内容相同,在此不再详述。In addition, the interface P0 and the interface P1 in the embodiment of the present application are only exemplary. The memory expansion board A in the embodiment of the present application can be connected to the interface P2, and the memory expansion board B can be connected to the interface P3. The implementation method is the same as the previous description and will not be described in detail here.
以下对内存扩展板A的具体结构进行示例性介绍。如图3所示,内存扩展板A上可以设置有UBC连接器0,内存扩展控制器MXC0,DIMM插槽1以及DIMM插槽2。UBC连接器0的各引脚可以通过金属走线与MXC0电连接。MXC0可以经过金属走线与DIMM插槽1的引脚以及DIMM插槽2的引脚电连接。内存模块a可以包括两个DIMM。CPU111的P0接口可以连接至主板上的另一UBC连接器,当用户将该UBC连接器通过线缆连接UBC连接器0,且将两个DIMM插置到DIMM插槽1以及DIMM插槽2中时,CPU111即可通过接口P0与两个DIMM进行数据交互。The specific structure of the memory expansion board A is exemplarily introduced below. As shown in FIG3 , the memory expansion board A may be provided with a UBC connector 0, a memory expansion controller MXC0, a DIMM slot 1, and a DIMM slot 2. Each pin of the UBC connector 0 may be electrically connected to MXC0 through a metal trace. MXC0 may be electrically connected to the pins of the DIMM slot 1 and the pins of the DIMM slot 2 through a metal trace. The memory module a may include two DIMMs. The P0 interface of the CPU 111 may be connected to another UBC connector on the motherboard. When the user connects the UBC connector to the UBC connector 0 through a cable and inserts two DIMMs into the DIMM slot 1 and the DIMM slot 2, the CPU 111 may exchange data with the two DIMMs through the interface P0.
需要说明的是,上述举例仅为示例性说明。UBC连接器0也可以被替换为其他形式的连接器,DIMM插 槽的数量也可以为1个。It should be noted that the above examples are only for illustrative purposes. The UBC connector 0 can also be replaced with other types of connectors, such as the DIMM connector. The number of slots may also be 1.
此外,内存扩展板B的结构与内存扩展A相同,在此不再详述。In addition, the structure of the memory expansion board B is the same as that of the memory expansion board A, and will not be described in detail here.
在本申请的第二实施例中,基于本申请第一实施例,内存扩展板A上还可以设置有内存扩展控制器MXC2,内存扩展板B上还可以设置有内存扩展控制器MXC3,如图4所示。In the second embodiment of the present application, based on the first embodiment of the present application, a memory expansion controller MXC2 may be further provided on the memory expansion board A, and a memory expansion controller MXC3 may be further provided on the memory expansion board B, as shown in FIG4 .
内存扩展控制器MXC2的接口支持连接DDR5或者DDR4,可以使其与DDR4或者DDR5采用CXL或者PCIE协议进行通信,且MXC0与CPU111之间也可以通过CXL协议或者PCIE协议进行通信,且将MXC2分别与CPU111和内存模块a进行连接的接口称为MXC2的第一CXL接口和第二CXL接口;本申请实施例以内存扩展控制器MXC2与CPU和内存模块a之间采用CXL协议进行通信为例,内存扩展控制器MXC3的协议与MXC2相同,在此不再赘述。内存扩展控制器MXC2的第一CXL接口可以与CPU的接口P0相连接,内存扩展控制器MXC2的第二CXL接口可以与内存模块c电连接。其中,内存模块c为DDR5内存模块或者DDR4内存模块。这样一来,CPU111可以通过接口P0以及内存扩展控制器MXC2与内存模块c进行数据交互。The interface of the memory expansion controller MXC2 supports connecting to DDR5 or DDR4, and can communicate with DDR4 or DDR5 using CXL or PCIE protocol, and MXC0 and CPU111 can also communicate through CXL protocol or PCIE protocol, and the interface connecting MXC2 to CPU111 and memory module a respectively is called the first CXL interface and the second CXL interface of MXC2; the embodiment of the present application takes the communication between the memory expansion controller MXC2 and the CPU and memory module a using CXL protocol as an example, and the protocol of the memory expansion controller MXC3 is the same as MXC2, which will not be repeated here. The first CXL interface of the memory expansion controller MXC2 can be connected to the interface P0 of the CPU, and the second CXL interface of the memory expansion controller MXC2 can be electrically connected to the memory module c. Among them, the memory module c is a DDR5 memory module or a DDR4 memory module. In this way, the CPU111 can exchange data with the memory module c through the interface P0 and the memory expansion controller MXC2.
类似的,内存扩展控制器MXC3的第一CXL接口可以与CPU的接口P1相连接,内存扩展控制器MXC3的第二CXL接口可以与内存模块d电连接。这样一来,CPU111可以通过接口P1以及内存扩展控制器MXC3与内存模块d进行数据交互。Similarly, the first CXL interface of the memory expansion controller MXC3 can be connected to the interface P1 of the CPU, and the second CXL interface of the memory expansion controller MXC3 can be electrically connected to the memory module d. In this way, the CPU 111 can exchange data with the memory module d through the interface P1 and the memory expansion controller MXC3.
其中,内存模块c和内存模块d的结构与前述内存模块a相同,本申请内存扩展板的结构也可以参考第一实施例中的内存扩展板的结构,在此不再详述。Among them, the structures of memory module c and memory module d are the same as the aforementioned memory module a. The structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
由于本申请实施例中的CPU111的接口P0与接口P1属于同一接口分组,CPU111在访问内存模块a、内存模块b、内存模块c以及内存模块d时,无需跨组访问,可以缩短访问路径,因此可以提高数据传输速度。Since interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, which can shorten the access path and thus increase the data transmission speed.
在本申请的第三实施例中,基于本申请第一实施例,计算设备1还可以包括内存扩展板C以及内存扩展板D,内存扩展板C上设置有内存扩展控制器MXC4,内存扩展板D上设置有内存扩展控制器MXC5,如图5所示。In the third embodiment of the present application, based on the first embodiment of the present application, the computing device 1 may further include a memory expansion board C and a memory expansion board D, the memory expansion board C is provided with a memory expansion controller MXC4, and the memory expansion board D is provided with a memory expansion controller MXC5, as shown in FIG5 .
内存扩展控制器MXC4的接口支持连接DDR5或者DDR4,可以使其与DDR4或者DDR5采用CXL或者PCIE协议进行通信,且MXC4与CPU111之间也可以通过CXL协议或者PCIE协议进行通信,且将MXC4分别与CPU112和内存模块a进行连接的接口称为MXC4的第一CXL接口和第二CXL接口;本申请实施例以内存扩展控制器MXC4与CPU和内存模块a之间采用CXL协议进行通信为例,内存扩展控制器MXC5的协议与MXC4相同,在此不再赘述。The interface of the memory expansion controller MXC4 supports connecting to DDR5 or DDR4, and can communicate with DDR4 or DDR5 using the CXL or PCIE protocol. MXC4 and CPU111 can also communicate through the CXL protocol or the PCIE protocol, and the interfaces connecting MXC4 to the CPU112 and the memory module a respectively are called the first CXL interface and the second CXL interface of MXC4; the embodiment of the present application takes the communication between the memory expansion controller MXC4 and the CPU and the memory module a using the CXL protocol as an example. The protocol of the memory expansion controller MXC5 is the same as that of MXC4, which will not be repeated here.
主板1上还设置有CPU112,CPU112与CPU111之间采用插槽/芯片间全局内存互连(socket/inter-chip global memory interconnect,xGMI)总线相连接,以使得两者能够进行数据交互。The mainboard 1 is also provided with a CPU 112, and the CPU 112 is connected to the CPU 111 by a socket/inter-chip global memory interconnect (xGMI) bus so that the two can exchange data.
需要说明的是,xGMI总线作为AMD平台(核心架构Zen平台)推出的一种全新的socket与socket之间相互通讯的高速互联总线,由4组x16的链路(link)组成,每组链路包含16个通道(lane),每个通道包含2对双向的高速差分对。其中,通过双向的通信连接实现数据交换的两端,该通信连接的一端称为一个socket。It should be noted that the xGMI bus is a new high-speed interconnect bus for communication between sockets launched by the AMD platform (core architecture Zen platform). It consists of 4 groups of x16 links, each of which contains 16 channels (lane), and each channel contains 2 pairs of bidirectional high-speed differential pairs. Among them, the two ends of data exchange are realized through a bidirectional communication connection, and one end of the communication connection is called a socket.
CPU112的结构可以与CPU111相同。CPU112上可以设置有多个CXL接口,例如4个CXL接口,分别为接口P0、接口P1、接口P2以及接口P3。其中接口P0与接口P1属于同一接口分组,接口P2和接口P3属于同一接口分组。The structure of CPU 112 may be the same as that of CPU 111. CPU 112 may be provided with multiple CXL interfaces, for example, 4 CXL interfaces, namely interface P0, interface P1, interface P2 and interface P3, wherein interface P0 and interface P1 belong to the same interface group, and interface P2 and interface P3 belong to the same interface group.
内存扩展控制器MXC4的第一CXL接口可以与CPU112的接口P0相连接,内存扩展控制器MXC4的第二CXL接口可以与内存模块e电连接。其中,内存模块e为DDR5内存模块或者DDR4内存模块。这样一来,CPU112可以通过接口P0以及内存扩展控制器MXC4与内存模块e进行数据交互。The first CXL interface of the memory expansion controller MXC4 can be connected to the interface P0 of the CPU 112, and the second CXL interface of the memory expansion controller MXC4 can be electrically connected to the memory module e. The memory module e is a DDR5 memory module or a DDR4 memory module. In this way, the CPU 112 can exchange data with the memory module e through the interface P0 and the memory expansion controller MXC4.
同理,内存扩展控制器MXC5的第一CXL接口可以与CPU112的接口P1相连接,内存扩展控制器MXC5的第二CXL接口可以与内存模块f电连接。这样一来,CPU112可以通过接口P1以及内存扩展控制器MXC5与内存模块f进行数据交互。Similarly, the first CXL interface of the memory expansion controller MXC5 can be connected to the interface P1 of the CPU 112, and the second CXL interface of the memory expansion controller MXC5 can be electrically connected to the memory module f. In this way, the CPU 112 can exchange data with the memory module f through the interface P1 and the memory expansion controller MXC5.
其中,内存模块e和内存模块f的结构与前述内存模块a相同,本申请内存扩展板的结构也可以参考第一实施例中的内存扩展板的结构,在此不再详述。Among them, the structures of memory module e and memory module f are the same as the aforementioned memory module a. The structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
由于本申请实施例中的CPU112的接口P0与接口P1属于同一接口分组,CPU112在访问内存模块e以及内存模块f时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块e以及内存模块f之间的数据传输速度。 Since interface P0 and interface P1 of CPU112 in the embodiment of the present application belong to the same interface group, CPU112 does not need to access across groups when accessing memory module e and memory module f, which can shorten the access path and thus improve the data transmission speed between CPU112 and memory module e and memory module f.
同理,CPU111在访问内存模块e以及内存模块f时,可以经过xGMI总线与CPU112进行数据交互,然后CPU112再与内存模块e以及内存模块f进行数据交互。CPU112在访问内存模块e以及内存模块f时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与内存模块e以及内存模块f之间的数据传输速度。Similarly, when CPU111 accesses memory module e and memory module f, it can exchange data with CPU112 through the xGMI bus, and then CPU112 can exchange data with memory module e and memory module f. When CPU112 accesses memory module e and memory module f, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e and memory module f.
同理,CPU112在访问内存模块a以及内存模块b时,可以经过xGMI总线与CPU111进行数据交互,然后CPU111再与内存模块a以及内存模块b进行数据交互,CPU111在访问内存模块a以及内存模块b时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块a以及内存模块b之间的数据传输速度。Similarly, when CPU112 accesses memory module a and memory module b, it can exchange data with CPU111 through the xGMI bus, and then CPU111 interacts with memory module a and memory module b. When CPU111 accesses memory module a and memory module b, there is no need for cross-group access, which can shorten the access path and thus improve the data transmission speed between CPU112 and memory module a and memory module b.
在本申请的第四实施例中,本申请施例中的CPU111所连接的内存扩展板与内存模块与本申请第二实施例中相同,本申请实施例中的CPU112所连接的内存扩展板与内存模块与本申请第三实施例中相同,如图6所示。In the fourth embodiment of the present application, the memory expansion board and memory module connected to the CPU 111 in the embodiment of the present application are the same as those in the second embodiment of the present application, and the memory expansion board and memory module connected to the CPU 112 in the embodiment of the present application are the same as those in the third embodiment of the present application, as shown in Figure 6.
这样一来,由于本申请实施例中的CPU111的接口P0与接口P1属于同一接口分组,CPU111在访问内存模块a、内存模块b、内存模块c以及内存模块d时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度。In this way, since interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, and the access path can be shortened, thereby improving the data transmission speed between CPU111 and memory module a, memory module b, memory module c and memory module d.
同理,CPU112在访问内存模块e以及内存模块f时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块e以及内存模块f之间的数据传输速度。Similarly, when CPU 112 accesses memory module e and memory module f, it does not need to access across groups, which can shorten the access path, thereby increasing the data transmission speed between CPU 112 and memory module e and memory module f.
同理,CPU111在访问内存模块e以及内存模块f时,可以经过xGMI总线与CPU112进行数据交互,然后CPU112再与内存模块e以及内存模块f进行数据交互。CPU112在访问内存模块e以及内存模块f时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与内存模块e以及内存模块f之间的数据传输速度。Similarly, when CPU111 accesses memory module e and memory module f, it can exchange data with CPU112 through the xGMI bus, and then CPU112 can exchange data with memory module e and memory module f. When CPU112 accesses memory module e and memory module f, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e and memory module f.
同理,CPU112在访问内存模块a、内存模块b、内存模块c以及内存模块d时,可以经过xGMI总线与CPU111进行数据交互,然后CPU111再与内存模块a、内存模块b、内存模块c以及内存模块d进行数据交互。CPU111在访问内存模块a、内存模块b、内存模块c以及内存模块d时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度。Similarly, when CPU112 accesses memory module a, memory module b, memory module c, and memory module d, it can exchange data with CPU111 through the xGMI bus, and then CPU111 can exchange data with memory module a, memory module b, memory module c, and memory module d. When CPU111 accesses memory module a, memory module b, memory module c, and memory module d, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU112 and memory module a, memory module b, memory module c, and memory module d.
在本申请的第五实施例中,本申请施例中的CPU111所连接的内存扩展板与内存模块与本申请第二实施例中相同。对于CPU112所连接的内存扩展板与内存模块而言,相比于第三实施例中的CPU112及其所连接的内存扩展板与内存模块,本申请实施例中的内存扩展板C上还可以设置有内存扩展控制器MXC6,内存扩展板D上还可以设置有内存扩展控制器MXC7,如图7所示。In the fifth embodiment of the present application, the memory expansion board and memory module connected to the CPU 111 in the embodiment of the present application are the same as those in the second embodiment of the present application. As for the memory expansion board and memory module connected to the CPU 112, compared with the CPU 112 and the memory expansion board and memory module connected thereto in the third embodiment, the memory expansion board C in the embodiment of the present application may also be provided with a memory expansion controller MXC6, and the memory expansion board D may also be provided with a memory expansion controller MXC7, as shown in FIG. 7 .
内存扩展控制器MXC6的接口支持连接DDR5或者DDR4,可以使其与DDR4或者DDR5采用CXL或者PCIE协议进行通信,且MXC4与CPU111之间也可以通过CXL协议或者PCIE协议进行通信,且将MXC6分别与CPU112和内存模块a进行连接的接口称为MXC6的第一CXL接口和第二CXL接口;本申请实施例以内存扩展控制器MXC6与CPU和内存模块a之间采用CXL协议进行通信为例,内存扩展控制器MXC7的协议与MXC6相同,在此不再赘述。The interface of the memory expansion controller MXC6 supports connecting to DDR5 or DDR4, and can enable it to communicate with DDR4 or DDR5 using the CXL or PCIE protocol, and MXC4 and CPU111 can also communicate through the CXL protocol or the PCIE protocol, and the interfaces that connect MXC6 to the CPU112 and the memory module a respectively are called the first CXL interface and the second CXL interface of MXC6; the embodiment of the present application takes the use of the CXL protocol between the memory expansion controller MXC6 and the CPU and the memory module a as an example, the protocol of the memory expansion controller MXC7 is the same as that of MXC6, which will not be repeated here.
内存扩展控制器MXC6的第一CXL接口可以与CPU112的接口P0相连接,内存扩展控制器MXC6的第二CXL接口可以与内存模块g电连接。其中,内存模块g为DDR5内存模块或者DDR4内存模块。这样一来,CPU112可以通过接口P0以及内存扩展控制器MXC6与内存模块g进行数据交互。The first CXL interface of the memory expansion controller MXC6 can be connected to the interface P0 of the CPU 112, and the second CXL interface of the memory expansion controller MXC6 can be electrically connected to the memory module g. Among them, the memory module g is a DDR5 memory module or a DDR4 memory module. In this way, the CPU 112 can exchange data with the memory module g through the interface P0 and the memory expansion controller MXC6.
同理,内存扩展控制器MXC7的第一CXL接口可以与CPU112的接口P1相连接,内存扩展控制器MXC7的第二CXL接口可以与内存模块h电连接。其中,内存模块h为DDR5内存模块或者DDR4内存模块。这样一来,CPU112可以通过接口P1以及内存扩展控制器MXC7与内存模块h进行数据交互。Similarly, the first CXL interface of the memory expansion controller MXC7 can be connected to the interface P1 of the CPU 112, and the second CXL interface of the memory expansion controller MXC7 can be electrically connected to the memory module h. Among them, the memory module h is a DDR5 memory module or a DDR4 memory module. In this way, the CPU 112 can exchange data with the memory module h through the interface P1 and the memory expansion controller MXC7.
其中,内存模块g和内存模块h的结构与前述内存模块a相同,本申请内存扩展板的结构也可以参考第一实施例中的内存扩展板的结构,在此不再详述。Among them, the structures of memory module g and memory module h are the same as the aforementioned memory module a. The structure of the memory expansion board of the present application can also refer to the structure of the memory expansion board in the first embodiment, which will not be described in detail here.
这样一来,由于本申请实施例中的CPU111的接口P0与接口P1属于同一接口分组,CPU111在访问内存模块a、内存模块b、内存模块c以及内存模块d时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度。In this way, since interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to access across groups when accessing memory module a, memory module b, memory module c and memory module d, and the access path can be shortened, thereby improving the data transmission speed between CPU111 and memory module a, memory module b, memory module c and memory module d.
同理,CPU112在访问内存模块e、内存模块f、内存模块g以及内存模块h时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块e、内存模块f、内存模块g以及内存模块h之间的数据 传输速度。Similarly, when CPU 112 accesses memory module e, memory module f, memory module g, and memory module h, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission rate between CPU 112 and memory module e, memory module f, memory module g, and memory module h. Transfer speed.
同理,CPU111在访问内存模块e、内存模块f、内存模块g以及内存模块h时,可以经过xGMI总线与CPU112进行数据交互,然后CPU112再与内存模块e、内存模块f、内存模块g以及内存模块h进行数据交互。CPU112在访问内存模块e、内存模块f、内存模块g以及内存模块h时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与内存模块e、内存模块f、内存模块g以及内存模块h之间的数据传输速度。Similarly, when CPU111 accesses memory module e, memory module f, memory module g, and memory module h, it can exchange data with CPU112 through the xGMI bus, and then CPU112 exchanges data with memory module e, memory module f, memory module g, and memory module h. When CPU112 accesses memory module e, memory module f, memory module g, and memory module h, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU111 and memory module e, memory module f, memory module g, and memory module h.
同理,CPU112在访问内存模块a、内存模块b、内存模块c以及内存模块d时,可以经过xGMI总线与CPU111进行数据交互,然后CPU111再与内存模块a、内存模块b、内存模块c以及内存模块d进行数据交互。CPU111在访问内存模块a、内存模块b、内存模块c以及内存模块d时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度。Similarly, when CPU112 accesses memory module a, memory module b, memory module c, and memory module d, it can exchange data with CPU111 through the xGMI bus, and then CPU111 can exchange data with memory module a, memory module b, memory module c, and memory module d. When CPU111 accesses memory module a, memory module b, memory module c, and memory module d, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU112 and memory module a, memory module b, memory module c, and memory module d.
本申请第六实施例为第五实施例的一种具体实现方式。具体的,如图8所示,主板11上设置有电源模块1,具体的,该电源模块1可以为开关电源。相应的,内存扩展板A上设置有供电连接器1,内存扩展板B上设置有供电连接器2。当用户需要使用内存扩展板A和B时,可以采用线缆将电源模块1的输出端与供电连接器1以及供电连接器2相连接,以使得电源模块1能够对内存扩展板A和B进行供电。The sixth embodiment of the present application is a specific implementation of the fifth embodiment. Specifically, as shown in FIG8 , a power module 1 is provided on the mainboard 11, and specifically, the power module 1 can be a switching power supply. Correspondingly, a power supply connector 1 is provided on the memory expansion board A, and a power supply connector 2 is provided on the memory expansion board B. When the user needs to use the memory expansion boards A and B, a cable can be used to connect the output end of the power module 1 to the power supply connector 1 and the power supply connector 2, so that the power module 1 can supply power to the memory expansion boards A and B.
类似的,主板11上的电源模块2的输出端可以经供电连接器3对内存扩展板C进行供电,还可以经供电连接器4对内存扩展板D进行供电。在图8所示的连接方式中,一个内存通道连接两个内存条;例如,DIMM1和DIMM2通过同一个内存通道连接MXC1,DIMM3和DIMM4通过同一个内存通道连接MXC2……其他内存条的连接方式与DIMM1和DIMM2的连接方式相同,不再赘述。Similarly, the output end of the power module 2 on the mainboard 11 can supply power to the memory expansion board C via the power connector 3, and can also supply power to the memory expansion board D via the power connector 4. In the connection mode shown in FIG8 , one memory channel connects two memory bars; for example, DIMM1 and DIMM2 are connected to MXC1 via the same memory channel, and DIMM3 and DIMM4 are connected to MXC2 via the same memory channel... The connection mode of other memory bars is the same as that of DIMM1 and DIMM2, and will not be described in detail.
主板11中包括UBC连接器A0,且接口P0经主板1上的金属走线与UBC连接器A0电连接。The mainboard 11 includes a UBC connector A0 , and the interface P0 is electrically connected to the UBC connector A0 via metal traces on the mainboard 1 .
内存扩展板A上设置有UBC连接器B0以及UBC连接器B1。且UBC连接器B0经金属走线与MXC0电连接,UBC连接器B1经金属走线与MXC2电连接。MXC0的一个内存通道可以与DIMM插槽1以及DIMM插槽2相连接。内存模块a可以包括DIMM1以及DIMM2,DIMM插槽1中可以插置DIMM1,DIMM插槽2也可以插置DIMM2。The memory expansion board A is provided with a UBC connector B0 and a UBC connector B1. The UBC connector B0 is electrically connected to MXC0 via a metal trace, and the UBC connector B1 is electrically connected to MXC2 via a metal trace. A memory channel of MXC0 can be connected to DIMM slot 1 and DIMM slot 2. Memory module a can include DIMM1 and DIMM2, DIMM slot 1 can be inserted with DIMM1, and DIMM slot 2 can also be inserted with DIMM2.
当用户用线缆将UBC连接器A0与UBC连接器B0以及UBC连接器B1相连接时,CPU111即可通过接口P0以及MXC0,与DIMM1和DIMM2进行数据交互,CPU111还可以通过接口P0以及MXC2,与DIMM3和DIMM4进行数据交互。When the user connects UBC connector A0 to UBC connector B0 and UBC connector B1 with a cable, CPU111 can exchange data with DIMM1 and DIMM2 through interface P0 and MXC0. CPU111 can also exchange data with DIMM3 and DIMM4 through interface P0 and MXC2.
同理,内存扩展板B的结构与内存扩展板A的结构相同。当用户用线缆将UBC连接器A1与UBC连接器B2以及UBC连接器B3相连接时,CPU111即可通过接口P1以及MXC1,与DIMM5和DIMM6进行数据交互,CPU111还可以通过接口P1以及MXC3,与DIMM7和DIMM8进行数据交互。Similarly, the structure of the memory expansion board B is the same as that of the memory expansion board A. When the user connects the UBC connector A1 with the UBC connector B2 and the UBC connector B3 with a cable, the CPU 111 can exchange data with DIMM5 and DIMM6 through the interface P1 and MXC1, and the CPU 111 can also exchange data with DIMM7 and DIMM8 through the interface P1 and MXC3.
由于本申请实施例中的CPU111的接口P0与接口P1属于同一接口分组,CPU111在访问DIMM1至DIMM8时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与DIMM1至DIMM8之间的数据传输速度。Since interface P0 and interface P1 of CPU111 in the embodiment of the present application belong to the same interface group, CPU111 does not need to cross-group access when accessing DIMM1 to DIMM8, which can shorten the access path and thus improve the data transmission speed between CPU111 and DIMM1 to DIMM8.
类似的,内存扩展板C和D的结构与内存扩展板A的结构相同。当用户用线缆将UBC连接器A2与UBC连接器B4以及UBC连接器B5相连接时,CPU112即可通过接口P0以及MXC4,与DIMM9和DIMM10进行数据交互,CPU112还可以通过接口P0以及MXC6,与DIMM11和DIMM12进行数据交互。同理,当用户用线缆将UBC连接器A3与UBC连接器B6以及UBC连接器B7相连接时,CPU112即可通过接口P1以及MXC5,与DIMM13和DIMM14进行数据交互,CPU112还可以通过接口P1以及MXC7,与DIMM15和DIMM16进行数据交互。Similarly, the structure of memory expansion boards C and D is the same as that of memory expansion board A. When the user connects UBC connector A2 with UBC connector B4 and UBC connector B5 with a cable, CPU112 can exchange data with DIMM9 and DIMM10 through interface P0 and MXC4, and CPU112 can also exchange data with DIMM11 and DIMM12 through interface P0 and MXC6. Similarly, when the user connects UBC connector A3 with UBC connector B6 and UBC connector B7 with a cable, CPU112 can exchange data with DIMM13 and DIMM14 through interface P1 and MXC5, and CPU112 can also exchange data with DIMM15 and DIMM16 through interface P1 and MXC7.
由于本申请实施例中的CPU112的接口P0与接口P1属于同一接口分组,CPU112在访问DIMM9至DIMM16时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与DIMM9至DIMM16之间的数据传输速度。Since interface P0 and interface P1 of CPU112 in the embodiment of the present application belong to the same interface group, CPU112 does not need to cross-group access when accessing DIMM9 to DIMM16, which can shorten the access path and thus improve the data transmission speed between CPU112 and DIMM9 to DIMM16.
同理,CPU111在访问DIMM9至DIMM16时,可以经过xGMI总线与CPU112进行数据交互,然后CPU112再与DIMM9至DIMM16进行数据交互。CPU112在访问DIMM9至DIMM16时,无需跨组访问,可以缩短访问路径,因此可以提高CPU111与DIMM9至DIMM16之间的数据传输速度。Similarly, when CPU 111 accesses DIMM 9 to DIMM 16, it can exchange data with CPU 112 through the xGMI bus, and then CPU 112 can exchange data with DIMM 9 to DIMM 16. When CPU 112 accesses DIMM 9 to DIMM 16, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU 111 and DIMM 9 to DIMM 16.
CPU112在访问DIMM1至DIMM8时,可以经过xGMI总线与CPU111进行数据交互,然后CPU111再与DIMM1至DIMM8进行数据交互。CPU111在访问DIMM1至DIMM8时,无需跨组访问,可以缩短访问路径,因此可以提高CPU112与DIMM1至DIMM8之间的数据传输速度。When CPU 112 accesses DIMM 1 to DIMM 8, it can exchange data with CPU 111 through the xGMI bus, and then CPU 111 can exchange data with DIMM 1 to DIMM 8. When CPU 111 accesses DIMM 1 to DIMM 8, it does not need to cross-group access, which can shorten the access path, thereby improving the data transmission speed between CPU 112 and DIMM 1 to DIMM 8.
发明人利用第六实施例提供的计算设备,对CPU与内存模块之间的数据传输速度进行了测试。以下通 过实际测试数据,对本申请实施例所产生的技术效果进行具体说明。The inventor used the computing device provided by the sixth embodiment to test the data transmission speed between the CPU and the memory module. The technical effects produced by the embodiments of the present application are specifically described through actual test data.
在现有技术中,本领域技术人员可能将内存模块连接在不属于同一接口分组的CXL接口上。在一个例子中,CPU111中的接口P2(而非接口P0)通过内存扩展板A连接内存模块a和内存模块c,CPU111的接口P1的连接关系如图8所示。在采用这种连接关系时,内存模块a与内存模块c所连接的CXL接口为接口P2,内存模块b与内存模块d所连接的CXL接口为接口P1,接口P1和接口P2不属于同一接口分组。In the prior art, a person skilled in the art may connect a memory module to a CXL interface that does not belong to the same interface group. In one example, interface P2 (not interface P0) in CPU 111 connects memory module a and memory module c through memory expansion board A, and the connection relationship of interface P1 of CPU 111 is shown in FIG8 . When this connection relationship is adopted, the CXL interface to which memory module a and memory module c are connected is interface P2, and the CXL interface to which memory module b and memory module d are connected is interface P1, and interface P1 and interface P2 do not belong to the same interface group.
发明人在实际测试中发现,CPU111与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度为60G/s,CPU112与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度同样为60G/s。The inventor found in actual tests that the data transmission speed between CPU111 and memory module a, memory module b, memory module c and memory module d is 60G/s, and the data transmission speed between CPU112 and memory module a, memory module b, memory module c and memory module d is also 60G/s.
相比之下,在CPU111采用第六实施例中的连接关系时,接口P0和接口P1属于同一接口分组。发明人在实际测试中发现,CPU111与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度提升至80G/s,CPU112与内存模块a、内存模块b、内存模块c以及内存模块d之间的数据传输速度提升至80G/s。In contrast, when CPU 111 adopts the connection relationship in the sixth embodiment, interface P0 and interface P1 belong to the same interface group. The inventor found in actual tests that the data transmission speed between CPU 111 and memory module a, memory module b, memory module c and memory module d is increased to 80G/s, and the data transmission speed between CPU 112 and memory module a, memory module b, memory module c and memory module d is increased to 80G/s.
类似的,在一个例子中,CPU112的接口P2(而非接口P0)通过内存扩展板C连接内存模块e和内存模块g,而CPU112的接口P1的连接关系如图8所示。此时,CPU111与内存模块e、内存模块f、内存模块g以及内存模块h之间的数据传输速度为60G/s,CPU112与内存模块e、内存模块f、内存模块g以及内存模块h之间的数据传输速度同样为60G/s。在CPU112采用第六实施例中的连接关系时,上述两项数据传输速度均提升至80G/s。Similarly, in one example, the interface P2 (rather than the interface P0) of the CPU 112 is connected to the memory module e and the memory module g through the memory expansion board C, and the connection relationship of the interface P1 of the CPU 112 is shown in FIG8 . At this time, the data transmission speed between the CPU 111 and the memory module e, the memory module f, the memory module g, and the memory module h is 60G/s, and the data transmission speed between the CPU 112 and the memory module e, the memory module f, the memory module g, and the memory module h is also 60G/s. When the CPU 112 adopts the connection relationship in the sixth embodiment, the above two data transmission speeds are both increased to 80G/s.
可以理解的是,本申请实施例示意的计算设备1的结构并不构成对计算设备1的具体限定。在本申请另一些实施例中,计算设备1可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure of the computing device 1 illustrated in the embodiment of the present application does not constitute a specific limitation on the computing device 1. In other embodiments of the present application, the computing device 1 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
此外,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。In addition, the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内。 The above is only a specific implementation of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited to this. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311841697.0A CN117909273A (en) | 2023-12-28 | 2023-12-28 | Computing equipment |
| CN202311841697.0 | 2023-12-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025138620A1 true WO2025138620A1 (en) | 2025-07-03 |
Family
ID=90691509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/098894 Pending WO2025138620A1 (en) | 2023-12-28 | 2024-06-13 | Computing device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117909273A (en) |
| WO (1) | WO2025138620A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117909273A (en) * | 2023-12-28 | 2024-04-19 | 超聚变数字技术有限公司 | Computing equipment |
| CN118467182B (en) * | 2024-07-10 | 2024-10-01 | 苏州元脑智能科技有限公司 | Memory access method, computer program product, electronic device, and medium |
| CN118964044B (en) * | 2024-10-14 | 2025-02-25 | 苏州元脑智能科技有限公司 | Memory expansion system and method, electronic device and storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1564130A (en) * | 2004-04-06 | 2005-01-12 | 中兴通讯股份有限公司 | Method of identifying big or small memory of imbedded system |
| CN103970485A (en) * | 2014-04-28 | 2014-08-06 | 无锡云动科技发展有限公司 | Nonvolatile memory extending device, memory array and computer device |
| CN104731531A (en) * | 2015-03-24 | 2015-06-24 | 浪潮集团有限公司 | Server node architecture design method for separated type high-capacity memory |
| CN109684257A (en) * | 2018-12-24 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of long-distance inner expansion management system |
| CN113806108A (en) * | 2021-08-25 | 2021-12-17 | 海光信息技术股份有限公司 | Retransmission method, memory controller, processor system and electronic equipment |
| CN116886644A (en) * | 2023-09-06 | 2023-10-13 | 苏州浪潮智能科技有限公司 | Switch chips, memory expansion modules and memory expansion systems |
| US20230385220A1 (en) * | 2020-11-24 | 2023-11-30 | Intel Corporation | Multi-port memory link expander to share data among hosts |
| CN117909273A (en) * | 2023-12-28 | 2024-04-19 | 超聚变数字技术有限公司 | Computing equipment |
-
2023
- 2023-12-28 CN CN202311841697.0A patent/CN117909273A/en active Pending
-
2024
- 2024-06-13 WO PCT/CN2024/098894 patent/WO2025138620A1/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1564130A (en) * | 2004-04-06 | 2005-01-12 | 中兴通讯股份有限公司 | Method of identifying big or small memory of imbedded system |
| CN103970485A (en) * | 2014-04-28 | 2014-08-06 | 无锡云动科技发展有限公司 | Nonvolatile memory extending device, memory array and computer device |
| CN104731531A (en) * | 2015-03-24 | 2015-06-24 | 浪潮集团有限公司 | Server node architecture design method for separated type high-capacity memory |
| CN109684257A (en) * | 2018-12-24 | 2019-04-26 | 广东浪潮大数据研究有限公司 | A kind of long-distance inner expansion management system |
| US20230385220A1 (en) * | 2020-11-24 | 2023-11-30 | Intel Corporation | Multi-port memory link expander to share data among hosts |
| CN113806108A (en) * | 2021-08-25 | 2021-12-17 | 海光信息技术股份有限公司 | Retransmission method, memory controller, processor system and electronic equipment |
| CN116886644A (en) * | 2023-09-06 | 2023-10-13 | 苏州浪潮智能科技有限公司 | Switch chips, memory expansion modules and memory expansion systems |
| CN117909273A (en) * | 2023-12-28 | 2024-04-19 | 超聚变数字技术有限公司 | Computing equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117909273A (en) | 2024-04-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12200860B2 (en) | Load reduced memory module | |
| US11520508B2 (en) | High performance, high capacity memory modules and systems | |
| US11500576B2 (en) | Apparatus and architecture of non-volatile memory module in parallel configuration | |
| JP5464529B2 (en) | Multi-mode memory device and method | |
| WO2025138620A1 (en) | Computing device | |
| US20100005212A1 (en) | Providing a variable frame format protocol in a cascade interconnected memory system | |
| WO2007038225A2 (en) | A memory module including a plurality of integrated circuit memory devices and a plurality of buffer devices in a matrix topology | |
| US20230044892A1 (en) | Multi-channel memory module | |
| CN100527091C (en) | Device for implementing function of mistake examination and correction | |
| US12524357B2 (en) | Buffer communication for data buffers supporting multiple pseudo channels | |
| US20220368047A1 (en) | Adapter card with compression attached memory modules | |
| US20080091888A1 (en) | Memory system having baseboard located memory buffer unit | |
| US20220413768A1 (en) | Memory module with double data rate command and data interfaces supporting two-channel and four-channel modes | |
| KR20250146343A (en) | Accelerated dram (dynamic random access memory) training | |
| EP1963977A1 (en) | Memory systems with memory chips down and up | |
| US20230393740A1 (en) | Four way pseudo split die dynamic random access memory (dram) architecture | |
| US20230385208A1 (en) | Accelerated memory training through in-band configuration register update mode | |
| US20230071117A1 (en) | Multiplexed ranks (mr) with pseudo burst length 32 (bl32) | |
| CN119107986A (en) | Memory module, electronic device and data migration method | |
| CN222462056U (en) | Processor motherboard and processor system | |
| US20230333928A1 (en) | Storage and access of metadata within selective dynamic random access memory (dram) devices | |
| EP4459468A1 (en) | Storage and access of metadata within selective dynamic random access memory (dram) devices | |
| US20250062576A1 (en) | Edge mount memory connector footprint | |
| US20250063659A1 (en) | Edge mount memory connector with staggered footprint pins | |
| US20240080988A1 (en) | High density interposers with modular memory units |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24909582 Country of ref document: EP Kind code of ref document: A1 |