Computing system and data transmission method
By using multiple transmission channels for data transmission in the computing system and directly reading and writing data in the memory, the problem of data transmission delay and power consumption between chips is solved, and the task execution efficiency of the computing device is improved.
Patent Information
- Application Number
- PCT/CN2024/077401
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2024-02-18
- Publication Date
- 2024-08-29
AI Technical Summary
In computing devices, due to the limited data transmission capabilities between different chips, data transmission delays and power consumption increase, affecting the task execution efficiency of applications such as artificial intelligence and 3D model rendering.
By setting up multiple transmission channels in the computing system, the processor of each subsystem is allowed to obtain the memory address and associate the segment address to multiple transmission channels to achieve multi-channel concurrent transmission and directly read and write data in the memory to avoid Data segmentation and packet processing.
It reduces data transmission delay and power consumption, improves data transmission efficiency, and ensures the execution of application tasks with high computing power.
Smart Images

Figure CN2024077401_29082024_PF_FP_ABST
Abstract
Description
Computing system and data transmission method
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 20, 2023, with application number 202310158173.5 and application name “Computing System and Data Transmission Method”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a computing system and a data transmission method. Background Art
[0003] To meet the high computing power requirements of applications (APPs) such as artificial intelligence (AI) and three-dimensional (3D) model rendering, multiple chips are installed in computing devices to collaboratively process application tasks. These multiple computing systems form a computing system to collaboratively process APP tasks.
[0004] When multiple chips collaborate to process app tasks, they may need to exchange large amounts of data between them. Currently, data transmission capabilities between chips are limited, resulting in data delays, which can hinder the execution of app tasks.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a computing system and a data transmission method, which can reduce data transmission delay and power consumption.
[0007] In a first aspect, a computing system is provided, which includes: a first subsystem and a second subsystem, wherein there are N transmission channels between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem includes a processor and a memory; wherein, when there is data to be transmitted between the first subsystem and the second subsystem, the processor of the first subsystem is used to obtain a first address in the memory of the first subsystem and a second address in the memory of the second subsystem; the first address is one of the source address and the destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; the processor of the first subsystem is used to associate N segment addresses in the second address with N transmission channels; different segment addresses are different addresses in the second address, and correspond to different addresses in the first address, and are associated with different transmission channels; when the second address is a source address, the processor of the first subsystem is used to read data on the segment address through the transmission channel associated with the segment address, and store the read data at the address corresponding to the segment address in the first address.
[0008] The first subsystem and the second subsystem may be or include different chips. The first subsystem and the second subsystem may collaboratively process application tasks. When collaboratively processing application tasks, data exchange may be required between the first subsystem and the second subsystem. For example, the first subsystem may process the first task of the application, and the second subsystem may process the second task of the application. The execution of the second task requires the execution result of the first task, that is, the first subsystem needs to send the execution result of the first task to the second subsystem, that is, there is data to be transmitted between the first subsystem and the second subsystem.
[0009] Typically, the amount of data to be transmitted is large, and a single transmission channel cannot meet the needs of data transmission. Therefore, multiple transmission channels are needed to transmit data. When data is transmitted according to the existing multi-channel transmission method, the source of the data divides the data to be transmitted, packages it into multiple data packets, and then transmits different data packets on different transmission channels. After the destination of the data receives the data packets, it repacks them according to the order between the data. Data segmentation and packetization increase data transmission delay and power consumption. In addition, the time when data packets transmitted by different transmission channels arrive at the destination may be inconsistent. When packetizing according to the order between the data, it is necessary to wait for late-arriving data packets, which further increases data transmission delay.
[0010] In the computing system provided by the embodiment of the present application, when the first subsystem needs to obtain data from the second subsystem, the first subsystem can obtain the address of the data to be transmitted in the second subsystem, and associate the N segment addresses in the address with the N transmission channels between the first subsystem and the second subsystem. Then, the first subsystem can read data from the segment address through the transmission channel associated with each segment address in the N segment addresses, and store the read data at the address corresponding to the segment address in the second subsystem, thereby completing the data transmission by concurrent transmission through multiple transmission channels and improving the data transmission efficiency. In particular, the first subsystem reads data from the segment address of the second subsystem without the need for the second subsystem to split the data and pack the data packets. The read data is stored at the address corresponding to the segment address, without the need for the first subsystem to assemble the data and wait for late data. As a result, the data transmission delay and power consumption are reduced.
[0011] In one possible implementation, when the second address is the destination address, the processor of the first subsystem is used to write data at the segment address through a transmission channel associated with the segment address, wherein the written data is data at the address corresponding to the segment address in the first address.
[0012] In this implementation, when the first subsystem needs to send data to the second subsystem, the first subsystem can obtain the address in the second subsystem for storing the data to be transmitted, and associate the N segmented addresses in the address with the N transmission channels between the first subsystem and the second subsystem. Then, the first subsystem can write the data corresponding to the address of the segmented address to the segmented address through the transmission channel associated with each segmented address in the N segmented addresses, thereby completing the data transmission through the concurrent transmission of multiple transmission channels, thereby improving the data transmission efficiency. In particular, the first subsystem writes the data corresponding to the address of the segmented address to the segmented address, without the need for the first subsystem to split the data and pack the data packets, and without the need for the second subsystem to assemble the packets and wait for late data. As a result, the data transmission delay and power consumption are reduced.
[0013] In a possible implementation, when the second address is a source address, the processor of the first subsystem is configured to send a first read instruction with a destination address being the segment address to the second subsystem through a transmission channel associated with the segment address to read data on the segment address.
[0014] In this implementation, when the first subsystem needs to obtain data from the second subsystem, the processor of the first subsystem can send a read instruction with the destination address being the segment address through the transmission channel associated with the segment address. Through this read instruction, the data on the segment address can be read without going through the operating system of the second subsystem, thereby enabling the first subsystem to read data directly from the memory of the second subsystem, reducing data transmission delay and power consumption.
[0015] In one possible implementation, the first subsystem includes a bus and a port of a transmission channel, and the port of the transmission channel and the processor of the first subsystem are connected to the bus; the processor of the first subsystem is used to send a second read instruction whose destination address is the port address of the transmission channel associated with the segment address through the bus, so that the second read instruction can be sent to the port of the transmission channel associated with the segment address; the port of the transmission channel associated with the segment address is used to convert the port address in the second read instruction into a segment address to obtain a first read instruction; the port of the transmission channel associated with the segment address is used to send the first read instruction to the second subsystem.
[0016] In this implementation, the first subsystem first sets the destination address of a read instruction to the port address of the transmission channel associated with the segment address. When the read instruction is sent via the bus, the read instruction is routed to the port of the transmission channel. The port of the transmission channel converts the destination address of the read instruction from the port address of the transmission channel to the segment address and sends the read instruction to the second subsystem via the transmission channel. The read instruction is then routed to the memory of the second subsystem within the second subsystem. The memory of the second subsystem executes the read instruction, reads the data at the segment address, and returns the read data to the second subsystem, thus completing the data transmission.
[0017] In a possible implementation, the processor of the first subsystem is configured to divide the second address into N segment addresses based on transmission capabilities of the N transmission channels; wherein the length of the segment address is positively correlated with the transmission capability of the transmission channel associated with the segment address.
[0018] In this implementation, the length of the segment address can be determined according to the transmission capacity of each of the N transmission channels, so that the length of the segment address associated with the transmission channel with stronger transmission capacity is longer, and the length of the segment address associated with the transmission channel with weaker transmission capacity is shorter. In this way, more data is transmitted through the transmission channel with strong transmission capacity, and less data is transmitted through the transmission channel with weak transmission capacity, which not only avoids the waste of transmission capacity but also improves data transmission efficiency.
[0019] In a possible implementation, the transmission capability includes available bandwidth and / or quality of service (QoS).
[0020] In one possible implementation, the first subsystem includes a first transmission engine and a second transmission engine. When the load on the first transmission engine is less than that on the second transmission engine, the processor of the first subsystem is configured to utilize the first transmission engine to read data at a segment address via a transmission channel associated with the segment address. The storage of the second subsystem may be a memory, and the transmission engine has direct memory access capability. The processor of the first subsystem can directly access the contents of the second subsystem through the transmission engine to achieve data transmission.
[0021] In this implementation, the processor of the first subsystem uses a transmission engine with a smaller load to read data from the memory of the second subsystem, thereby improving data transmission efficiency.
[0022] In one possible implementation, the first subsystem includes k transmission engines, where k is an integer greater than 1. The processor of the first subsystem is configured to divide the second address into k segment addresses, with the k segment addresses corresponding one-to-one to the k transmission engines. When a first segment address among the k segment addresses and a second segment address among the N segment addresses intersect, the processor of the first subsystem is configured to use the transmission engine corresponding to the first segment address to read the data at the intersection through the transmission channel associated with the second segment address. The storage of the second subsystem may be a memory, and the transmission engine has direct memory access capability. The processor of the first subsystem can directly access the memory of the second subsystem through the transmission engine to achieve data transmission.
[0023] In this implementation, addresses can be divided into segmented addresses corresponding to the transmission engines based on the number of transmission engines, where one transmission engine corresponds to one segmented address. A transmission engine transmits data at the intersection of the segmented address corresponding to the transmission engine and the segmented address corresponding to the transmission channel through a transmission channel. This enables concurrent data transmission across multiple transmission channels and multiple transmission engines, fully utilizing the transmission capabilities of the transmission channels and transmission engines and improving data transmission efficiency.
[0024] In one possible implementation, the processor of the first subsystem is any one of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a field programmable gate array (FPGA), and the processor of the second subsystem is any one of a CPU, a GPU, an NPU, and an FPGA.
[0025] In a second aspect, a data transmission method is provided, which is applied to a first subsystem in a computing system, the computing system also including a second subsystem, there are N transmission channels between the first subsystem and the second subsystem, N is an integer greater than 1, and each subsystem includes a processor and a memory; the method includes: when there is data to be transmitted between the first subsystem and the second subsystem, the processor of the first subsystem obtains a first address in the memory of the first subsystem and a second address in the memory of the second subsystem; the first address is one of the source address and the destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; the processor of the first subsystem associates N segment addresses in the second address to N transmission channels; different segment addresses are different addresses in the second address, and correspond to different addresses in the first address, and are associated with different transmission channels; when the second address is the source address, the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, and stores the read data in the address corresponding to the segment address in the first address.
[0026] In one possible implementation, the method further includes: when the second address is the destination address, the processor of the first subsystem writes data at the segment address through a transmission channel associated with the segment address, wherein the written data is data at the address corresponding to the segment address in the first address.
[0027] In one possible implementation, the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, including: the processor of the first subsystem sends a first read instruction with the destination address being the segment address to the second subsystem through the transmission channel associated with the segment address to read the data on the segment address.
[0028] In one possible implementation, the processor of the first subsystem associates N segmented addresses in the second address to N transmission channels, including: the processor of the first subsystem divides the second address into N segmented addresses based on the transmission capacity of the N transmission channels; wherein the length of the segmented address is positively correlated with the transmission capacity of the transmission channel associated with the segmented address.
[0029] In one possible implementation, the first subsystem includes a first transmission engine and a second transmission engine; the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, including: when the load of the first transmission engine is less than the load of the second transmission engine, the processor of the first subsystem uses the first transmission engine to read the data on the segment address through the transmission channel associated with the segment address.
[0030] In one possible implementation, the first subsystem includes k transmission engines, where k is an integer greater than 1; the method also includes: the processor of the first subsystem divides the second address into k segment addresses, and the k segment addresses correspond one-to-one to the k transmission engines; the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, including: when there is an intersection between a first segment address among the k segment addresses and a second segment address among the N segment addresses, the processor of the first subsystem uses the transmission engine corresponding to the first segment address to read the data on the intersection through the transmission channel associated with the second segment address.
[0031] According to a third aspect, a data transmission device is provided, which is configured in a first subsystem of a computing system, and the computing system also includes a second subsystem. There are N transmission channels between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem includes a processor and a memory. The device includes: an acquisition unit for acquiring a first address in the memory of the first subsystem and a second address in the memory of the second subsystem when there is data to be transmitted between the first subsystem and the second subsystem; the first address is one of the source address and the destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; an association unit for associating N segment addresses in the second address with N transmission channels; different segment addresses are different addresses in the second address, and correspond to different addresses in the first address, and are associated with different transmission channels; an access unit for reading data on the segment address through the transmission channel associated with the segment address when the second address is the source address, and storing the read data in the address corresponding to the segment address in the first address.
[0032] In a fourth aspect, a chip is provided, comprising a processor and a memory for executing the method provided in the second aspect.
[0033] In a fifth aspect, a computer storage medium is provided, comprising computer software instructions, wherein the computer software instructions comprise a program for implementing the method provided in the second aspect.
[0034] In a sixth aspect, a computer program product is provided, comprising a program for implementing the method provided in the second aspect.
[0035] Among them, the beneficial effects of the second to sixth aspects can be found in the above description of the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic diagram showing the connection of multiple chips;
[0037] FIG2 is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0038] FIG3 is a flow chart of a data transmission solution provided in an embodiment of the present application;
[0039] FIG4A is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0040] FIG4B is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0041] FIG4C is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0042] FIG4D is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0043] FIG4E is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0044] FIG4F is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0045] FIG5 is a schematic diagram of the structure of a computing system provided in an embodiment of the present application;
[0046] FIG6 is a flow chart of a data transmission method provided in an embodiment of the present application;
[0047] FIG7 is a schematic structural diagram of a data transmission device provided in an embodiment of the present application;
[0048] FIG8 is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The following will describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0050] In the description of this specification, "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in one or more embodiments of this specification. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in yet other embodiments," etc., appearing in different places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized.
[0051] In the description of this specification, unless otherwise specified, " / " means or. For example, A / B can mean A or B. "And / or" in this specification is only a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this specification, "plurality" means two or more than two.
[0052] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include one or more of such features. The terms "including," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.
[0053] The development and application of artificial intelligence technology, 3D model rendering technology, etc., have placed increasingly higher demands on the computing power of computers. In order to improve computing power, multiple chips are usually set up to collaboratively process tasks. The multiple chips are isomorphic, that is, the multiple chips can adopt the same architecture. For example, the multiple chips are all central processing units (CPUs) or graphic processing units (GPUs). The multiple chips can also be heterogeneous, that is, the multiple chips include chips with different architectures. For example, two chips among the multiple chips can be any two chips of CPU, GPU, network processor (neural processing unit, NPU), and field programmable gate array (field programmable gate array, FPGA).
[0054] Among them, CPUs can be called general-purpose chips. Chips designed to perform specific computational logic, such as GPUs, NPUs, and FPGAs, are collectively referred to as specialized chips. Compared to general-purpose chips, specialized chips are more suitable for performing specific operations. For example, NPUs are suitable for performing matrix and vector operations, while GPUs are suitable for performing graphics operations.
[0055] One of the multiple chips can serve as a subsystem within a computing system, such as a computer, to process tasks assigned by applications on the computer. Applications may assign tasks to multiple chips for processing, or assign different tasks to different chips. The execution of a task on one chip may depend on the results of task processing on other chips. For example, in a 3D gaming scenario, the gaming application can offload the 3D model rendering task to the GPU. After the GPU completes the rendering, it can send the rendering results to the CPU, which can then combine the rendering results with scene data to display the game screen. For another example, in a scenario where an AI model is used to infer autonomous driving strategies, the autonomous driving application can load the AI model into the NPU, which uses the AI model for inference. After obtaining the inference results, the NPU sends the inference results to the CPU, which can generate control instructions based on the inference results to control the vehicle's steering components, power components, etc.
[0056] As shown in Figure 1, chips A1, A2, and A3 are connected via physical links for data transmission. The physical links between chips can use standard protocols, such as Peripheral Component Interconnect Express (PCIe) and Compute Express Link (CXL). They can also use proprietary protocols, such as the Computer Application Programming Interface (CAPI).
[0057] When different chips collaborate to handle tasks like AI computing and model rendering, they need to transmit large amounts of data between them. Due to limitations in chip manufacturing processes, chip implementation complexity, chip power consumption, and electrical characteristics, the transmission capacity of a single physical link is insufficient for inter-chip data transmission. Therefore, two chips transmit data using two or more physical links.
[0058] In a data transmission solution based on multiple physical links, the Multipath Transmission Control Protocol (MPTCP) is used to segment and encapsulate data to be transmitted into different packets. These packets are then transmitted over different transmission channels. After the packets reach the destination, they need to be reassembled. Only after proper assembly can the correct data be obtained. This solution requires data segmentation and reassembly, resulting in high data transmission latency and power consumption.
[0059] An embodiment of the present application provides a data transmission solution that allows a chip to perform read and write operations directly in the memory of another chip through multiple transmission channels, thereby reducing data transmission latency and power consumption while achieving concurrent data transmission through multiple transmission channels.
[0060] Next, the data transmission solution provided in the embodiment of the present application is introduced.
[0061] FIG2 shows a computing system 100. Computing system 100 may include subsystem 110 and subsystem 120. For example, computing system 100 may also include subsystem 130 and more subsystems. In the following description, when subsystem 110, subsystem 120, and subsystem 130 are not specifically distinguished, they may be simply referred to as subsystems.
[0062] Each subsystem includes a processor, a memory, and at least two input / output (IO) ports. For example, subsystem 110 includes a processor 111, a memory 112, an IO port 113a, and an IO port 113b; subsystem 120 includes a processor 121, a memory 122, an IO port 123a, and an IO port 123b; and subsystem 130 includes a processor 131, a memory 132, an IO port 133a, and an IO port 133b.
[0063] In some embodiments, a subsystem may include one or more processors. In some embodiments, the processor in the subsystem may be a multi-core processor.
[0064] In some embodiments, the memory in the subsystem may be a memory. In some embodiments, the memory in the subsystem may be a hard disk. In some embodiments, the memory in the subsystem may be a register.
[0065] In some embodiments, the processor, memory, and IO ports in the subsystem can be packaged into a chip. In particular, for a dedicated chip (such as a GPU, NPU, FPGA, etc.), which includes a processor, memory, and IO ports, it can itself serve as a subsystem. In some embodiments, the processor, memory, and IO ports in the subsystem may not be packaged into a chip, and the processor, memory, and IO ports may exist independently of each other. For example, the processor in the subsystem may be a CPU, the memory may be a memory stick or a hard disk, and the IO ports may be a network card.
[0066] The processor, memory, IO port and other devices in the same subsystem can be connected through a bus. In other words, a bus is set in a subsystem, and the devices in the subsystem are connected to the bus and connected to each other through the bus.
[0067] There are at least two transmission channels between the two subsystems. The transmission channel here refers to a physical link, also known as a physical channel, or simply a channel. One end of the transmission channel is connected to an IO port of one of the two subsystems, and the other end is connected to an IO port of the other subsystem, allowing the devices in the two subsystems to be connected via the bus within the subsystem and the transmission channel between the subsystems. An IO port can also be referred to as a port of the transmission channel connected to that IO port.
[0068] In some embodiments, the transmission channel can use a standard protocol for data transmission, such as PCIe. When the transmission channel uses the PCIe protocol, the transmission channel can be referred to as a PCIe link. When the transmission channel is a PCIe link, the IO ports in one subsystem of computing system 100 can be integrated into the root complex (RC) of the PCIe link, and the IO ports in other subsystems can serve as endpoints (EP) of the PCIe link. In one example, IO port 113a and port 113b in subsystem 110 shown in FIG1 can be integrated into the RC.
[0069] In some embodiments, the transmission channel may also adopt a private protocol, such as CAPI.
[0070] In some embodiments, different transmission channels may use different protocols. For example, some transmission channels may use a standard protocol while others may use a proprietary protocol. In one example, some transmission channels may use the PCIe protocol while others may use the CXL protocol.
[0071] In some embodiments, the transmission channel between two subsystems can be directly connected to the IO ports of the two subsystems.
[0072] In some embodiments, as shown in FIG2 , the computing system 100 further includes a switch device 140. The transmission channel between the two subsystems is connected to the IO ports of the two subsystems through the switch device 140.
[0073] The processor of at least one subsystem in computing system 100 is a general-purpose processor, such as a CPU. A subsystem with a general-purpose processor can be referred to as a general-purpose subsystem. For example, as shown in FIG1 , the processor of subsystem 110 is a general-purpose processor, meaning that subsystem 110 is a general-purpose subsystem in computing system 100. Applications can run on the general-purpose subsystem.
[0074] An application can utilize at least two subsystems in computing system 100 to perform tasks. In other words, the application can assign tasks to at least two subsystems, effectively handing over tasks to at least two subsystems for execution. The tasks assigned to different subsystems can vary. For example, a 3D gaming application might assign 3D model rendering to one or more subsystems and game screen display to another subsystem or subsystems.
[0075] The application can determine the data to be transmitted. Specifically, the application can determine the source address of the data to be transmitted, that is, determine which addresses in which memory the data is to be transmitted. The application can also determine the destination address of the data to be transmitted, that is, determine which addresses in which memory the data to be transmitted is to be transmitted to. In other words, the application can determine which data needs to be transmitted between subsystems, and determine the subsystems where these data are located, as well as the storage addresses of these data in the subsystem's memory (i.e., source addresses). It can also determine which subsystems these data need to be transmitted to, and at which storage addresses (destination addresses) in the destination end these data are specifically stored after being transmitted to the destination end.
[0076] It's easy to understand that an application runs in a subsystem, and the operations performed by the application are specifically the operations performed by the subsystem running the application, or in other words, the operations performed by the subsystem by running the application. More specifically, the operations performed by the subsystem by running the application refer to the operations performed by the subsystem's processor by running the application.
[0077] The above example introduces the structure of the computing system 100. Next, in conjunction with the computing system 100, the data transmission solution provided by the embodiment of the present application is introduced.
[0078] 3 , the subsystem running the application program may execute step 301 to determine the source address and destination address of the data to be transmitted.
[0079] A subsystem that runs an application can also be called a general-purpose subsystem. That is, in computing system 100, if a subsystem runs an application, that subsystem can be called a general-purpose subsystem. In some embodiments, as shown in FIG4A , subsystem 110 can be set to run an application, i.e., subsystem 110 is a general-purpose subsystem.
[0080] Step 301 is performed by the general subsystem by running the application. In this embodiment of the present application, the operations performed by the general subsystem by running the application can be referred to as operations performed by the application. The operations performed by the application or the operations performed by the general subsystem by running the application refer to the operations performed by the processor of the general subsystem by running the application.
[0081] For example, during runtime, an application can instruct a subsystem to perform a task that requires data from another subsystem. This requires transferring data from the source subsystem to the target subsystem. In other words, data needs to be transferred between the source and target subsystems. The data to be transferred is referred to as the data to be transferred. The source subsystem refers to the subsystem where the data to be transferred resides before it is transferred. The target subsystem refers to the destination of the data to be transferred, that is, the subsystem to which the data is transferred. The address of the storage space in the source subsystem's memory that stores the data to be transferred is called the source address of the data to be transferred. The application can obtain information about the data stored in each subsystem's memory. This information may include the address of the storage space storing the data and data descriptions, thereby allowing the application to determine the source address of the data to be transferred. The destination address of the data to be transferred refers to the address of the storage space in the target subsystem's memory used to store the data to be transferred. When an application needs to transfer data from the source subsystem to the target subsystem, it can request storage space in the target subsystem's memory to store the data, thereby obtaining the destination address. For example, as shown in FIG4A , the general subsystem includes an address management unit. The application can use the address management unit to request storage space from the target subsystem's memory to store the data, thereby obtaining the destination address. The source and destination addresses of the data to be transmitted have a corresponding relationship. After data at a certain address segment in the source address is transmitted to the target subsystem, the data is stored at the address corresponding to the segment in the target address.
[0082] The source subsystem and the target subsystem are different subsystems in the computing system 100. When data in the general subsystem needs to be transferred to another subsystem, the general subsystem also serves as the source system. When the general subsystem needs to receive data from another subsystem, the general subsystem can also serve as the target subsystem.
[0083] In some embodiments, the source address and the destination address may specifically be virtual addresses (VA). The source virtual address refers to the virtual address of the storage space where the data to be transmitted is located in the source subsystem, and the destination virtual address refers to the virtual address of the storage space used to store the data to be transmitted in the target subsystem. The virtual address is mapped to a physical address (PA). The mapping relationship between the virtual address and the physical address in the memory may be stored in a page table of the memory.
[0084] In some embodiments, the source address may include a source virtual address and a source physical address, and the destination address may include a destination virtual address and a destination physical address. The source physical address refers to the physical address (PA) of the storage space where the data to be transmitted is located in the source subsystem, and the destination physical address refers to the physical address of the storage space used to store the data to be transmitted in the target subsystem. The source virtual address and the source physical address have a mapping relationship, and the destination virtual address and the destination physical address have a mapping relationship. When the application needs to transfer data from the source subsystem to the target subsystem, it can obtain the source physical address mapped to the source virtual address from the operating system, and obtain the destination physical address mapped to the destination virtual address from the operating system, thereby obtaining the source physical address and the destination physical address.
[0085] In some embodiments, the source address and the destination address may specifically be physical addresses.
[0086] The subsystem running the application, i.e., the general subsystem, can execute step 302 to send information indicating the data to be transferred to the source subsystem or the target subsystem of the data to be transferred. The information indicating the data to be transferred includes the source address and the target address of the data to be transferred. Subsystem 110 can be set as one of the source subsystem and the target subsystem, and subsystem 120 can be set as the other of the source subsystem and the target subsystem. In other words, in step 302, the general subsystem can send information indicating the data to be transferred to subsystem 110 or subsystem 120.
[0087] The indication information of the data to be transmitted is used by the subsystem that receives the indication information to perform subsequent data transmission operations. In some embodiments, as shown in Figure 4A, subsystem 110 is a general-purpose subsystem. Generally speaking, a general-purpose subsystem runs a large number of applications, and its operating status has a significant impact on the overall operating status of computing system 100. Therefore, to avoid increasing the load on the general-purpose subsystem, that is, to avoid increasing the load on subsystem 110, in step 302, the source address and destination address of the data to be transmitted are sent to subsystem 120, and subsystem 120 performs the subsequent data transmission operations.
[0088] In some embodiments, as shown in FIG4A , the general subsystem may include a transmission control unit and an address management unit. The transmission control unit may provide a data transmission interface to the application. When the application needs to perform data transmission, the source address and destination address of the data to be transmitted may be input into the transmission control unit through the data transmission interface. The transmission control unit sends the source address and destination address of the data to be transmitted to the address management unit. The address management unit may include the source address and destination address of the data to be transmitted in indication information, which is sent to the source subsystem or target subsystem of the data to be transmitted through step 302. Exemplarily, both the transmission control unit and the address management unit may be software units in the processor running the general subsystem.
[0089] Next, taking subsystem 110 as one of the source subsystem and the target subsystem, subsystem 120 as the other of the source subsystem and the target subsystem, and in step 302, sending the indication information of the data to be transmitted to subsystem 120 as an example, the data transmission scheme provided in an embodiment of the present application is introduced.
[0090] As described above, the indication information of the data to be transmitted includes the source address and destination address of the data to be transmitted. Address B1 can be set as one of the source address and destination address of the data to be transmitted, and address B2 can be set as the other of the source address and destination address of the data to be transmitted. As shown in Figure 4B, address B1 is the memory of subsystem 110, that is, the address of a storage space in memory 112. Address B2 is the memory of subsystem 120, that is, the address of a storage space in memory 122. When address B1 is the source address of the data to be transmitted, subsystem 110 is the source subsystem of the data to be transmitted, and accordingly, address B2 is the destination address of the data to be transmitted, and subsystem 120 is the target subsystem of the data to be transmitted. When address B2 is the source address of the data to be transmitted, subsystem 120 is the source subsystem of the data to be transmitted, and accordingly, address B1 is the destination address of the data to be transmitted, and subsystem 110 is the target subsystem of the data to be transmitted.
[0091] Referring to Figure 3, the processor 121 of the subsystem 120 can receive the source address and destination address of the data to be transmitted. After receiving the source address and destination address of the data to be transmitted, the processor 121 can identify which of the source address and destination address is the local address and which is the remote address. The local address of the processor 121 refers to the address in the memory of the subsystem (i.e., subsystem 120) where the processor 121 is located. The remote address refers to a non-local address. More specifically, as described above, address B1 is one of the source address and destination address of the data to be transmitted, and address B2 is the other of the source address and destination address of the data to be transmitted. Address B2 is an address in the memory of the subsystem 120, that is, address B2 is the local address of the processor 121. Address B2 is an address in the memory of the subsystem 110, that is, address B1 is the remote address of the processor 121.
[0092] The processor 121 may execute step 303 to associate different segment addresses in the address B1 (ie, the remote address) with different transmission channels, as follows.
[0093] In some embodiments, as shown in FIG4A , the processor 121 may include an address association unit. The address association unit may perform step 303 . In one example, the address association unit may be a software unit running in the processor 121 . In another example, the address association unit may be hardware. In one example of this embodiment, the processor 121 includes multiple processors, and the address association unit may be one or more of the multiple processors. In another example of this embodiment, the processor 121 is a multi-core processor, and the address association unit may be one or more computing cores in the multi-core processor.
[0094] In step 303, the N segment addresses in address B1 can be associated with N transmission channels. N is an integer greater than 1. A segment address is a segment address in address B1, and N segment addresses are N segment addresses in address B1. Furthermore, there is no overlap between different segment addresses. Address B1 corresponds to the data to be transmitted, and different segment addresses correspond to different data in the data to be transmitted. The different data here refers to the data stored at different addresses, not the different data content. The data content can be the same or different.
[0095] In some embodiments, N segment addresses constitute address B1. In other words, the set of N segment addresses is address B1.
[0096] In some embodiments, N transmission channels are all transmission channels between subsystem 120 and subsystem 110. As shown in FIG4A , subsystem 120 has an interconnection resource information table. This interconnection resource information table records information about transmission channels between subsystem 120 and other subsystems, such as subsystem 110. This information about transmission channels may include the number of transmission channels, identification of transmission channels, and other information. Thus, based on the interconnection resource information table, processor 121 can obtain and identify all transmission channels between subsystem 120 and subsystem 110.
[0097] In some embodiments, N transmission channels are available transmission channels between subsystem 120 and subsystem 110. An available transmission channel refers to a transmission channel that is not fully loaded, that is, a transmission channel that still has available transmission capacity (such as bandwidth) and can transmit data. As shown in FIG4A , subsystem 120 has an interconnection resource information table. The interconnection resource information table records information about transmission channels between subsystem 120 and other subsystems such as subsystem 110. The information about the transmission channels may include information such as the number of transmission channels, the identification of the transmission channels, and the transmission capacity occupancy rate of the transmission channels (such as bandwidth occupancy rate). Thus, based on the interconnection resource information table, the processor 121 can obtain and identify the available transmission channels between subsystem 120 and subsystem 110. In one example, the interconnection resource information table can be as shown in Table 1.
[0098] Table 1
[0099] In some embodiments, in step 303, the processor 121 may divide the address B1 into N segment addresses based on the number of transmission channels in the N transmission channels, i.e., N, thereby obtaining N segment addresses. The N segment addresses may then be associated with the N transmission channels, where different segment addresses are associated with different transmission channels, i.e., the N segment addresses are associated one-to-one with the N transmission channels.
[0100] In one example of these embodiments, address B1 can be evenly divided into N address segments, that is, the address lengths of different segment addresses in the N segment addresses are equal. Then, a segment address in the N segment addresses can be associated with one of the N transmission channels. In other words, in this implementation, the lengths of the segment addresses associated with different transmission channels in the N transmission channels are equal.
[0101] In another example of these embodiments, the address B1 can be divided into N segment addresses according to the transmission capacity of the transmission channels in the N transmission channels. Then, according to the transmission capacity of the transmission channels in the N transmission channels and the length of each segment address in the N segment addresses, the N segment addresses are associated with the N transmission channels. Among them, the longer the segment address, the greater the transmission capacity of the transmission channel associated with it, that is, the length of the segment address is positively correlated with the transmission capacity of the transmission channel associated with the segment address. In one example, the transmission capacity of the transmission channel refers to the currently available transmission capacity of the transmission channel, such as the available bandwidth. In one example, the transmission capacity of the transmission channel refers to the quality of service (QoS) of the transmission channel. In one example, the transmission capacity of the transmission channel includes the currently available bandwidth and QoS.
[0102] The processor 121 may establish an association between the segment address and the transmission channel. In some embodiments, the association between the segment address and the transmission channel may be recorded in a page table of the subsystem 120. For example, the page table may be stored in the memory 122.
[0103] In some embodiments, the segment address associated with the transmission channel may specifically be a virtual address. In some embodiments, the segment address associated with the transmission channel may specifically be a physical address.
[0104] The association between the segment address and the transmission channel can specifically be the association between the segment address and the local port of the transmission channel. The port associated with the segment address is also referred to as the port of the transmission channel associated with the segment address. The local port of the transmission channel refers to the port of the transmission channel in the subsystem where the processor that establishes the association between the segment address and the transmission channel is located. For example, as shown in Figure 4B, when the association between the segment address and the transmission channel is established by processor 121, the local ports of the transmission channel are port 123a and port 123b. N segment addresses can be set as segment address B11 and segment address B12, respectively. Then, the established association between the segment address and the transmission channel can specifically be the association between segment address B11 and port 123a, and the association between segment address B12 and port 123b.
[0105] In embodiment D1, when the transmission protocol adopted by the transmission channel is a standard protocol, the port IO address of the local port of the transmission channel and the physical address of the storage space of the subsystem (including subsystem 110 and subsystem 120) are different. In this case, the association between the segment address and the local port of the transmission channel can specifically be the association between the segment address and the port IO address. The port IO address can also be simply referred to as the port address. The port address associated with the segment address can also be referred to as the port address of the transmission channel associated with the segment address. Among them, the physical addresses of the storage spaces of different subsystems are usually independently addressed. Among them, for the corresponding subsystem 120 or processor 121, the local port of the transmission channel refers to the port of the transmission channel between subsystem 120 and subsystem 110 on the subsystem 120 side.
[0106] In an example of embodiment D1, as shown in FIG4C , when computing system 100 is initialized, the addresses of all spaces in memory 112 are mapped to each port in subsystem 120 used to connect to subsystem 110. The ports in subsystem 120 used to connect to subsystem 110 refer to the ports on the subsystem 120 side of the transmission channel between subsystem 120 and subsystem 110, such as port 123a and port 123b in FIG4C . For example, the ports in subsystem 120 used to connect to subsystem 110 are port 123a and port 123b. The addresses of all spaces in memory 112 are mapped to port 123a and also to port 123b. The addresses of all spaces in memory 112 are mapped one-to-one to the port 10 address of port 123a, and the addresses of all spaces in memory 112 are mapped one-to-one to the port 10 address of port 123b. In other words, any segment address in memory 112 is mapped to both a segment of the port IO address of port 123a and a segment of the port IO address of port 123b. The segment address in address B1 is a segment address in memory 112. Before step 302, this segment address is mapped to both a segment of the port IO address of port 123a and a segment of the port IO address of port 123b. For ease of description, a segment of the port IO address of a port may be referred to as an IO address.
[0107] Take segment address B11 and segment address B12 as an example. Segment address B11 is mapped to both IO address 11a in the port IO address of port 123a and IO address 11b in the port IO address of port 123b. Segment address B12 is mapped to both IO address 12a in the port IO address of port 123a and IO address 12b in the port IO address of port 123b. In step 302, associating a segment address with a port IO address specifically involves selecting an IO address from the multiple IO addresses mapped to the segment address and associating the selected IO address with the segment address. As shown in FIG4C , associating segment address B11 with port 123a means associating segment address B11 with IO address 11a, i.e., associating segment address B11 with IO address 11a. Associating segment address B12 with port 123b means associating segment address B12 with IO address 12b.
[0108] In Example D2, when the physical addresses of the storage spaces of different subsystems use unified addressing, there is no conflict in the physical addresses of the different subsystems. When the transmission protocol of the transmission channel between subsystems is a proprietary protocol, the subsystems can freely set the port IO addresses of the ports of the transmission channel. The port IO addresses of the ports can also be simply referred to as the port addresses of the ports. When the physical addresses of the storage spaces of different subsystems use unified addressing, and the transmission protocol of the transmission channel of the subsystem is a proprietary protocol, the physical address of the space in memory 112 can be used as the port IO addresses of the ports of the transmission channel on the subsystem 120 side. When there are multiple transmission channels, channel identifiers can be set for each channel to distinguish the different channels. The channel identifier of the transmission channel and the port IO address of the transmission channel form information representing the transmission channel. When establishing an association between a segment address and a transmission channel, the segment address can be associated with the identifier of the corresponding transmission channel and the corresponding port IO address in the transmission channel, where the corresponding port IO address is the segment address (the segment address is a physical address) or the physical address corresponding to the segment address (the segment address is a virtual address).
[0109] In some embodiments, as shown in FIG4D , some transmission channels between subsystem 110 and subsystem 120 use a standard protocol, while others use a proprietary protocol. For transmission channels using a standard protocol, the scheme described in Example D1 above is used to establish an association between segment addresses and transmission channels. For transmission channels using a proprietary protocol, the scheme described in Example D1 is used to establish an association between segment addresses and transmission channels. Segment address B11 is associated with the transmission channel corresponding to port 123a, and segment address B12 is associated with the transmission channel corresponding to port 123b. As shown in FIG4E , the page table records the association between segment address B11 and the transmission channel corresponding to port 123a by recording the association between segment address B11 and port 10 address 11a. The page table records the association between segment address B12 and the transmission channel corresponding to port 123b by recording the association between segment address B12 and the first information of port 123b. The first information of port 123b includes the segment address information and the channel identifier of the transmission channel corresponding to port 123b. When segment address 12 is a physical address, the segment address information is segment address 12. When the segment address is a virtual address, the segment address information is the physical address corresponding to segment address 12 (segment address 12 is a virtual address).
[0110] In this way, in step 303, different segment addresses in the address B1 can be associated with different transmission channels, thereby obtaining an association relationship between the segment addresses in the address B1 and the transmission channels.
[0111] After establishing the association between the segment address in address B1 and the transmission channel, processor 121 can transmit the data corresponding to the segment address via the transmission channel associated with the segment address. When the segment address is a segment within the source address of the data to be transmitted, the data corresponding to the segment address refers to the data already stored at the segment address, representing a portion of the data to be transmitted. When the segment address is a segment within the destination address of the data to be transmitted, the data corresponding to the segment address refers to the data to be stored at the segment address, representing a portion of the data to be transmitted. This description will be made using segment address B11 as an example.
[0112] When the segment address B1 is the source address of the data to be transmitted, that is, when the segment address B11 is a segment address in the source address of the data to be transmitted, the processor 121 can read the data on the segment address B11 through the transmission channel associated with the segment address B11, and store the read data at the address corresponding to the segment address B11 in the destination address of the data to be transmitted (that is, address B2), as follows.
[0113] 3 , processor 121 may execute step 304 to send a read instruction with a destination address of segment address B11 to the memory of subsystem 110, namely, memory 112, via the transmission channel associated with segment address B11. Specifically, the read instruction is sent to memory 112 via the transmission channel associated with segment address B11. The read instruction, with a destination address of segment address B11, is used to read data at segment address B11, thereby transmitting the data at segment address B11 to subsystem 120 via the transmission channel associated with segment address B11.
[0114] When the segment address B11 is a physical address, the destination address of the read instruction is the segment address B11 itself. When the segment address B11 is a virtual address, the destination address of the read instruction is specifically the physical address mapped by the segment address B11.
[0115] In some embodiments, the general subsystem may send a transfer task indication to subsystem 120. The transfer task indication is used to instruct processor 121 to send an operation instruction to memory 112. Specifically, when subsystem 110 is the source subsystem, i.e., address B1 is the source address of the data to be transferred, the transfer task indication is used to instruct processor 121 to send a read instruction to memory 112. In other words, the operation instruction indicated by the transfer task indication is a read instruction. Processor 121 may respond to the transfer task indication and execute step 304. Exemplarily, the transfer task indication may be included in the instruction information sent to subsystem 120 in step 302, thereby sending the transfer task indication to subsystem 120.
[0116] In one example of this embodiment, as shown in FIG4A , the general subsystem includes a transmission control unit. An application can use the transmission control unit to send a transmission task instruction to subsystem 120. For example, the transmission control unit can include the transmission task instruction in instruction information sent to subsystem 120, thereby sending the transmission task instruction to subsystem 120.
[0117] As shown in Figure 4A, the subsystem 121 may include a transmission scheduling unit and at least one transmission engine. In one example, the transmission scheduling unit or the transmission engine may be a software unit running in the processor 121. In one example, the transmission scheduling unit or the transmission engine may be a hardware unit. In one example of this example, the processor 121 includes multiple processors, and the transmission scheduling unit or the transmission engine may be one or more processors among the multiple processors. In another example of this example, the processor 121 is a multi-core processor, and the transmission scheduling unit or the transmission engine may be one or more computing cores in the multi-core processor. The transmission scheduling unit may call the transmission engine in response to the transmission task indication, generate and send an operation instruction. Wherein, when the address B1 is the source address of the data to be transmitted, the operation instruction is specifically a read instruction.
[0118] A transfer engine is a unit, module, or device that can access a memory and perform data migration between memories. In some embodiments, the transfer engine can be a direct memory access (DMA) unit. In some embodiments, the transfer engine can be a remote direct memory access (RDMA) unit. In some embodiments, when a subsystem includes multiple transfer engines, the multiple transfer engines can be the same type of transfer engines, for example, all of which are DMA units or RDMA units. In some embodiments, when a subsystem includes multiple transfer engines, the multiple transfer engines can include different types of transfer engines, for example, some transfer engines are DMA units, and some transfer engines are RDMA units.
[0119] In some embodiments, as shown in FIG4A , the subsystem 121 includes multiple transmission engines such as a transmission engine E1 and a transmission engine E2. The transmission scheduling unit may select a transmission engine for transmitting the data to be transmitted from the multiple transmission engines. In one example, the transmission scheduling unit may use all transmission engines in the subsystem 120 as transmission engines for transmitting the data to be transmitted. In one example, the transmission scheduling unit may use transmission engines in the subsystem 120 with a load rate lower than a threshold as transmission engines for transmitting the data to be transmitted. The threshold may be a preset value. For example, 50% or 30%. In one example, the transmission scheduling unit may use k transmission engines in the subsystem 120 with the lowest load rate as transmission engines for transmitting the data to be transmitted. In this way, k transmission engines for transmitting the data to be transmitted may be obtained. Wherein, k is an integer greater than or equal to 1.
[0120] In this embodiment, there is no binding relationship between the transmission engine and the transmission channel, that is, the k transmission engines for transmitting the data to be transmitted can transmit the data through different transmission channels or through the same transmission channel.
[0121] When k = 1, the transmission engine can simultaneously transmit data corresponding to segment addresses associated with multiple transmission channels. For example, segment address B11 is associated with the transmission channel of port 123a, and segment address B12 is associated with the transmission channel of port 123b. The transmission engine can transmit a read instruction with the destination address of segment address B11 to memory 112 through the transmission channel corresponding to port 113a. At the same time, the transmission engine can transmit a read instruction with the destination address of segment address B12 to memory 112 through the transmission channel corresponding to port 123b.
[0122] When k is greater than 1, the transmission scheduling unit can divide the data to be transmitted into k subtasks, wherein each subtask is transmitted by a transmission engine. Particularly, when the transmission channels associated with the segment addresses corresponding to the data in a subtask are the same, the transmission engine corresponding to the subtask transmits the subtask through the transmission channel. When the data in a subtask corresponds to multiple segment addresses, and at least two different segment addresses of the multiple segment addresses are associated with different transmission channels, the transmission engine transmits the subtask through different transmission channels. Specifically, the transmission engine can transmit the data corresponding to one transmission channel in the subtask through the transmission channel. The transmission engine can transmit the data corresponding to another transmission channel in the subtask through the other transmission channel.
[0123] More specifically, when k is greater than 1, the transmission scheduling unit may divide address B1 into k segment addresses, each segment address corresponding to a transmission engine, and different segment addresses corresponding to different transmission engines. When segment address F1 among the k segment addresses intersects with segment address F2 among the N segment addresses, the transmission engine corresponding to segment address F1 reads the data at the intersection via the transmission channel associated with segment address F2. That is, the transmission engine corresponding to segment address F1 sends a read command with the destination address of the intersection via the transmission channel associated with segment address F2 to read the data at the intersection.
[0124] The segment address F1 is any segment address among the k segment addresses, and the segment address F2 is any segment address among the N segment addresses.
[0125] In some embodiments, as shown in FIG4F , at least one transmission engine can be associated with each transmission channel between subsystem 110 and subsystem 120. For example, the transmission channel corresponding to port 123a is associated with transmission engine E1, and the transmission channel corresponding to port 123b is associated with transmission engine E2. The transmission engine associated with a transmission channel is used to transmit data corresponding to the segment address associated with the transmission channel through the transmission channel. When each transmission channel is associated with multiple transmission engines, the transmission engine with the smallest load among the multiple transmission engines is selected for data transmission during data transmission. Specifically, a transmission channel can be associated with a first transmission engine and a second transmission engine. When the load of the first transmission engine is smaller than that of the second transmission engine, processor 121 uses the first transmission engine to read the data at segment address B11 through the transmission channel associated with segment address B11.
[0126] The examples above illustrate the relationship between the transmission engine and the transmission channel. Next, we'll describe how the transmission engine implements data transmission through the transmission channel.
[0127] The transmission scheduling unit may assign a transmission task to a transmission engine, where the transmission task includes the source address and destination address of the data to be transmitted. In some embodiments, the transmission scheduling unit receives a transmission task indication from the general subsystem including the source address and destination address of the data to be transmitted. The transmission scheduling unit may assign the transmission task to the transmission engine based on the transmission task indication including the source address and destination address of the data to be transmitted. In some embodiments, when there are k transmission engines, the transmission scheduling unit may divide the data to be transmitted into k portions, include the source address and destination address of each portion of data in a transmission task, and assign the task to a transmission engine. In some embodiments, as described above, a transmission channel is associated with at least one transmission engine. The transmission scheduling unit may include the source address and destination address of the data associated with the transmission channel in a transmission task and assign the transmission task to the transmission engine associated with the transmission channel. Exemplarily, the transmission scheduling unit may obtain the segment address associated with the transmission channel based on the association between the segment address and the transmission channel established in step 303, and then, based on the segment address, obtain the source address and destination address of the data corresponding to the segment address (the segment address itself is the source address or destination address of the data).
[0128] In some embodiments, the source address and destination address included in the transmission task or the transmission task indication may be virtual addresses. In some embodiments, the source address and destination address included in the transmission task or the transmission task indication may be physical addresses.
[0129] After receiving the transmission task, the transmission engine may generate a read instruction for reading data at the segment address B11, wherein the destination address of the generated read instruction is the segment address B11, which may be referred to as a read instruction C1.
[0130] The transfer engine may send the read instruction C1 to the address processing unit. In one example, the address processing unit may be a software unit running in the processor 121. In one example, the address processing unit may be a hardware unit. In one example of this example, the processor 121 includes multiple processors, and the address processing unit may be one or more processors among the multiple processors. In another example of this example, the processor 121 is a multi-core processor, and the address processing unit may be one or more computing cores in the multi-core processor. In one example, the address processing unit may be a system memory management unit (SMMU).
[0131] The address processing unit is configured to convert the destination address of the read instruction C1 into the port address of the transmission channel associated with the segment address B11, thereby obtaining the read instruction C2. Specifically, the address processing unit may obtain the association relationship between the segment address and the transmission channel established in step 303, and based on the association relationship between the segment address and the transmission channel, obtain the port address of the transmission channel associated with the segment address B11. Furthermore, the address processing unit may convert the destination address of the read instruction C1 into the port address of the transmission channel associated with the segment address B11, thereby obtaining the read instruction C2. In some embodiments, the association relationship between the segment address and the transmission channel is stored in a page table. The address processing unit may obtain the association relationship between the segment address B11 and the transmission channel from the page table, and based on the association relationship between the segment address B11 and the transmission channel, obtain the port address of the transmission channel associated with the segment address B11.
[0132] After the address processing unit converts the destination address of read instruction C1 into the port address of the transmission channel associated with segment address B11 to obtain read instruction C2, it can send read instruction C2 to the bus. The address routing unit in subsystem 120 can route read instruction C2 to the port of the corresponding transmission channel based on the destination address of read instruction C2.
[0133] The address routing unit is a hardware unit connected to the bus. The address routing unit has a routing function for sending data (e.g., read instruction C2) via the bus to the device represented by the destination address (e.g., a port of a transmission channel). After receiving the read instruction C2, the port of the transmission channel can convert the destination address of the read instruction C2 into a physical address. The physical address is the segment address B11 (when the segment address B11 is a physical address) or the physical address mapped by the segment address B11 (when the segment address B11 is a virtual address), thereby obtaining the read instruction C3.
[0134] In some embodiments, the port of the transmission channel can obtain the association relationship between the segment address and the transmission channel established in step 303, and obtain the segment address associated with the transmission channel based on the association relationship between the segment address and the transmission channel. When the obtained segment address B11 is a physical address, the destination address of the read instruction C2 is converted to the segment address B11 to obtain the read instruction C3. When the obtained segment address B11 is a virtual address, the segment address B11 is first converted to a physical address, and then the destination address of the instruction C2 is converted to the physical address to obtain the read instruction C3. Exemplarily, as shown in Figure 4F, the port has an ATU, and the ATU is used to convert the port address used as the destination address in the read instruction C2 into the segment address B11 or the physical address mapped by the segment address B11.
[0135] In some embodiments, such as embodiment D1 described above, the port of the transmission channel establishes a mapping relationship between the port address and the physical address of the storage space in the memory 112. In this way, the destination address of the read instruction C2 can be converted to the physical address of the storage space mapped by the destination address (port address) to obtain the read instruction C3.
[0136] In some embodiments, such as embodiment D2 described above, the port address of the transmission channel is the physical address of the storage space in the memory 112. That is, the destination address of the read instruction C2 is the physical address of the storage space in the memory 112. In one example, as described above, the segment address B11 is also associated with the channel identifier of the transmission channel, wherein the read instruction C2 also carries the channel identifier. When there are multiple transmission channels with the physical address of the storage space in the memory 112 as the port address, the port of the transmission channel can determine whether the transmission channel is the transmission channel associated with the segment address B11 based on the channel identifier carried by the read instruction C2. If so, the read instruction C2 is used as the read instruction C3. If not, the read instruction C2 is discarded or deleted.
[0137] After receiving the read instruction C3 , the port of the transmission channel may execute step 304 to send the instruction C3 to the memory 112 through the transmission channel associated with the segment address B11 .
[0138] In some embodiments, after sending a read instruction to memory 112, the port of the transmission channel may feedback a successful instruction transmission message to the transmission engine. The transmission engine may feedback the successful instruction transmission message to the transmission scheduling unit. After the transmission scheduling unit receives the successful instruction transmission message for all read instructions corresponding to the data to be transmitted, the transmission scheduling unit feedbacks the successful data transmission message to the application.
[0139] Continuing to refer to Figure 3, the memory 112 can execute step 305 to execute the read instruction. Specifically, the memory 112 includes a controller and a storage medium. Among them, the controller is used to read data in the storage space in the storage medium according to the read instruction. Specifically, the controller can respond to the read instruction, read the data on the destination address of the read instruction (i.e., segment address B11), and send the read data to the sending end of the read instruction (i.e., subsystem 120) through the transmission channel associated with the segment address B11. The destination address of the read instruction belongs to the source address of the data to be transmitted. The source address and destination address of the data to be transmitted have a corresponding relationship. Subsystem 120 stores the data read by the read instruction, that is, the data received through the transmission channel associated with the segment address B11, to the address corresponding to the segment address B11 in the destination address of the data to be transmitted, thereby completing the data transmission.
[0140] When segment address B1 is the destination address of the data to be transmitted, that is, when segment address B11 is a segment address within the destination address of the data to be transmitted, processor 121 may write data to segment address B11 via the transmission channel associated with segment address B11. The written data is the data at the address corresponding to segment address B11 within the source address of the data to be transmitted (that is, address B2). The details are as follows.
[0141] Continuing with FIG3 , processor 121 may execute step 306 to send a write instruction with a destination address of segment address B11 to the memory of subsystem 110, namely, memory 112, via the transmission channel associated with segment address B11. Specifically, the write instruction is sent to memory 112 via the transmission channel associated with segment address B11. The write instruction has a destination address of segment address B11 and carries the data to be stored at segment address B11. The write instruction is used to write the data carried by the write instruction to segment address B11, thereby transmitting the data from subsystem 120 to subsystem 110. The data carried by the write instruction is the data at the address in address B2 corresponding to segment address B11.
[0142] When the segment address B11 is a physical address, the destination address of the write instruction is the segment address B11 itself. When the segment address B11 is a virtual address, the destination address of the write instruction is specifically the physical address mapped by the segment address B11.
[0143] In some embodiments, the general subsystem may send a transfer task indication to subsystem 120. The transfer task indication is used to instruct processor 121 to send an operation instruction to memory 112. Specifically, when subsystem 110 is the target subsystem, that is, when address B1 is the destination address of the data to be transferred, the transfer task indication is used to instruct processor 121 to send a write instruction to memory 112. That is, the operation instruction indicated by the transfer task indication is a write instruction. Processor 121 may respond to the transfer task indication and execute step 306. The implementation of the transfer task indication can be specifically referred to in the description of step 304 above and will not be repeated here.
[0144] As shown in Figure 4A, subsystem 121 may include a transmission scheduling unit and at least one transmission engine. The transmission scheduling unit may, in response to the transmission task indication, invoke the transmission engine to generate and send an operation instruction. Specifically, when address B1 is the destination address of the data to be transmitted, the operation instruction is a write instruction. The implementation of the transmission scheduling unit and transmission engine can be found in the description of step 304 above and will not be further elaborated here.
[0145] The relationship between the transmission engine and the transmission channel can also be implemented by referring to the above introduction of step 304, which will not be repeated here. In step 304, the transmission engine is used to generate and transmit read instructions, which is different from the transmission engine used to generate and transmit write instructions in step 306.
[0146] The conversion method of the destination address of the write instruction and the port method of the write instruction being routed or forwarded to the transmission channel can be implemented by referring to the above introduction to the conversion method of the destination of the read instruction and the port method of the read instruction being routed or forwarded to the transmission channel, and will not be repeated here.
[0147] After receiving a write instruction with the destination address being segment address B11, the port of the transmission channel of segment address B1 may execute step 306 to send the write instruction to memory 112 via the transmission channel associated with segment address B11. The write instruction carries the data at the address in address B2 corresponding to segment address B11, so that the write instruction can write the data to segment address B11, completing the data transmission.
[0148] In some embodiments, after sending a write instruction to memory 112, the port of the transmission channel may feedback a successful instruction transmission message to the transmission engine. The transmission engine may feedback the successful instruction transmission message to the transmission scheduling unit. After the transmission scheduling unit receives the successful instruction transmission message for all write instructions corresponding to the data to be transmitted, the transmission scheduling unit feedbacks the successful data transmission message to the application.
[0149] Continuing with Figure 3 , memory 112 can execute step 307 to execute the write instruction. Specifically, memory 112 includes a controller and a storage medium. The controller is configured to write the data carried by the write instruction to the destination address of the write instruction. Specifically, the data at the address in address B2 corresponding to segment address B11 is written to segment address B11, thereby completing the data transfer.
[0150] At this point, the transmission of the data to be transmitted between the subsystem 110 and the subsystem 120 may be completed.
[0151] The above takes the data transmission between subsystem 110 and subsystem 120 as an example to introduce the data transmission solution provided in the embodiment of the present application.
[0152] The data transmission solution provided in the embodiment of the present application can also be used for data transmission between other two subsystems. Next, in conjunction with FIG5 and FIG3, an example of data transmission between subsystem 130 and subsystem 120 is given, where subsystem 110 is a general subsystem.
[0153] The subsystem running the application program may execute step 301 to determine the source address and destination address of the data to be transmitted. One of the source address and destination address of the data to be transmitted is the address of a storage space in the memory of subsystem 120, and the other of the source address and destination address of the data to be transmitted is the address of a storage space in the memory of subsystem 130. Other steps can be implemented as described above in relation to step 301 and will not be repeated here.
[0154] The subsystem running the application, i.e., the general subsystem, can execute step 302 to send the indication information of the data to be transmitted to the source subsystem or the target subsystem of the data to be transmitted. The indication information includes the source address and the target address of the data to be transmitted. Among them, subsystem 120 is one of the source subsystem and the target subsystem, and subsystem 130 is the other of the source subsystem and the target subsystem. That is to say, in step 302, the general subsystem can send the indication information of the data to be transmitted to subsystem 130 or subsystem 120. It can be set that in step 302, the general subsystem sends the indication information of the data to be transmitted to subsystem 120. For other implementations, please refer to the above introduction to step 302 and will not be repeated here.
[0155] Processor 121 can associate different segment addresses in address B3 with different transmission channels. Address B3 is the address of a storage space in the memory (i.e., memory 132) of subsystem 130. Address B3 is the source address or destination address of the data to be transmitted. For example, one segment address B31 in address B3 can be associated with the transmission channel corresponding to port 133a, and another segment address B32 in address B3 can be associated with the transmission channel corresponding to port 133b. Other implementations can be referenced above with respect to step 303 and will not be repeated here.
[0156] After associating the different segment addresses in address B3 with different transmission channels, processor 121 can send an operation instruction with the destination address being segment address B31 to memory 132 via the transmission channel associated with segment address B31. After receiving the operation instruction, memory 132 can execute the operation instruction. Specifically, when address B3 is the source address of the data to be transmitted, the operation instruction is a read instruction. For details, please refer to the above description of steps 304 and 305, which will not be repeated here. Specifically, when address B3 is the destination address of the data to be transmitted, the operation instruction is a write instruction. For details, please refer to the above description of steps 306 and 307, which will not be repeated here.
[0157] At this point, data transmission between subsystem 120 and subsystem 130 may be completed.
[0158] In the data transmission solution provided in the embodiments of the present application, different addresses in the storage space where the data to be transmitted resides or to which the data is to be written are associated with different transmission channels. These channels are then used to simultaneously transmit the data at the corresponding addresses, enabling multi-channel concurrent transmission and improving data transmission efficiency. Furthermore, this solution directly sends read or write instructions to the memory, which then performs the data read or write operation involved in the data transmission, eliminating the need for data subpackaging or packet grouping, thereby reducing data transmission latency and power consumption.
[0159] Based on the data transmission scheme described above, an embodiment of the present application provides a data transmission method. It is understandable that this method is another way of expressing the data transmission scheme described above, and the two are combined. Part or all of the content of this method can be found in the description of the data transmission scheme above.
[0160] This method can be applied to a first subsystem in a computing system, the computing system also including a second subsystem, wherein N transmission channels are provided between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem includes a processor and a memory. As shown in FIG6 , the method includes the following steps.
[0161] In step 601, when data to be transmitted exists between the first subsystem and the second subsystem, the processor of the first subsystem obtains a first address in the memory of the first subsystem and a second address in the memory of the second subsystem; the first address is one of the source address and the destination address of the data to be transmitted, and the second address is the other of the source address and the destination address. For details, refer to the above description of steps 301 and 302 in Figure 3 and will not be repeated here.
[0162] In step 602, the processor of the first subsystem associates the N segment addresses in the second address with the N transmission channels. Different segment addresses are different addresses in the second address, correspond to different addresses in the first address, and are associated with different transmission channels. For details, please refer to the above description of step 303 in Figure 3 and will not be repeated here.
[0163] In step 603, when the second address is the source address, the processor of the first subsystem reads the data at the segment address through the transmission channel associated with the segment address and stores the read data at the address corresponding to the segment address in the first address. For details, please refer to the above description of steps 304 and 305 in Figure 3 and will not be repeated here.
[0164] In some embodiments, the method further includes: when the second address is the destination address, the processor of the first subsystem writes data to the segment address via the transmission channel associated with the segment address, wherein the written data is the data at the address in the first address corresponding to the segment address. For details, please refer to the above description of steps 306 and 307 in Figure 3 and will not be repeated here.
[0165] In some embodiments, the processor of the first subsystem reading the data at the segment address via the transmission channel associated with the segment address includes: the processor of the first subsystem sending a first read instruction with the destination address being the segment address to the second subsystem via the transmission channel associated with the segment address to read the data at the segment address. For details, refer to the above description of steps 303 and 304 in FIG. 3 , and are not further described here.
[0166] In some embodiments, the processor of the first subsystem associating the N segment addresses in the second address with the N transmission channels includes: the processor of the first subsystem dividing the second address into the N segment addresses based on the transmission capabilities of the N transmission channels; wherein the length of the segment address is positively correlated with the transmission capability of the transmission channel associated with the segment address. For details, please refer to the above description of step 303 in Figure 3 and will not be repeated here.
[0167] In some embodiments, the first subsystem includes a first transmission engine and a second transmission engine; and the processor of the first subsystem reading the data at the segment address through the transmission channel associated with the segment address includes: when a load of the first transmission engine is less than a load of the second transmission engine, the processor of the first subsystem uses the first transmission engine to read the data at the segment address through the transmission channel associated with the segment address. For details, refer to the above description of step 304 in FIG. 3 and are not further described here.
[0168] In some embodiments, the first subsystem includes k transmission engines, where k is an integer greater than 1; the method further includes: the processor of the first subsystem dividing the second address into k segment addresses, wherein the k segment addresses correspond one-to-one to the k transmission engines; and the processor of the first subsystem reading data at the segment address through the transmission channel associated with the segment address includes: when a first segment address among the k segment addresses and a second segment address among the N segment addresses intersect, the processor of the first subsystem uses the transmission engine corresponding to the first segment address to read the data at the intersection through the transmission channel associated with the second segment address. For details, please refer to the above description of step 304 in Figure 3 and will not be repeated here.
[0169] In the data transmission method provided in the embodiments of the present application, different addresses in the storage space where the data to be transmitted resides or the storage space to be written are associated with different transmission channels. The data at the corresponding addresses are transmitted simultaneously using these different transmission channels, achieving multi-channel concurrent transmission and improving data transmission efficiency. Furthermore, this solution directly sends read or write instructions to the memory, which then performs the data read or write operation during the data transmission, eliminating the need for data subpackaging or packet grouping, thereby reducing data transmission latency and power consumption.
[0170] Referring to FIG. 7 , an embodiment of the present application further provides a data transmission device 700 . Device 700 may be configured in a first subsystem of a computing system, the computing system also including a second subsystem. N transmission channels are provided between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem includes a processor and a memory. Device 700 includes:
[0171] An acquiring unit 710 is configured to acquire, when data to be transmitted exists between the first subsystem and the second subsystem, a first address in a memory of the first subsystem and a second address in a memory of the second subsystem, wherein the first address is one of a source address and a destination address of the data to be transmitted, and the second address is the other of the source address and the destination address;
[0172] an associating unit 720, configured to associate N segment addresses in the second address with the N transmission channels; different segment addresses are different addresses in the second address, correspond to different addresses in the first address, and are associated with different transmission channels;
[0173] The access unit 730 is configured to read the data on the segment address through the transmission channel associated with the segment address when the second address is the source address, and store the read data in the address corresponding to the segment address in the first address.
[0174] The functions of the functional units of the apparatus 700 may be implemented with reference to the above description of the method embodiment shown in FIG6 or the operations performed by the processor 121 in FIG3 , and will not be described in detail here.
[0175] An embodiment of the present application provides a chip 800. As shown in FIG8 , chip 800 includes a processor 810 and a memory 820. Memory 820 is configured to store computer instructions. Processor 810 executes the computer instructions stored in memory 820 to implement the method shown in FIG6 , or the operations performed by processor 121 in the embodiment shown in FIG3 .
[0176] The present application also provides a computer storage medium including computer software instructions, the computer software instructions including a program for implementing the method shown in FIG6 . The computer-readable storage medium can be any available medium capable of storing data or a data storage device comprising one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive).
[0177] The embodiment of the present application further provides a computer program product, including a program for implementing the method shown in Figure 6. The computer program product is software or a program product that can be run on a processor or stored in any available medium.
[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A computing system, characterized in that: include: A first subsystem and a second subsystem, wherein there are N transmission channels between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem includes a processor and a memory; Wherein, when there is data to be transmitted between the first subsystem and the second subsystem, the processor of the first subsystem is used to obtain a first address in the memory of the first subsystem and a second address in the memory of the second subsystem; the first address is one of a source address and a destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; The processor of the first subsystem is used to associate the N segment addresses in the second address with the N transmission channels; different segment addresses are different addresses in the second address, correspond to different addresses in the first address, and are associated with different transmission channels; When the second address is the source address, the processor of the first subsystem is used to read the data on the segment address through the transmission channel associated with the segment address, and store the read data in the address corresponding to the segment address in the first address.
2. The computing system according to claim 1, characterized in that When the second address is the destination address, the processor of the first subsystem is used to write data at the segment address through a transmission channel associated with the segment address, wherein the written data is data at an address in the first address corresponding to the segment address.
3. The computing system according to claim 1 or 2, characterized in that: When the second address is the source address, the processor of the first subsystem is used to send a first read instruction with a destination address being the segment address to the second subsystem through a transmission channel associated with the segment address, so as to read data on the segment address.
4. The computing system according to claim 3, characterized in that: The first subsystem includes a bus and a port of the transmission channel, and the port of the transmission channel and the processor of the first subsystem are connected to the bus; The processor of the first subsystem is used to send a second read instruction whose destination address is the port address of the transmission channel associated with the segment address through the bus, so that the second read instruction can be sent to the port of the transmission channel associated with the segment address; The port of the transmission channel associated with the segment address is used to convert the port address in the second read instruction into the segment address to obtain the first read instruction; The port of the transmission channel associated with the segment address is used to send the first read instruction to the second subsystem.
5. The computing system according to any one of claims 1 to 4, characterized in that: The processor of the first subsystem is used to divide the second address into the N segment addresses based on the transmission capacity of the N transmission channels; wherein the length of the segment address is positively correlated with the transmission capacity of the transmission channel associated with the segment address.
6. The computing system according to claim 5, characterized in that: The transmission capability includes available bandwidth and / or quality of service QoS.
7. The computing system according to any one of claims 1 to 6, characterized in that: The first subsystem includes a first transmission engine and a second transmission engine; wherein, when the load of the first transmission engine is less than the load of the second transmission engine, the processor of the first subsystem is used to use the first transmission engine to read the data on the segment address through the transmission channel associated with the segment address.
8. The computing system according to any one of claims 1 to 6, characterized in that: The first subsystem includes k transmission engines, k is an integer greater than 1, and the processor of the first subsystem is used to divide the second address into k segment addresses, and the k segment addresses correspond to the k transmission engines one by one; Among them, when there is an intersection between the first segment address among the k segment addresses and the second segment address among the N segment addresses, the processor of the first subsystem is used to use the transmission engine corresponding to the first segment address to read the data on the intersection through the transmission channel associated with the second segment address.
9. The computing system according to any one of claims 1 to 8, characterized in that: The processor of the first subsystem is any one of a central processing unit CPU, a graphics processing unit GPU, a neural network processor NPU, and a field programmable gate array FPGA, and the processor of the second subsystem is any one of a CPU, a GPU, an NPU, and an FPGA.
10. A data transmission method, characterized in that: A method for applying a first subsystem in a computing system, wherein the computing system further comprises a second subsystem, wherein N transmission channels are provided between the first subsystem and the second subsystem, where N is an integer greater than 1, and each subsystem comprises a processor and a memory; and wherein the method comprises: When there is data to be transmitted between the first subsystem and the second subsystem, the processor of the first subsystem obtains a first address in the memory of the first subsystem and a second address in the memory of the second subsystem; the first address is one of a source address and a destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; The processor of the first subsystem associates the N segment addresses in the second address with the N transmission channels; different segment addresses are different addresses in the second address, correspond to different addresses in the first address, and are associated with different transmission channels; When the second address is the source address, the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, and stores the read data in the address corresponding to the segment address in the first address.
11. The method according to claim 10, characterized in that The method further comprises: When the second address is the destination address, the processor of the first subsystem writes data at the segment address through a transmission channel associated with the segment address, wherein the written data is data at an address in the first address corresponding to the segment address.
12. The method according to claim 10 or 11, characterized in that: The processor of the first subsystem reads the data at the segment address through the transmission channel associated with the segment address, including: The processor of the first subsystem sends a first read instruction with a destination address being the segment address to the second subsystem through a transmission channel associated with the segment address, so as to read data on the segment address.
13. The method according to any one of claims 10 to 12, characterized in that: The processor of the first subsystem associating the N segment addresses in the second address with the N transmission channels comprises: The processor of the first subsystem divides the second address into the N segment addresses based on the transmission capacity of the N transmission channels; wherein the length of the segment address is positively correlated with the transmission capacity of the transmission channel associated with the segment address.
14. The method according to any one of claims 10 to 13, characterized in that: The first subsystem includes a first transmission engine and a second transmission engine; the processor of the first subsystem reads the data on the segment address through the transmission channel associated with the segment address, including: When the load of the first transmission engine is less than the load of the second transmission engine, the processor of the first subsystem uses the first transmission engine to read the data on the segment address through the transmission channel associated with the segment address.
15. The method according to any one of claims 10 to 14, characterized in that The first subsystem includes k transmission engines, where k is an integer greater than 1; The method further includes: the processor of the first subsystem divides the second address into k segment addresses, and the k segment addresses correspond to the k transmission engines one by one; The processor of the first subsystem reads the data at the segment address through the transmission channel associated with the segment address, including: When a first segment address among the k segment addresses and a second segment address among the N segment addresses have an intersection, the processor of the first subsystem uses the transmission engine corresponding to the first segment address to read data on the intersection through the transmission channel associated with the second segment address.
16. A data transmission device, characterized in that: A first subsystem configured in a computing system, the computing system further comprising a second subsystem, N transmission channels being provided between the first subsystem and the second subsystem, N being an integer greater than 1, each subsystem comprising a processor and a memory; the device comprising: an acquiring unit, configured to acquire a first address in a memory of the first subsystem and a second address in a memory of the second subsystem when there is data to be transmitted between the first subsystem and the second subsystem; the first address is one of a source address and a destination address of the data to be transmitted, and the second address is the other of the source address and the destination address; an associating unit, configured to associate the N segment addresses in the second address with the N transmission channels; different segment addresses are different addresses in the second address, correspond to different addresses in the first address, and are associated with different transmission channels; An access unit is used to read the data on the segment address through a transmission channel associated with the segment address when the second address is the source address, and store the read data in an address corresponding to the segment address in the first address.
17. A chip, characterized in that: The method comprises a processor and a memory for executing any one of claims 10-15.
18. A computer storage medium, characterized in that: The method comprises computer software instructions, wherein the computer software instructions comprise a program for implementing the method according to any one of claims 10 to 15.
19. A computer program product, characterized in that The invention comprises a program for implementing the method according to any one of claims 10 to 15.
Citation Information
Patent Citations
Computing system and data transmission method
CN118519951A
Peer-to-peer special purpose processor architecture and method
CN102007479A
Parallel data transfer to increase bandwidth for accelerated processing devices
CN111417936A
Techniques to transfer data among hardware devices
CN113395216A
Private addressing in a multi-processor graphics processing system
US6956579B1
Cited By
Memory virtualization method, deep learning system and task switching method thereof
CN119248423A
