Alex
Alex

Reputation: 13116

Can I send via Infiniband data without using a DMA-controller?

Can I send data via Infiniband without using a DMA-controller and what the smallest size of packages can I send?

That is, can I directly access to the memory of the remote CPU2-RAM from current CPU1-Core by using simple pointer (i.e. only x86-asm: MOV... sending data to PCI-Express BAR of Infiniband adapter) without DMA-controller?

An example, can I do something like this from CPU1:

unsigned char *rdma_ptr = get_rdma_pointer(CPU2);
rdma_ptr[3] = 111;

Upvotes: 0

Views: 290

Answers (1)

kliteyn
kliteyn

Reputation: 1987

In short - no. Longer version: if your aim is to write a simple code that can do it and not mess with all the RDMA things, you will need some middleware layer that will do all this and provide you with an easy abstraction. There are several such layers to use, such as UPC (e.g. Berkeley UPC implementation) or MPI (e.g. Open MPI) As for the package size - you can send no data that is payload), but if you do want the packet to be sent, there will be headers (I think it's 20 bytes or so, but it also depends on the protocol).

Upvotes: 2

Related Questions