Welcome to QSFPTEK Global     Free shipping on orders over US$ 79.8     US and Poland Local warehouse

United States - English / $USD
United States -   English / $USD
  • Bosnia and Herzegovina - English / $USD
  • Benin - English / $USD
  • Bermuda - English / $USD
  • Bhutan - English / $USD
  • Bolivia - English / $USD
  • Botswana - English / $USD
  • Brazil - English / $USD
  • Brunei - English / $USD
  • Cambodia - English / $USD
  • Cameroon - English / $USD
  • Canada - English / $USD
  • Bulgaria - English / $USD
  • Chad - English / $USD
  • Chile - English / $USD
  • Colombia - English / $USD
  • Costa Rica - English / $USD
  • Djibouti - English / $USD
  • Dominica - English / $USD
  • Dominican Republic - English / $USD
  • Egypt - English / $USD
  • Fiji - English / $USD
  • Gabon - English / $USD
  • Canary Islands - English / $USD
  • The Gambia - English / $USD
  • Georgia - English / $USD
  • Ghana - English / $USD
  • Grenada - English / $USD
  • Guinea - English / $USD
  • Guyana - English / $USD
  • Hong Kong - English / $USD
  • India - English / $USD
  • Indonesia - English / $USD
  • Israel - English / $USD
  • Ceuta - English / $USD
  • Jamaica - English / $USD
  • Jordan - English / $USD
  • Kazakhstan - English / $USD
  • Kenya - English / $USD
  • Kiribati - English / $USD
  • Republic of Korea - English / $USD
  • Kuwait - English / $USD
  • Kyrgyzstan - English / $USD
  • Laos - English / $USD
  • Liberia - English / $USD
  • Croatia - English / $USD
  • Macao - English / $USD
  • Madagascar - English / $USD
  • Malawi - English / $USD
  • Malaysia - English / $USD
  • Maldives - English / $USD
  • Mali - English / $USD
  • Mauritania - English / $USD
  • Mauritius - English / $USD
  • Mexico - English / $USD
  • Mongolia - English / $USD
  • Cyprus - English / $USD
  • Montserrat - English / $USD
  • Morocco - English / $USD
  • Mozambique - English / $USD
  • Namibia - English / $USD
  • Nepal - English / $USD
  • Niger - English / $USD
  • Nigeria - English / $USD
  • Norfolk Island - English / $USD
  • Northern Ireland - English / $USD
  • Oman - English / $USD
  • Denmark - English / $USD
  • Pakistan - English / $USD
  • Panama - English / $USD
  • Papua New Guinea - English / $USD
  • Paraguay - English / $USD
  • Peru - English / $USD
  • Philippines - English / $USD
  • Qatar - English / $USD
  • Rwanda - English / $USD
  • Samoa[12] - English / $USD
  • Saudi Arabia - English / $USD
  • Estonia - English / $USD
  • Senegal - English / $USD
  • Seychelles - English / $USD
  • Sierra Leone - English / $USD
  • Singapore - English / $USD
  • Solomon Islands - English / $USD
  • South Africa - English / $USD
  • Sri Lanka - English / $USD
  • Saint Kitts and Nevis - English / $USD
  • Saint Lucia - English / $USD
  • Saint Vincent and the Grenadines - English / $USD
  • Finland - English / $USD
  • Suriname - English / $USD
  • Tajikistan - English / $USD
  • Tanzania - English / $USD
  • Thailand - English / $USD
  • Togo - English / $USD
  • Tonga - English / $USD
  • Trinidad and Tobago - English / $USD
  • Tunisia - English / $USD
  • Turkmenistan - English / $USD
  • United Arab Emirates - English / $USD
  • France - English / $USD
  • Uruguay - English / $USD
  • Uzbekistan - English / $USD
  • Vanuatu - English / $USD
  • Zambia - English / $USD
  • Vietnam - English / $USD
  • Antigua and Barbuda - English / $USD
  • Australia - English / $USD
  • Belarus - English / $USD
  • Belize - English / $USD
  • Burkina Faso - English / $USD
  • French Guiana - English / $USD
  • Burundi - English / $USD
  • Cape Verde Islands - English / $USD
  • Cayman Islands - English / $USD
  • Central African Republic - English / $USD
  • Democratic Republic of the Congo - English / $USD
  • Democratic Republic of the Congo[3] - English / $USD
  • Cook Islands - English / $USD
  • Cuba - English / $USD
  • England - English / $USD
  • Equatorial Guinea - English / $USD
  • Germany - English / $USD
  • Eritrea - English / $USD
  • Ethiopia - English / $USD
  • Faroe Islands - English / $USD
  • French Polynesia - English / $USD
  • Gibraltar - English / $USD
  • Guatemala - English / $USD
  • Guernsey - English / $USD
  • Guinea-Bissau - English / $USD
  • Honduras - English / $USD
  • Iraq - English / $USD
  • Greece - English / $USD
  • Cote d'Ivoire - English / $USD
  • Japan - English / $USD
  • Jersey - English / $USD
  • Lebanon - English / $USD
  • The Kingdom of Lesotho - English / $USD
  • Libya - English / $USD
  • Liechtenstein - English / $USD
  • New Caledonia - English / $USD
  • New Zealand - English / $USD
  • Nicaragua - English / $USD
  • Greenland - English / $USD
  • Russian Federation - English / $USD
  • Saba - English / $USD
  • São Tomé and Príncipe - English / $USD
  • Scotland - English / $USD
  • Saint Kitts - English / $USD
  • Sint Eustatius - English / $USD
  • Eswatini - English / $USD
  • Tahiti - English / $USD
  • Tuvalu - English / $USD
  • Uganda - English / $USD
  • Guadeloupe - English / $USD
  • Ukraine - English / $USD
  • Union Island - English / $USD
  • United Kingdom of Great Britain and Northern Ireland - English / $USD
  • Venezuela - English / $USD
  • Wales - English / $USD
  • Wallis and Futuna - English / $USD
  • Yemen - English / $USD
  • Zimbabwe - English / $USD
  • Hungary - English / $USD
  • Iceland - English / $USD
  • Italy - English / $USD
  • Kosovo - English / $USD
  • Latvia - English / $USD
  • Albania - English / $USD
  • Lithuania - English / $USD
  • Luxembourg - English / $USD
  • Macedonia - English / $USD
  • Madeira - English / $USD
  • Malta - English / $USD
  • Martinique - English / $USD
  • Mayotte - English / $USD
  • Melilla - English / $USD
  • Moldova - English / $USD
  • Monaco - English / $USD
  • Andorra - English / $USD
  • Montenegro - English / $USD
  • Netherlands - English / $USD
  • Norway - English / $USD
  • Poland - English / $USD
  • Portugal - English / $USD
  • Republic of Ireland - English / $USD
  • Reunion - English / $USD
  • Romania - English / $USD
  • Saint Barthelemy - English / $USD
  • San Marino - English / $USD
  • Aran Islands - English / $USD
  • Serbia - English / $USD
  • Slovakia - English / $USD
  • Slovenia - English / $USD
  • Spain - English / $USD
  • Sweden - English / $USD
  • Switzerland - English / $USD
  • The Czech Republic - English / $USD
  • Turkey - English / $USD
  • Vatican City State - English / $USD
  • Afghanistan - English / $USD
  • Aruba - English / $USD
  • American Samoa - English / $USD
  • Bonaire - English / $USD
  • British Virgin Islands - English / $USD
  • Comoros - English / $USD
  • Curacao - English / $USD
  • Timor-Leste - English / $USD
  • Ecuador - English / $USD
  • El Salvador - English / $USD
  • Guam - English / $USD
  • Kosrae - English / $USD
  • Austria - English / $USD
  • Marshall Islands - English / $USD
  • Federated States of Micronesia - English / $USD
  • Northern Mariana Islands - English / $USD
  • Palau - English / $USD
  • Pohnpei Island - English / $USD
  • Puerto Rico - English / $USD
  • Rota - English / $USD
  • Saipan - English / $USD
  • Santa Cruz - English / $USD
  • Saint John - English / $USD
  • Azores - English / $USD
  • saint martin - English / $USD
  • St. Thomas - English / $USD
  • Tinian Island - English / $USD
  • Tortola Island - English / $USD
  • Truk Islands - English / $USD
  • Turks and Caicos Islands - English / $USD
  • U.S. Virgin Islands - English / $USD
  • United States - English / $USD
  • Virgin Gorda - English / $USD
  • Yap Islands - English / $USD
  • Belgium - English / $USD
  • Algeria - English / $USD
  • Angola - English / $USD
  • Anguilla - English / $USD
  • Argentina - English / $USD
  • Armenia - English / $USD
  • Azerbaijan - English / $USD
  • The Bahamas - English / $USD
  • Bahrain - English / $USD
  • Bangladesh - English / $USD
  • Barbados - English / $USD
