Can someone explain the concepts of IPoIB and TCP over
infiniband? I understand the overall concept and data rates provided by
native infiniband, but dont quite understand how TCP and IPoIB fit in.
Why do u need them and what do they do? What is the difference when
someone says their network uses IPoIB or TCP with infiniband? Which one
is better? I am not from a strong networking background, so it would be
nice if you could elaborate.
Thank you for your help. |
|||||
|
|
InfiniBand adapters ("HCAs") provide a couple of advanced
features that can be used via the native "verbs" programming interface:
IPoIB does not make full use of the HCAs capabilities; network traffic goes through the normal IP stack, which means a system call is required for every message and the host CPU must handle breaking data up into packets, etc. However it does mean that applications that use normal IP sockets will work on top of the full speed of the IB link (although the CPU will probably not be able to run the IP stack fast enough to use a 32 Gb/sec QDR IB link). Since IPoIB provides a normal IP NIC interface, one can run TCP (or UDP) sockets on top of it. TCP throughput well over 10 Gb/sec is possible using recent systems, but this will burn a fair amount of CPU. To your question, there is not really a difference between IPoIB and TCP with InfiniBand -- they both refer to using the standard IP stack on top of IB hardware. The real difference is between using IPoIB with a normal sockets application versus using native InfiniBand with an application that has been coded directly to the native IB verbs interface. The native application will almost certainly get much higher throughput and lower latency, while spending less CPU on networking. |