WO2009123933A1 - Peer-to-peer special purpose processor architecture and method - Google Patents

Peer-to-peer special purpose processor architecture and method Download PDF

Info

Publication number
WO2009123933A1
WO2009123933A1 PCT/US2009/038637 US2009038637W WO2009123933A1 WO 2009123933 A1 WO2009123933 A1 WO 2009123933A1 US 2009038637 W US2009038637 W US 2009038637W WO 2009123933 A1 WO2009123933 A1 WO 2009123933A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
bus
special purpose
host
peer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2009/038637
Other languages
English (en)
French (fr)
Inventor
Stephen Morein
Mark S. Grossman
Warren Fritz Kruger
Brian Etscheid
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Micro Devices Inc
Original Assignee
Advanced Micro Devices Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced Micro Devices Inc filed Critical Advanced Micro Devices Inc
Priority to JP2011502109A priority Critical patent/JP5542120B2/ja
Priority to EP09727019.3A priority patent/EP2260394B1/en
Priority to CN200980111272.6A priority patent/CN102007479B/zh
Publication of WO2009123933A1 publication Critical patent/WO2009123933A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38—Information transfer, e.g. on bus
    • G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14—Handling requests for interconnection or transfer
    • G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38—Information transfer, e.g. on bus
    • G06F13/40—Bus structure
    • G06F13/4004—Coupling between buses
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026—PCI express