Search

Cart

0
Free shipping on orders over US$ 79.8
United States

InfiniBand vs RoCE, How to Choose

Author Leslie

Date 02/20/2025

This article explains what InfiniBand and RoCEv2 are, and analyzes their important parameters and application environments to help you deploy a network suitable for your application.

As two main solutions for implementing RDMA, InfiniBand and RoCE play a key role in high-performance computing and data center networks due to their low latency and high bandwidth. How should we choose between them when building a network? This article will take you to learn in detail about what the two are, their characteristics, and their comparison.

Introduction and Principles of InfiniBand

InfiniBand network achieves low-latency, high-bandwidth data transmission by deploying InfiniBand components, generally including InfiniBand switches, cables, network cards, modules, and subnet managers. It adopts a point-to-point communication model and implements direct data transmission between hosts through direct memory access technology, reducing CPU intervention and data copy traffic overhead. QSFPTEK provides you with InfiniBand modules, which have the characteristics of stable transmission and low power consumption.

InfiniBand Technical Solution Features

InfiniBand network adopts a credit-based flow control mechanism to ensure the reliability and efficiency of data transmission. Before data transmission, the sender will confirm that the receiver has enough buffer to receive the corresponding number of data packets based on the credit limit provided by the receiver. Each link is equipped with a predefined buffer, and the data transmission of the sender is limited by the size of the available buffer of the receiver. After the data transmission is completed, the receiver will release the buffer and feedback on the currently available buffer size to the sender. This link-level flow control mechanism effectively prevents buffer overflow and data packet loss, ensuring the stability and high performance of the network.

