
Chapter II. Network (NIC/TOE)
Chelsio Unified Wire for Linux
57
the ability for the socket layer code to poll directly on an Ethernet device's Rx queue. This
eliminates the cost of interrupts and context switching, and with proper tuning allows to achieve
latency performance similar to that of hardware.
Chelsio's NIC and TOE drivers support this feature and can be enabled on Chelsio supported
devices to attain improved latency.
To make use of BUSY_POLL feature, follow the steps mentioned below:
i. Enable BUSY_POLL support in kernel config file by setting
CONFIG_NET_RX_BUSY_POLL=y
ii. Enable BUSY_POLL globally in the system by setting the values of following sysctl
parameters depending on the number of connections:
sysctl -w net.core.busy_read=<value>
sysctl -w net.core.busy_poll=<value>
Set the values of the above parameters to 50 for 100 or less connections; and 100 for more
than 100 connections.
4.3.
Precision Time Protocol (PTP)
Precision Time Protocol (PTP) standard defines a protocol for precise synchronization of clock
between master and slave devices in a local area network. It can provide timing accuracies in
nanosecond units. The protocol is based on time stamping and measuring the send and receive
times. Most of the implementation relies on time stamping of the packets in the software which
reduces the accuracy of the time measured. One possible solution to this problem is time
stamping the packet in the NIC hardware itself.
Chelsio’s Terminator hardware provides many features to support PTP implementations:
•
High precision timers which can be read through PIO registers.
•
Wall clock time based on the time of the day.
•
Time stamping of selected PTP packets on both ingress and egress direction.
Synchronizing Clocks
ptp4l
tool (installed during Unified Wire installation) is used to synchronise clocks:
BUSY_POLL can also be enabled on a per-connection basis by making use of
SO_BUSY_POLL option in the socket application code. Refer socket man-page for
more details.
Note
This feature is currently supported on RHEL 7.5, RHEL 7.4, SLES 12 SP3 and
kernels 4.14 and 4.9.105.
Important
Содержание Terminator 6
Страница 1: ...Chelsio Unified Wire for Linux i...
Страница 15: ...Chapter I Chelsio Unified Wire Chelsio Unified Wire for Linux 15 I Chelsio Unified Wire...
Страница 51: ...Chapter II Network NIC TOE Chelsio Unified Wire for Linux 51 II Network NIC TOE...
Страница 70: ...Chapter III Virtual Function Network vNIC Chelsio Unified Wire for Linux 70 III Virtual Function Network vNIC...
Страница 82: ...Chapter IV iWARP RDMA Chelsio Unified Wire for Linux 82 IV iWARP RDMA...
Страница 99: ...Chapter V iSER Chelsio Unified Wire for Linux 99 V iSER...
Страница 107: ...Chapter VI WD UDP Chelsio Unified Wire for Linux 107 VI WD UDP...
Страница 119: ...Chapter VII WD TOE Chelsio Unified Wire for Linux 119 VII WD TOE...
Страница 125: ...Chapter VIII NVMe oF Chelsio Unified Wire for Linux 125 VIII NVMe oF...
Страница 135: ...Chapter IX LIO iSCSI Target Offload Chelsio Unified Wire for Linux 135 IX LIO iSCSI Target Offload...
Страница 148: ...Chapter X iSCSI PDU Offload Target Chelsio Unified Wire for Linux 148 X iSCSI PDU Offload Target...
Страница 187: ...Chapter XI iSCSI PDU Offload Initiator Chelsio Unified Wire for Linux 187 XI iSCSI PDU Offload Initiator...
Страница 198: ...Chapter XII Crypto Offload Chelsio Unified Wire for Linux 198 XII Crypto Offload...
Страница 211: ...Chapter XIII Data Center Bridging DCB Chelsio Unified Wire for Linux 211 XIII Data Center Bridging DCB...
Страница 223: ...Chapter XIV FCoE Full Offload Initiator Chelsio Unified Wire for Linux 223 XIV FCoE Full Offload Initiator...
Страница 230: ...Chapter XIV FCoE Full Offload Initiator Chelsio Unified Wire for Linux 230...
Страница 235: ...Chapter XV Offload Bonding Chelsio Unified Wire for Linux 235 XV Offload Bonding...
Страница 258: ...Chapter XVIII Offload IPv6 Chelsio Unified Wire for Linux 258 XVIII Offload IPv6...
Страница 265: ...Chapter XIX WD Sniffing and Tracing Chelsio Unified Wire for Linux 265 XIX WD Sniffing and Tracing...
Страница 272: ...Chapter XX Classification and Filtering Chelsio Unified Wire for Linux 272 XX Classification and Filtering...
Страница 297: ...Chapter XXI OVS Kernel Datapath Offload Chelsio Unified Wire for Linux 297 XXI OVS Kernel Datapath Offload...
Страница 311: ...Chapter XXII Ring Backbone Chelsio Unified Wire for Linux 311 XXII Ring Backbone...
Страница 317: ...Chapter XXIII Traffic Management Chelsio Unified Wire for Linux 317 XXIII Traffic Management...
Страница 329: ...Chapter XXIV DPDK Driver Chelsio Unified Wire for Linux 329 XXIV DPDK Driver...
Страница 347: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 347 XXV Unified Boot...
Страница 357: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 357 iv Boot to EFI Shell...
Страница 427: ...Chapter XXVI Appendix A Chelsio Unified Wire for Linux 427 XXVI Appendix A...