Definitions

  • the invention is in the field of data transfer in computer and other digital systems.
  • FIG. 1 is a block diagram of a prior art system 100 that includes a root processor 108 (such as a CPU), a bridge 106, and two endpoints EPO 104a and EPl Attorney Docket No ATEC P048WO Patent Application
  • Each endpoint 104 is coupled to a respective memory component 102a and 102b,
  • the multiple GPUs share processing tasks, which requires transfer of data between them.
  • a challenge in achieving good performance scaling in a multi-GPU system is that there is potentially a lot of data that must go back and forth between the GPUs.
  • the application calls for the drawing of a background or some other texture that requires a lot of time to draw.
  • the only path for data transfer between GPUs 104 is through respective paths 105a and 105 b to the bridge 106
  • the path into the root 108 must carry the traffic from each GPU 104 to the root 108, as well as the traffic between the two GPUs 104 This can create a bottleneck because the physical wires are being shared.
  • Figure 1 is a block diagram of a prior art multi-processor system
  • Figure 2 is a block diagram of portions of a multi -processor system with added peer-to-peer IO path, according to an embodiment.
  • Figure 3 is a more detailed block diagram of a multi-processor system with added peer-to-peer IO path, according to an embodiment.
  • Figure 4 is a flow diagram of a method performed by the IO system, according to an embodiment.
  • Figure 5 is a flowchart that illustrates a method of communicating phase information to in an asymmetrical IO system, according to an embodiment.
  • Figure 6 is a timing diagram that illustrates the communication of client phase information to a host device in an asymmetrical IO system, according to an embodiment.
  • Embodiments of peer-to-peer special purpose processor architecture and method are described herein. Embodiments include a system with multiple special Attorney Docket No. ATEC P048 WO Patent Application
  • a direct bus directly couples each of the multiple special purpose processors to at least one other of the multiple special purpose processors
  • a memory controller is coupled to the multiple special purpose processors, and the memory controller determines whether to transmit data via the host bus or the direct bus.
  • FIG. 2 is a block diagram of portions of a multi-processor system 200 according to an embodiment.
  • System 200 includes a root processor 208 coupled to a bridge 026.
  • the bridge 206 is coupled via respective buses 205a and 205b to bus endpoints EPO 204a and EPl 204b.
  • Each of endpoints 204 is coupled to a respective memory device 202a or 202b.
  • root processor 208 is a CPU and each of endpoints 204 are GPUs, but embodiments are not so limited As described further below, embodiments include endpoint 204 that are each GPUs with sideports that are similar to PCIe® ports.
  • PCIe® addressing features, and various load balancing features are used in the architecture of system 200 to improve performance
  • Read operations from one GPU to another are particularly expensive. For Read operations, a request is sent, and some time later you get the requested data is received.
  • Embodiments provide an improvement over typical performance for operations, including Read operations
  • FIG. 3 is a block diagram of a multi-processor system 300 according to an embodiment.
  • System 300 is similar to system 200, but more detail is shown
  • a CPU 308 is a root processor of the system 300.
  • a bridge 306 couples the CPU 308 to a system memory 309. The bridge 306 also couples the CPU 308 to a GPUO 304a via a host bridge bus 305a, and to a GPUl 304b via a host bridge bus 305b.
  • GPUs 304 are coupled to each other via a direct bus 307 through respective side ports. GPUs 304 are each further coupled to respective local memories 313a and 313b via separate respective ports.
  • GPUO 304a includes various clients 311a.
  • the clients 311a communicate with a memory controller 303a
  • the memory controller 303a controls access to local memory 313a (for example a video memory), by clients 311, and controls access to bus 305a by clients 31 1. More specifically, the memory controller 303a determines which clients 311 communicate with local memory 313a and which clients 311 communicate with bus 305a and when.
  • GPUl 304b similarly includes various clients 31 1b coupled to a memory controller 303b. Memory controller 303b communicated with the local memory 313b. GPUO 304a and GPUl 304b are coupled to each other by a direct bus 307 Direct bus 307 is a peer-to-peer path between novel side ports of GPUs 304.
  • access to various buses by clients 31 1 is determined by address range. Access to memories 309 and 313 is based on the address range. In an embodiment, memory address space is divided up into three sections, a section for system memory 309, a section for local memory 313a, and a section for local memory 313b Memory 313a is a peer memory from the perspective of GPU 304b, and vice versa. Peer addresses are those that refer to a memory on another GPU Access to local memory is handled by the bridge 306 in a typical manner. In an embodiment, when addresses fall in the peer address range, both available paths (direct bus 307 and host bridge buses 305) are used. The amount of data sent via one path or another depends on various conditions in different embodiments.
  • data is divided evenly among both paths; 50% of the data being sent by bus 307, and 50% of the data being sent by bus 305
  • This mode provides improved performance that would not be possible with conventional architectures.
  • bus 305 is still being shared by other traffic (in addition to the data being transmitted as described above).
  • dynamic load balancing can also be used in this mode to improve performance yet further.
  • the direct path using direct bus 307 can be a preferred path, but when that path is full, the other path (using, for example, paths 305a and 305b) is used.
  • WA Write to memory address/location A
  • address-based routing Addresses can be divided so that data for the same address will be sent on the same route. For example, even doubleword addresses may be sent via direct path 307 and odd doubleword addresses sent via host bridge path 305a and 305b. Alternatively, seven out of eight addresses (those not ending with 000 binary) may be sent via direct path 307 and the rest sent via host bridge path 305a and 305b.
  • GPUO 304a pushes data to GPUl 304b, but does not pull data back from GPUl 304b.
  • Read and Write operations are practicable in either direction in other embodiments according to the same methods described herein
  • Figure 4 is a block diagram of elements of a two-GPU system 400 according to an embodiment.
  • Figure 4 includes an overall graphics subsystem interconnect according to an embodiment (not showing a display link for transferring displayable pixels to a motherboard or display device),
  • System 400 includes a GPUO 404a and a GPUl 404b.
  • GPUs 404 are coupled to each other directly via a direct bus 407 and respective side ports.
  • Blocks labeled "RC” are configured as root complex cores.
  • Blocks labeled "EP” are endpoint configured, Note that RC and EP are common terminology for PCI Express (PCIe®) ports. For proper communication an RC must talk to EPs and not to another RC.
  • PCIe® PCI Express
  • Each of GPUs 404 include a memory controller (MC), and a host data path block (HDP).
  • communication paths 421 are Read/Write (R/W) + d request paths, where "W+d” means "write request plus data”.
  • CPL data” arrows 413 show paths for read completions with data. Arrows 423 indicate W+d request paths.
  • Host PCIe® interfaces to other GPU internal blocks such Attorney Docket No ATEC.P048 WO Patent Application
  • ROM Read Only Memory
  • VGA Video Graphics Array/Adapter
  • GPUs 404 are further coupled to a bridge 406 (a NorthBridge in this embodiment) through crossbar 417 via respective host bridge buses 405a and 405b.
  • a CPU 408 is coupled to the bridge 406.
  • FIG. 5 is a block diagram of a 4-GPU system according to an embodiment.
  • two GPUs GPUA 404a and GPUB 404b occupy one board (boardO)
  • two additional GPUs, GPUC 504c and GPUD 504d occupy another board (board 1).
  • GPU 504a and GPU 504b are coupled via a direct bus 507a and a display link 511a.
  • GPU 504a and GPU 504b are each coupled to a discrete bridge 509a through respective PCIe® buses.
  • GPUs GPUC 504c and GPUD 504d are coupled via a direct bus 507b and a display link 511c. GPU 504c and GPU 504d are each coupled to a discrete bridge 509b through respective PCIe® buses,
  • Board 0 and board 1 are coupled by a display link 51 Ib. Board 0 and board 1 are further coupled through a bridge 506 via a PCIe® bus from discrete bridge 509a to the bridge 506 and by another PCIe® bus from discrete bridge 509b to the bridge 506.
  • a CPU 508 is coupled to the bridge 506.
  • Peer to peer transfers are possible simultaneously between any pair of GPUs in system 500. In an embodiment, if the pairs are AB and CD, each transfer is peiformed at approximately 12.2GB/sec max sustained. If the pairs are AC and BD or AD and BC and the transfers are in opposite directions, each transfer is performed at approximately 6.1 GB/sec. If the pairs are AC and BD or AD and BC and the transfers are in the same direction, each transfer is peiformed at approximately 3 GB/sec.
  • Figure 6 is a block diagram of a side port subsystem accoiding to an embodiment.
  • the following labeled section provide implementation details according to various embodiments with reference to Figure 6, but the claimed invention is not limited to the specific details described.
  • the host PCIe® interface is made up of Bus Interface core logic (BIF), an analog PHY, and a wrapper The interface is configured as an Endpoint (EP).
  • BIF Bus Interface core logic
  • EP Endpoint
  • the bus operates at the standard PCI Express 2 0 specification Attorney Docket No. ATEC.P048 WO Patent Application
  • PCIe2® rate of 5Gbps pet pin, or a theoretical maximum iate of 8GB/sec for a 16- lane interface.
  • the bus has a 128b credit/debit master interface for outgoing memoiy writes (to host or peer), and a 128b credit/debit slave interface for incoming memory writes (from host or peer).
  • the bus has 32b interfaces to read only memory (ROM), internal register bus, audio, and video graphics array (VGA)
  • ROM read only memory
  • VGA video graphics array
  • the bus routes host requests to the multiple GPU destinations over its slave interface (labeled S).
  • the BIF directs traffic with a set of address apertures, one for frame buffer, one for registers, and one for ROM. It uses a 32b interface for configuration registers and straps. It also has an interface to the clock generator (CG) to handle ACPI power state management, clock, reset and scan inputs, and a debug bus daisy chain interface It also has an interface to the host data path block (HDP) for framebuffer reads and writes
  • CG clock generator
  • HDP host data path block
  • the PCI Express logic used for the side port is configured as a Root Complex (RC). There are small differences in configuration and capabilities between RC and EP modes of operation.
  • the XSP bus operates at the standard PCIe2® spec rate of 0.5Gbps per pin, or a theoretical maximum rate of 8GB/sec for a 16-lane interface. It has a 128-data-bit credit/debit master interface used for outgoing memory controller (MC) memory space write requests to the peer GPU, and a 128b credit/debit slave interface for incoming memory writes from the peer GPU. These are the interfaces used by HDP on the host BIF instance It uses a 32b interface for configuration registers and straps It maintains its own link power states separately from the host interface.
  • MC memory controller
  • the number of lanes can be software programmed to be 8 or 16. Because two PCIe® PHYs on an application specific integrated circuit (ASIC) run at the same rate, a single pair of reference clock (REFCLK) input pins can be used, with the buffered REFCLK distributed on-die to the two PHYs.
  • REFCLK reference clock
  • the XSP instance does not need any of the other read/write interfaces or interrupt handling supported by the host BIF
  • the side port does not need to be activated at ASIC power up, so for the most part it does not use pin-based straps.
  • the configuration of the side port is programmable separately from the host interface via software register writes over the SRBM bus Attorney Docket No ATEC P048WO Patent Application
  • the XSP does not need to support register reads or writes, I/O space, or configuration space cycles, Only a single PCIe® Function is required to be operable on this device. In an embodiment where only posted wiites are issued (no reads at all), and a global synchronization scheme is used, completion messages are not necessary.
  • the MC hub routes write requests to the XSP.
  • the same addresses are used for XSP requests as for host BIF requests,
  • the host data path block is a standard block that is part of the BusIP.
  • the HDP handles frame buffer reads and writes performed by the host interface.
  • frame buffer reads and writes can come from either the host or from pee- to-peer writes initiated by another GPU, Host accesses may use one of multiple HDP tiling apertures, while peer to peer accesses may or may not (peers can be distinguished by requester ID).
  • the HDP interfaces to the host BIF' s slave port and to the MC as a read and write client, The BIF and HDP cooperate to maintain read to write coherency; a read cannot pass preceding writes.
  • a special write to a reserved memory address is recognized by the HDP and triggers an MC read and a flush of preceding writes for a particular "write phase" all the way to local memory, followed by a writeback to a phase-specific mailbox in the sending client's register space,
  • Incoming reads and writes from the bus are routed to the HDP by a special aperture in the BIF.
  • This aperture corresponds to 32MB or more of local memory.
  • the addresses handled by the HDP are treated as virtual addresses and looked up in a page table dedicated to HDP
  • peer-to-peer write addresses are encoded by the MC of the sending GPU as phase and offset, and may have automatic per -phase base address register (BAR) updates interspersed.
  • BAR automatic per -phase base address register
  • the HDP uses a combination of a requester ID from the BIF plus transmitted bits to determine which write phase and dynamic address aperture to use.
  • the MC has two interfaces for connecting to the side port: a 128b BIF master Attorney Docket No .
  • the MC also incorporates addressing logic to route master requests to peer memory via the XSP.
  • a XDP block handles the interface functions. It looks at slave requests and does either address offsetting or video memory (VM) lookup, it maintains write completion counters, and it provides write combining (32B BIF requests to 64B MC requests)
  • Requests to and from the side port can be from 16 bytes (with masking) to 64 bytes, For best performance requests should be 64B
  • the side port BIF interfaces pass GART-translated 40b system addresses whether or not full graphics virtual memory is active
  • the GART is the same as system context domain, performing translations from 36-bit GPU device addresses.
  • the MC maintains write completion status in a way that allows for multi-GPU guaranteed flushing of copy operations. Similar to the HDP, a special address that is recognized by XDP is used to trigger a check for write completion of a particular write phase, and to generate a writeback to a mailbox in the sending client's register space.
  • DMDMA Direct Memory Access Engine
  • the GPU with side port includes a DMA engine that can perform efficient host block transfers (BLTs) of memory.
  • the DRMDMA can be programmed to transfer between any two of local memory, host memory, and another GPU 's local memory. With enhancements to the handling of addresses (further described below) the DRMDMA can also move blocks of memory utilizing both the XSP and the PCIe® bridge.
  • the standard transfer capabilities of an embodiment include:
  • the DRMDMA can sustain a 32B read and 32B write per clock, which matches two 16B PCIe® write interfaces.
  • the host port has a lot of bandwidth available as well, and should still be usable foi communicating with the neighbor GPU.
  • the simplest method of load balancing involves statically assigning the port used to transfer data based on a fixed assignment to diffeient clients - for example, DRMDMA assigned to side poit and Color Buffer block assigned to host port.
  • a second method of load balancing involves dynamically routing traffic from any client to either of the two ports based on how heavily the side port is used See description of "ANY" load balancing below.
  • peer write requests (reqs) are being sent to the neighbor via host and side port, request order can be lost because of differing and variable latencies across these 2 ports.
  • the host port could even be stalled in some circumstances. This means that steps should be taken to ensure that request ordering is preserved when needed.
  • the only ordering guarantee from the MC is that writes to the same address from the same client will not be reordered. So, this is the only Write after Write (WAW) requirement for peer writes as well.
  • WAW Write after Write
  • the MC handles reads/writes to local memory as well as to host and peer.
  • the default MC ordering rule is as stated.
  • the additional routing rules and the bus itself provide additional ordering guarantees. All load balancing only applies to requests going to the neighbor GPU This is determined by an aperture check, and non-neighbor requests will all go to the host port
  • FXD Load Balancing Fixed mapping to ports
  • the address check mapping used is programmable as to which address bits are looked at, and what threshold to use for balancing.
  • the address bits used set the granularity of balancing, since larger granularity would probably mean write bursts stay together across one port or the other, while too large of a granularity could result in a port starving while large bursts are sent to one port or another.
  • the threshold used allows finer ratios of balancing between host and side ports. For example, if three address bits are used, the ratio of hostside could be 0: 8, 1 :7, 2:6, ..., 7: 1, 8:0, depending on the threshold used. Sending all requests to only the host port or only side port is a degenerate case of this fixed mapping.
  • Any and/or all implemented methods of load balancing can be in concurrent use for independent streams of transfers Software can configure what type of load balancing to use per phase.
  • the ANY traffic should help to fill in any bubbles caused by the weaknesses of the FXD options.
  • the hardware has support to let these ANY type of requests bypass some stalled or waiting FXD requests.
  • Peer writes are DMAs: 1-2 phases being used by DRMDMA to copy data to peer GPU(s).
  • WAW sensitive client writing (with or without copies also being used): 2a) Similar to Ib above, if one or more peer writes are being sent, each could be assigned a dedicated path of "host_only” or “peer_only” so that both ports are fully used and there are no ordering dependencies or cross-coupled backpressure paths between ports.
  • a GPU's host interface receives bus requests for registers (mapped in memory space) and for local memory (frame buffer) as well as for other blocks.
  • Local memory reads and writes go through the HDP on their way to the MC ,
  • GPU originated memory requests use addresses that may or may not be virtual addresses.
  • GPU "device" addresses form an aperture-regioned flat address space that contains system memory (which may be further mapped via a GART) or local memory.
  • GPU addresses are treated as page-mapped virtual addresses, and the looked- up physical addresses are separate for system memory and local memory.
  • system memory typically means dynamic random access memory (DRAM) attached to the CPU, but in practice system memory includes any memory space belonging to any accessible memory-mapped devices, particularly other GPU memory.
  • DRAM dynamic random access memory
  • system memory includes any memory space belonging to any accessible memory-mapped devices, particularly other GPU memory.
  • the mapping and routing of system memory accesses is handled by a combination of discrete bridges and the bridges of the chipset (for example a Northbridge) depending on the system configuration.
  • physical address space (32b or 64b) is partitioned into true system memory attached to the CPU and "other" memory, the latter being any memory present on memory-mapped devices (i e. on the PCIe® bus), This partitioning is done via a single base-limit configuration register pair in the topmost node of the input/output (I/O) system, There is also another pair for register space. At each level of the binary tree below that, the bus address range is split into two with a base-limit pair for each downstream leg.
  • the aperture size of a GPU is set by a board strap. Today this size holds for both 32b and 64b operating systems, and holds regardless of how many GPUs are intended to be inserted into the system.
  • system addresses map to bus address space either through a GART (system page table) or directly, with ungenerated most significant bits (MSBs) Attorney Docket No ATEC P048 WO Patent Application
  • Each upstream PCIe® bridge node checks against a base-limit pair to route either further upstream or to the peer connection
  • Figure 7 shows a high level diagram of system memory space with two GPUs, showing and how each entity views it Figure 7A is a CPU view, Figure 7B is a GPUO view, and Figure 7 C is a GPUl view
  • GPU addresses are treated as virtual and are translated in the VM by page tables to system physical addresses or local video memory addresses.
  • system physical addresses are 40b and the destination of requests is always the host interface (after passing through a GART - really the system page table)
  • embodiments allow routing of system physical addresses across the side port as well.
  • the request is routed via the host interface, it is a normal peer to peer request as performed today.
  • the system address is passed to the remote GPU, where it is looked up in the HDP space page table, where it is (almost always) mapped to a local physical memory address.
  • a solution according to an embodiment makes the rest of local memory accessible to a peer by adding an offset register (a P2P BAR)
  • a P2P BAR an offset register
  • the destination BIF sees a write request from that source, after applying the memory aperture that produces a 36b device address for HDP, the offset is added (at 4KB page granularity).
  • the amount of contiguous local virtual memory space the source can see is no bigger than it was before, but this is now a window into all of the local memory that can be changed by rewriting the P2P BAR.
  • the BAR can be moved at any time as long as changes are ordered within the write stream Note also that multiple offsets do not all need to synchronized or spatially separate as long as they can be distinguished by source (e.g. write phase).
  • Figure 8 is a diagram of memory space with offsets.
  • Figure 8A is a GPUO view of the system memory space
  • Figure 8B is a GPUl LVM mapping without offset
  • Figure 8C is a GPUl mapping with offset
  • the (destination) BIF is given 8 sets of base/limit registers (Phase Range) with a 3-bit phase ID for each set.
  • Phase Range base/limit registers
  • Each of up to 8 GPUs could reserve one Phase Range for its exclusive use. Having the ranges on a single destination GPU overlap would be ambiguous ("crossing the streams"), A better scheme would be to just let phase be determined by the PCIe® sourcelD, which removes any overlap restriction.
  • Each of up to 4 GPUs can reserve two non-overlapping Phase Ranges.
  • the final phase value should be a combination of sourcelD and range check results depending on the number of GPUs in the system.
  • the BAR when a request is out of range of the cu ⁇ ent range for that phase.
  • the P2P aperture size is fixed ahead of time via a separate global register. The way the BAR moves incorporates some amount of hysteresis to minimize the frequency of update.
  • the second part of the solution involves making use of the expanded (36b) virtual space to allow the possibility of mapping all of remote GPU memory, and an exploded view of PCIe® space going into the source BIF
  • the maximum size of a surface that can be addressed without changing the P2P BAR is reduced due to the need to transmit phase bits.
  • the real PCIe® aperture for a GPU need not have any particular alignment; the phase is determined (at the cost of additional comparators on the destination side) by having 1/n partitions of the available address range to a reasonable granularity. Note it is assumed that any scatter-gather of physical surface pages is done in the destination HDP page table or GART, so that within the PCIe® space surface addresses are contiguous
  • Figure 9 is a diagram illustrating how phase compression works. Only two phases are shown. It is assumes there is 256MB of local memory and only a 128MB PCIe® aperture per GPU.
  • Figure 9A is a GPUO view of system memory space (GPU virtual memory space.
  • Figure 9B is a PCIe® view of system memory space (Fabric Physical memory space)
  • Figure 9C is a GPUl reconstituted view of LVM (HDP memory space).
  • the use of multiple phases from the same source GPU can be turned off Note a typical large surface is 2K x 2K x 32b/component, or 64MB. This would just fit in a 512MB/8GPU aperture.
  • the application of the aperture encoding is just in advance of the sending BIF.
  • the architecture and method described herein include a system comprising: a plurality of special purpose processors for coupling to a host bridge bus; a direct bus directly coupling each of the plurality of special purpose processors to at least one other of the plurality of special purpose processors, and a memory controller coupled to at least one of the plurality of special purpose processors, wherein the at least one memory controller determines whether to transmit data the host bus or the direct bus, and whether to receive data via the host bus or the direct bus.
  • the memoiy controller resides on at least one of the plurality of special purpose processors.
  • the plurality of special purpose processors comprise graphics processing units (GPUs).
  • the host bus comprises a peripheral component interface express (PCIe®) bus.
  • PCIe® peripheral component interface express
  • the direct bus comprises a peripheral component interface express (PCIe®) bus.
  • PCIe® peripheral component interface express
  • the direct bus comprises a propiietary bus
  • system further comprises at least one local memory, at least one system memory, and at least one peer memory, wherein the at least one peer memory is resident on a special purpose processor, and wherein the memoiy controller is configured to make the determination of which memory to access based on address ranges of the respective memories.
  • the memory controller determination of which port to use is based on the amount of traffic on each of the host bus and the direct bus.
  • the memory controller determination of which port to use is based on whether on of the host bus and the direct bus is currently full.
  • the memory controller determination based on assigning specific addresses to either the host bus or the direct bus.
  • the system further comprises at least one local memory, at least one system memory, and at least one peer memory, wherein the at least one peer memory is resident on a special purpose processor, and wherein the memory controller is configured to make the determination of which memory to access based on address ranges of the respective memories, and wherein the memory controller further performs dynamic load balancing based on traffic on each of the host bus and the direct bus.
  • a method of communicating data in a multi -processor system comprising: determining whether to transmit or receive data via a Attorney Docket No. ATEC P048 WO Patent Application
  • Embodiments include the address ranges specifying one of a peer memory resident on a special purpose processor, a system memory on the host bus, and a local memory coupled between the special purpose processors,
  • specifying addresses within the range comprises specifying the peer memory are assigned to on one of the host bus or the direct bus,
  • the determination is made based on the amount of traffic on each of the host bus and the direct bus.
  • the method further comprises performing dynamic load balancing to adjust the percentage traffic on each of the host bus and the direct bus based on historical traffic data,
  • the method further comprises assigning memory apertures to the host processor and each of the traffic on each of the plurality of special purpose processors, wherein the memory apertures apply to the peer memory, the system memory, and the local memory, and the aperture determines how a respective processor views memory.
  • the method further comprises performing aperture compression, including using an offset register to make visible all of the peer memory by changing the offset.
  • instructions comprise hardware description language instructions that are usable to create an application specific integrated circuit (ASIC) to perform the method.
  • ASIC application specific integrated circuit
  • the architecture and method described herein further include a computer readable medium having stored thereon instructions that when executed cause a method of communicating data in a multi-processor system to be performed, the method comprising: determining whether to transmit or receive data via a host bus that is shared with a host processor and a plurality of special purpose processors, or via a direct bus between the plurality of special purpose processors, wherein determining depends upon a memory address range of a transmission.
  • Attorney Docket No ATEC.P048 WO Patent Application
  • the address ranges specifics one of a peer memory resident on a special purpose processor, a system memoiy on the host bus, and a local memory coupled to the special purpose processor.
  • specifying addresses within the range includes specifying the peer memory are assigned to on one of the host bus or the direct bus
  • the determination is made based on the amount of traffic on each of the host bus and the direct bus.
  • the method further comprises performing dynamic load balancing to adjust the percentage traffic on each of the host bus and the direct bus based on historical traffic data.
  • the method further comprises assigning memory apertures to the host processor and each of the traffic on each of the plurality of special purpose processors, wherein the memory apertures apply to the peer memory, the system memory, and the local memory, and the aperture determines how a respective processor views memory
  • the method further comprises performing aperture compression, including using an offset register to make visible all of the local memory by changing the offset.
  • the instructions comprise hardware description language instructions that are usable to create an application specific integrated circuit (ASIC) to perform the method.
  • ASIC application specific integrated circuit
  • the architecture and method described herein further include a method of communicating data in a multi-processor system, the method comprising: determining whether to transmit or receive data via a host bus that is shared with a host processor and a plurality of special purpose processors, 01 via a direct bus between the plurality of special purpose processors, wherein determining depends upon a memory address range of a transmission; communicating data directly between processors via the direct bus, wherein the special purpose processor comprise graphics processing units with frame buffer apertures, and wherein communicating stat directly comprises providing access outside a frame buffer aperture via the direct bus.
  • PLDs programmable logic devices
  • FPGAs field programmable gate arrays
  • PAL programmable array logic
  • ASICs application specific integrated circuits
  • microcontrollers with memory such as electronically erasable programmable read only memory (EEPROM), Flash memory, etc.
  • embedded microprocessors firmware, software, etc.
  • aspects of the embodiments may be embodied in microprocessors having software-based circuit emulation, discrete logic (sequential and combinatorial), custom devices, fuzzy (neural) logic, quantum devices, and hybrids of any of the above device types,
  • MOSFET metal-oxide semiconductor field-effect transistor
  • CMOS complementary metal-oxide semiconductor
  • ECL emitter-coupled logic
  • polymer technologies e.g., silicon-conjugated polymer and metal-conjugated polymer -metal structures
  • mixed analog and digital etc.
  • processor includes a processor core or a portion of a processor.
  • processors includes a processor core or a portion of a processor.
  • one or more GPUs and one or more CPUs are usually referred to separately herein, in embodiments both a GPU and a CPU are included in a single integrated circuit package or on a single monolithic die. Therefore a single device performs the claimed method in such embodiments.
  • some or all of the hardware and software capability described herein may exist in a printer, a camera, television, a digital versatile disc (DVD) player, a DVR or PVR, a handheld device, a mobile telephone or some other device
  • DVD digital versatile disc
  • the claimed invention may be embodied in computer code (e g , HDL, Verilog, etc.) that is created, stored, synthesized, and used to generate GDSII data (or its equivalent) An ASIC may then be manufactured based on this data.
  • computer code e g , HDL, Verilog, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)