In terms of bandwidth, latency and scalability, InfiniBand provides up to 400Gbps bandwidth and end-to-end latency as low as 1.6 microseconds, which can meet the needs of large-scale data transmission and real-time computing. InfiniBand also has strong scalability, supports large-scale clusters, can connect tens of thousands of servers, and is very suitable for ultra-large-scale computing environments.

However, to implement InfiniBand, you need to purchase dedicated InfiniBand network cards switches and other equipment, which are expensive.

Introduction and Principle of RoCEv2

RoCEv2 is an Ethernet-based RDMA protocol that allows remote direct memory access on Ethernet networks. However, unlike InfiniBand, it can provide high-performance RDMA communication based on existing infrastructure. Unlike InfiniBand, which relies on a subnet manager for centralized management, RoCEv2 networks operate as fully distributed networks, usually using a two-tier architecture. QSFPTEK's RoCE switches support both RoCEv1 and RoCEv2, making them compatible with all devices in your network.

RoCEv2 Technical Solution Features

RoCEv2 is characterized by its high versatility and low cost compared to InfiniBand. It can be shared in high-performance RDMA networks and traditional Ethernet networks without the need for additional hardware or network device changes. However, it requires the configuration of parameters such as headroom, PFC, and ECN on the switch, which is somewhat complex. In large-scale deployments, especially with a large number of network cards, its network throughput performance will be somewhat reduced compared to InfiniBand networks.

InfiniBand vs RoCEv2

 

Parameters

InfiniBand

RoCEv2

End-to-end delay

2us

5us

Switch delay

Single hop about 100-150 nanoseconds, three hops about 2.5 microseconds

Single hop about 500 nanoseconds, three hops about 4.6 microseconds

Cost

Only one supplier, high-cost

Many suppliers can provide, low cost

Compatibility

Must use InfiniBand hardware to achieve

Compatible with existing Ethernet hardware

Scale

Can support tens of thousands of servers

Can support thousands of servers

Flow control

Credit flow control mechanism without additional configuration

Parameters such as PFC and ECN need to be configured

Congestion control

Based on the ECN protocol

Based on the ECN protocol

Multi-path routing

Support adaptive routing

Support ECMP random routing, each flow only takes one path

Bandwidth and latency: Compared with RoCEv2, InfiniBand has higher bandwidth and lower latency, which is suitable for application scenarios with extremely high network performance requirements. Although RoCEv2 is slightly inferior, it is sufficient to meet most high-performance computing needs.

Compatibility and cost: InfiniBand hardware is generally expensive. To implement an InfiniBand network, you need to use InfiniBand hardware, so its cost is high. RoCEv2 is compatible with existing Ethernet hardware. You only need to add devices that support RoCEv2, which reduces deployment and maintenance costs. InfiniBand hardware is only produced by one manufacturer, while RoCEv2 hardware is supported by multiple manufacturers.

Scale: InfiniBand supports tens of thousands of servers and is suitable for larger computing environments. RoCEv2 is suitable for small and medium-sized data centers and clusters.

Configuration complexity: RoCEv2 configuration is relatively complex, and the switch needs to be finely configured to ensure its performance and reliability. InfiniBand configuration is relatively simple and easy to manage.

Conclusion

InfiniBand and RoCEv2 have their own advantages, and you need to decide based on your application scenario. InfiniBand is suitable for ultra-large-scale data centers with tens of thousands of servers. It has lower latency and higher bandwidth, and is easy to configure during deployment, but its cost is higher. RoCEv2 is suitable for small and medium-sized data centers with thousands of servers. It has a lower cost, but the configuration is more complicated.

share

Tags

#Wiki
#Data Center
#InfiniBand
#Networking
Contact us