![Chelsio Communications Chelsio T4 Скачать руководство пользователя страница 93](http://html1.mh-extra.com/html/chelsio-communications/chelsio-t4/chelsio-t4_installation-and-user-manual_2595805093.webp)
Chapter VI. WD-UDP
Chelsio T5/T4 Unified Wire for Linux
Page 93
4. Software/Driver Configuration and Fine-tuning
4.1.
Accelerating UDP Socket communications
The
libcxgb4_sock
library is a LD_PRELOAD-able library that accelerates UDP Socket
communications transparently and without recompilation of the user application. This section
describes how to use libcxgb4_sock.
By preloading
libcxgb4_sock
, all sockets created by the application are intercepted and possibly
accelerated based on the user’s configuration. Once accelerated, data for the UDP endpoint are
transmitted or received via HW queues allocated specifically for the accelerated endpoint,
bypassing the kernel, the host networking stack and sockets framework, and enabling ultra-low
latency and high bandwidth utilization.
Due to HW resource limitations, only a small number of queues can be allocated for UDP
acceleration. Therefore only performance critical UDP applications should use
libcxgb4_sock
.
Only 64 IPv4 UDP / 28 IPv6 UDP sockets can be accelerated per Chelsio T5/T4 device,
with
Unified Wire Configuration
tuning option. If you want more sockets to be
accelerated, please use
Low Latency
or
High Capacity WD
tuning option.
4.1.1. Application Requirements
Certain application behavior is not supported by
libcxb4_sock
in this release. If your application
does any of the following, it will not work with
libcxgb4_sock
:
Calling fork() after creating UDP sockets and using the UDP socket in the child process.
Using multiple threads on a single UDP socket without serialization. For instance, having
one thread sending concurrently with another thread receiving. If your application does this,
you need to serialize these paths with a spin or mutex lock.
Only 1 UDP endpoint is allowed to bind to a given port per host. So if you have multiple
processes on the same host binding to the same UDP port number, you cannot use
libcxgb4_sock
.
Applications must have root privileges to use
libcxgb4_sock
.
Applications requiring bonded T5/T4 interfaces are not currently supported.
The performance benefit observed with
libcxgb4_sock
will vary based on your application’s
behavior. While all UDP IO is handled properly, only certain datagrams are accelerated. Non
accelerated IO is handled by
libcxgb4_sock
via the host networking stack seamlessly. Both
Unicast and Multicast datagrams can be accelerated, but the datagrams must meet the
following criteria:
Non fragmented. In other words, they fit in a single IP datagram that is <= the T5/T4 device
MTU.
Содержание Chelsio T4
Страница 1: ......
Страница 12: ...Chapter I Chelsio Unified Wire Chelsio T5 T4 Unified Wire for Linux Page 12 I Chelsio Unified Wire...
Страница 49: ...Chapter II Network NIC TOE Chelsio T5 T4 Unified Wire for Linux Page 49 II Network NIC TOE...
Страница 67: ...Chapter IV iWARP RDMA Chelsio T5 T4 Unified Wire for Linux Page 67 IV iWARP RDMA...
Страница 88: ...Chapter VI WD UDP Chelsio T5 T4 Unified Wire for Linux Page 88 VI WD UDP...
Страница 99: ...Chapter VII iSCSI PDU Offload Target Chelsio T5 T4 Unified Wire for Linux Page 99 VII iSCSI PDU Offload Target...
Страница 137: ...Chapter VIII iSCSI PDU Offload Initiator Chelsio T5 T4 Unified Wire for Linux Page 137 VIII iSCSI PDU Offload Initiator...
Страница 146: ...Chapter IX Data Center Bridging DCB Chelsio T5 T4 Unified Wire for Linux Page 146 IX Data Center Bridging DCB...
Страница 157: ...Chapter X FCoE PDU Offload Target Chelsio T5 T4 Unified Wire for Linux Page 157 X FCoE PDU Offload Target...
Страница 174: ...Chapter XI FCoE Full Offload Initiator Chelsio T5 T4 Unified Wire for Linux Page 174 XI FCoE Full Offload Initiator...
Страница 180: ...Chapter XI FCoE Full Offload Initiator Chelsio T5 T4 Unified Wire for Linux Page 180...
Страница 186: ...Chapter XII Offload Bonding driver Chelsio T5 T4 Unified Wire for Linux Page 186 XII Offload Bonding driver...
Страница 207: ...Chapter XV Offload IPv6 driver Chelsio T5 T4 Unified Wire for Linux Page 207 XV Offload IPv6 driver...
Страница 212: ...Chapter XVI Bypass Driver Chelsio T5 T4 Unified Wire for Linux Page 212 XVI Bypass Driver...
Страница 224: ...Chapter XVII WD Sniffing and Tracing Chelsio T5 T4 Unified Wire for Linux Page 224 XVII WD Sniffing and Tracing...
Страница 248: ...XIX Traffic Management Chelsio T5 T4 Unified Wire for Linux Page 248 XIX Traffic Management...
Страница 260: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 260 XX Unified Wire Manager UM...
Страница 303: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 303 Figure 7 6 2 a Card Summary module...
Страница 311: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 311 Figure 7 6 3 b Managing IP aliases...
Страница 317: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 317 Figure 7 6 3 i TraceRoute Utility...
Страница 329: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 329 Figure 7 6 5 b WD UDP Process Attributes...
Страница 342: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 342 Figure 7 7 2 b Microsoft iSCSI initiator...
Страница 343: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 343 Figure 7 7 2 c Chelsio iSCSI initiator...
Страница 345: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 345 Figure 7 7 2 e Discover targets module...
Страница 355: ...XX Unified Wire Manager UM Chelsio T5 T4 Unified Wire for Linux Page 355 Figure 7 7 4 b Target properties module...
Страница 382: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 382 XXI Unified Boot...
Страница 405: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 405 ix Select Save Changes and press Enter...
Страница 466: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 466 ii Click INSTALLATION DESTINATION under SYSTEM...
Страница 486: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 486 ii Click Installation Destination under SYSTEM...
Страница 487: ...Chapter XXI Unified Boot Chelsio T5 T4 Unified Wire for Linux Page 487 iii Click Add a disk...
Страница 501: ...Chapter XXII Lustre File System Chelsio T5 T4 Unified Wire for Linux Page 501 XXII Lustre File System...
Страница 506: ...Chapter XXIII Appendix Chelsio T5 T4 Unified Wire for Linux Page 506 XXIII Appendix A...