PCT/US2009/038637 2008-03-31 2009-03-27 Peer-to-peer special purpose processor architecture and method Ceased WO2009123933A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011502109A JP5542120B2 (ja) 2008-03-31 2009-03-27 ピアツーピア専用プロセッサのアーキテクチャ及び方法
EP09727019.3A EP2260394B1 (en) 2008-03-31 2009-03-27 Peer-to-peer special purpose processor architecture and method
CN200980111272.6A CN102007479B (zh) 2008-03-31 2009-03-27 点对点专用处理器结构和方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US4121008P 2008-03-31 2008-03-31
US61/041,210 2008-03-31

Publications (1)

Publication Number Publication Date
WO2009123933A1 true WO2009123933A1 (en) 2009-10-08

Family

ID=40810781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2009/038637 Ceased WO2009123933A1 (en) 2008-03-31 2009-03-27 Peer-to-peer special purpose processor architecture and method

Country Status (6)

Country Link
US (1) US8161209B2 (enExample)
EP (1) EP2260394B1 (enExample)
JP (1) JP5542120B2 (enExample)
KR (1) KR101574278B1 (enExample)
CN (1) CN102007479B (enExample)
WO (1) WO2009123933A1 (enExample)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012173927A (ja) * 2011-02-21 2012-09-10 Nec Corp 電子装置、集積装置、情報処理システム、および、処理方法
JP2013506890A (ja) * 2009-08-24 2013-02-28 マイクロン テクノロジー, インク. マルチポート・メモリおよびその動作
JP2013512519A (ja) * 2009-12-01 2013-04-11 ブル・エス・アー・エス いくつかの周辺装置のメモリ間のデータの直接転送のためにメモリに直接アクセスするコントローラ、そのようなコントローラを実現可能にする方法およびコンピュータプログラム

Families Citing this family (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4699685B2 (ja) * 2003-08-21 2011-06-15 パナソニック株式会社 信号処理装置及びそれを用いた電子機器
US8605099B2 (en) * 2008-03-31 2013-12-10 Intel Corporation Partition-free multi-socket memory system architecture
US8373709B2 (en) * 2008-10-03 2013-02-12 Ati Technologies Ulc Multi-processor architecture and method
US8892804B2 (en) * 2008-10-03 2014-11-18 Advanced Micro Devices, Inc. Internal BUS bridge architecture and method in multi-processor systems
US8368701B2 (en) * 2008-11-06 2013-02-05 Via Technologies, Inc. Metaprocessor for GPU control and synchronization in a multiprocessor environment
US8402189B2 (en) * 2010-05-13 2013-03-19 Hitachi, Ltd. Information processing apparatus and data transfer method
US8982140B2 (en) * 2010-09-24 2015-03-17 Nvidia Corporation Hierarchical memory addressing
WO2012079041A1 (en) * 2010-12-09 2012-06-14 Exegy Incorporated Method and apparatus for managing orders in financial markets
CN102810085A (zh) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 Pci-e扩展系统及方法
CN102931546A (zh) * 2011-08-10 2013-02-13 鸿富锦精密工业(深圳)有限公司 连接器组合
CN102541804B (zh) * 2011-12-26 2014-04-02 中国人民解放军信息工程大学 一种异构系统中多gpu互连体系结构
CN102722467A (zh) * 2012-05-31 2012-10-10 深圳市江波龙电子有限公司 一种多处理器设备及其程序运行方法
JP5949188B2 (ja) * 2012-06-08 2016-07-06 日本電気株式会社 密結合マルチプロセッサシステム
TWI456398B (zh) * 2012-07-03 2014-10-11 Acer Inc 支援雙主控裝置的資料路由系統
CN103631549A (zh) * 2012-08-22 2014-03-12 慧荣科技股份有限公司 图像处理装置及外接图像装置
EP2895925B1 (de) * 2012-11-06 2016-09-28 Siemens Aktiengesellschaft Kaskadiertes feldbussystem
US8996781B2 (en) * 2012-11-06 2015-03-31 OCZ Storage Solutions Inc. Integrated storage/processing devices, systems and methods for performing big data analytics
CN104813309A (zh) 2012-11-28 2015-07-29 辉达公司 用于远程显示器的基于云的虚拟化图形处理方法和系统
CN103049421B (zh) * 2012-12-11 2019-08-27 百度在线网络技术(北京)有限公司 一种cpu与协处理器间的数据传输方法和装置
US9910816B2 (en) * 2013-07-22 2018-03-06 Futurewei Technologies, Inc. Scalable direct inter-node communication over peripheral component interconnect-express (PCIe)
US9197546B2 (en) * 2013-08-06 2015-11-24 Oracle International Corporation System and method for providing a messaging cluster with hybrid partitions
US10096078B2 (en) * 2013-08-13 2018-10-09 Nvidia Corporation Multi GPU interconnect techniques
EP2909720A1 (en) * 2014-01-13 2015-08-26 Huawei Technologies Co., Ltd. Method for pattern processing
US9766918B2 (en) * 2015-02-23 2017-09-19 Red Hat Israel, Ltd. Virtual system device identification using GPU to host bridge mapping
US10713202B2 (en) * 2016-05-25 2020-07-14 Samsung Electronics Co., Ltd. Quality of service (QOS)-aware input/output (IO) management for peripheral component interconnect express (PCIE) storage system with reconfigurable multi-ports
CN106776455B (zh) * 2016-12-13 2020-08-21 苏州浪潮智能科技有限公司 一种单机多gpu通信的方法及装置
WO2018154494A1 (en) 2017-02-23 2018-08-30 Cerebras Systems Inc. Accelerated deep learning
WO2018193352A1 (en) 2017-04-17 2018-10-25 Cerebras Systems Inc. Dataflow triggered tasks for accelerated deep learning
US11488004B2 (en) 2017-04-17 2022-11-01 Cerebras Systems Inc. Neuron smearing for accelerated deep learning
US11232347B2 (en) 2017-04-17 2022-01-25 Cerebras Systems Inc. Fabric vectors for deep learning acceleration
US10795842B2 (en) 2017-05-08 2020-10-06 Liqid Inc. Fabric switched graphics modules within storage enclosures
US10684968B2 (en) * 2017-06-15 2020-06-16 International Business Machines Corporation Conditional memory spreading for heterogeneous memory sizes
US10672095B2 (en) * 2017-12-15 2020-06-02 Ati Technologies Ulc Parallel data transfer to increase bandwidth for accelerated processing devices
US11379389B1 (en) * 2018-04-03 2022-07-05 Xilinx, Inc. Communicating between data processing engines using shared memory
US20200065287A1 (en) * 2018-08-21 2020-02-27 General Electric Company Networking systems using multiple peripheral component cards
WO2020044152A1 (en) 2018-08-28 2020-03-05 Cerebras Systems Inc. Scaled compute fabric for accelerated deep learning
WO2020044238A1 (en) 2018-08-29 2020-03-05 Cerebras Systems Inc. Processor element redundancy for accelerated deep learning
US11321087B2 (en) 2018-08-29 2022-05-03 Cerebras Systems Inc. ISA enhancements for accelerated deep learning
WO2020062305A1 (zh) * 2018-09-30 2020-04-02 华为技术有限公司 运算加速器、交换器、任务调度方法及处理系统
JP7257772B2 (ja) * 2018-10-31 2023-04-14 ルネサスエレクトロニクス株式会社 半導体装置を用いるシステム
CN109783407B (zh) * 2019-01-14 2021-01-12 武汉精立电子技术有限公司 一种基于fpga实现pc与显卡桥接的装置及方法
US10585827B1 (en) 2019-02-05 2020-03-10 Liqid Inc. PCIe fabric enabled peer-to-peer communications
US12204476B2 (en) 2019-02-05 2025-01-21 Liqid Inc. Peer-to-peer communications initiated among communication fabric coupled endpoint devices
WO2021074865A1 (en) 2019-10-16 2021-04-22 Cerebras Systems Inc. Basic wavelet filtering for accelerated deep learning
US12177133B2 (en) 2019-10-16 2024-12-24 Cerebras Systems Inc. Dynamic routing for accelerated deep learning
US11172219B2 (en) * 2019-12-30 2021-11-09 Texas Instruments Incorporated Alternating frame processing operation with predicted frame comparisons for high safety level use
US11132326B1 (en) * 2020-03-11 2021-09-28 Nvidia Corporation Techniques to transfer data among hardware devices
CN113051212B (zh) * 2021-03-02 2023-12-05 长沙景嘉微电子股份有限公司 图形处理器、数据传输方法、装置、电子设备和存储介质
CN115309694A (zh) * 2021-05-07 2022-11-08 脸萌有限公司 片上集成电路、数据处理装置和方法
CN113377704B (zh) 2021-06-11 2022-04-12 上海壁仞智能科技有限公司 人工智能芯片以及数据操作方法
CN113626368B (zh) * 2021-06-30 2023-07-25 苏州浪潮智能科技有限公司 一种人工智能的数据处理方法及相关装置
US12118281B2 (en) * 2022-06-07 2024-10-15 Dell Products L.P. LCS orchestrator device/expansion device secondary circuit board system
CN116909952B (zh) * 2022-12-19 2026-09-08 中国移动紫金(江苏)创新研究院有限公司 基于pcie桥接模式的dma传输方法、装置及设备
CN118519951A (zh) * 2023-02-20 2024-08-20 华为技术有限公司 计算系统及数据传输方法
US20260254870A1 (en) * 2025-02-26 2026-08-27 Qualcomm Incorporated Peer-to-peer communication between devices with coherent fabric bypass
CN120234282B (zh) * 2025-06-03 2025-08-08 沐曦集成电路(上海)股份有限公司 芯片先入先出队列自动生成方法、电子设备和介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060046771A1 (en) * 2004-09-01 2006-03-02 Katsuhiko Tsunehara Radio communication apparatus with a bus dedicated to data transmission

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4627045A (en) * 1984-02-14 1986-12-02 Rosemount Inc. Alternating communication channel switchover system
US4570257A (en) * 1984-02-14 1986-02-11 Rosemount Inc. Communication system with slot time error detection
US6359624B1 (en) * 1996-02-02 2002-03-19 Kabushiki Kaisha Toshiba Apparatus having graphic processor for high speed performance
US5745913A (en) * 1996-08-05 1998-04-28 Exponential Technology, Inc. Multi-processor DRAM controller that prioritizes row-miss requests to stale banks
US6473086B1 (en) * 1999-12-09 2002-10-29 Ati International Srl Method and apparatus for graphics processing using parallel graphics processors
US6587905B1 (en) * 2000-06-29 2003-07-01 International Business Machines Corporation Dynamic data bus allocation
US6606614B1 (en) * 2000-08-24 2003-08-12 Silicon Recognition, Inc. Neural network integrated circuit with fewer pins
US6802021B1 (en) * 2001-01-23 2004-10-05 Adaptec, Inc. Intelligent load balancing for a multi-path storage system
US6874042B2 (en) * 2003-03-11 2005-03-29 Dell Products L.P. System and method for using a switch to route peripheral and graphics data on an interconnect
TWI284275B (en) * 2003-07-25 2007-07-21 Via Tech Inc Graphic display architecture and control chip set therein
US6956579B1 (en) * 2003-08-18 2005-10-18 Nvidia Corporation Private addressing in a multi-processor graphics processing system
US7119810B2 (en) * 2003-12-05 2006-10-10 Siemens Medical Solutions Usa, Inc. Graphics processing unit for simulation or medical diagnostic imaging
US7289125B2 (en) * 2004-02-27 2007-10-30 Nvidia Corporation Graphics device clustering with PCI-express
US7477256B1 (en) * 2004-11-17 2009-01-13 Nvidia Corporation Connecting graphics adapters for scalable performance
US7598958B1 (en) * 2004-11-17 2009-10-06 Nvidia Corporation Multi-chip graphics processing unit apparatus, system, and method
US7576745B1 (en) * 2004-11-17 2009-08-18 Nvidia Corporation Connecting graphics adapters
JP2007026284A (ja) * 2005-07-20 2007-02-01 Olympus Corp データ処理装置
US7325086B2 (en) * 2005-12-15 2008-01-29 Via Technologies, Inc. Method and system for multiple GPU support
US7340557B2 (en) * 2005-12-15 2008-03-04 Via Technologies, Inc. Switching method and system for multiple GPU support
US7535433B2 (en) * 2006-05-18 2009-05-19 Nvidia Corporation Dynamic multiple display configuration
US7562174B2 (en) * 2006-06-15 2009-07-14 Nvidia Corporation Motherboard having hard-wired private bus between graphics cards
US7412554B2 (en) * 2006-06-15 2008-08-12 Nvidia Corporation Bus interface controller for cost-effective high performance graphics system with two or more graphics processing units
US7500041B2 (en) * 2006-06-15 2009-03-03 Nvidia Corporation Graphics processing unit for cost effective high performance graphics system with two or more graphics processing units

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060046771A1 (en) * 2004-09-01 2006-03-02 Katsuhiko Tsunehara Radio communication apparatus with a bus dedicated to data transmission

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013506890A (ja) * 2009-08-24 2013-02-28 マイクロン テクノロジー, インク. マルチポート・メモリおよびその動作
JP2013512519A (ja) * 2009-12-01 2013-04-11 ブル・エス・アー・エス いくつかの周辺装置のメモリ間のデータの直接転送のためにメモリに直接アクセスするコントローラ、そのようなコントローラを実現可能にする方法およびコンピュータプログラム
US8990451B2 (en) 2009-12-01 2015-03-24 Bull Sas Controller for direct access to a memory for the direct transfer of data between memories of several peripheral devices, method and computer program enabling the implementation of such a controller
JP2012173927A (ja) * 2011-02-21 2012-09-10 Nec Corp 電子装置、集積装置、情報処理システム、および、処理方法

Also Published As

Publication number Publication date
JP5542120B2 (ja) 2014-07-09
JP2011516950A (ja) 2011-05-26
EP2260394A1 (en) 2010-12-15
US8161209B2 (en) 2012-04-17
EP2260394B1 (en) 2014-08-13
CN102007479A (zh) 2011-04-06
US20090248941A1 (en) 2009-10-01
CN102007479B (zh) 2015-01-14
KR101574278B1 (ko) 2015-12-04
KR20100135283A (ko) 2010-12-24

Similar Documents

Publication Publication Date Title
EP2260394B1 (en) Peer-to-peer special purpose processor architecture and method
US10467178B2 (en) Peripheral component
JP6522663B2 (ja) ハイブリッドメモリキューブリンクを用いる相互接続システムおよび方法
US7663635B2 (en) Multiple video processor unit (VPU) memory mapping
US10922258B2 (en) Centralized-distributed mixed organization of shared memory for neural network processing
US9977756B2 (en) Internal bus architecture and method in multi-processor systems
US10515011B2 (en) Compression status bit cache and backing store
US6956579B1 (en) Private addressing in a multi-processor graphics processing system
JP2000501524A (ja) 高性能万能多重ポート内部キャッシュダイナミックランダムアクセスメモリシステム、構造及び方法
JP7138190B2 (ja) ネットワークスイッチのキュー
TWI326830B (en) Packet processing systems and methods
JP2013178823A (ja) パーティションフリーマルチソケットメモリシステムアーキテクチャ
JP4729490B2 (ja) データ処理システム
CN101273380A (zh) 图形处理器的交织虚拟本地存储器
CN1983328A (zh) 同步存取方法及其系统以及绘图处理单元
CN107844451A (zh) 一种级联板间流水线的“蝶式”传输方法
CN122594208A (zh) 双沿数据总线反转用于降低ir压降
US9098383B1 (en) Consolidated crossbar that supports a multitude of traffic types

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980111272.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09727019

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2009727019

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 5723/CHENP/2010

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2011502109

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20107024483

Country of ref document: KR

Kind code of ref document: A