
Chapter V. WD-UDP
Chelsio T5/T4 Unified Wire For Linux Page 88
4.1.3. Running WD-UDP in debug mode
To use libcxgb4_sock’s debug capabilities, use the libcxgb4_sock_debug library provided in the
package. Follow the steps mentioned below:
i. Make the following entry in the /etc/syslog.conf file:
*.debug /var/log/cxgb4.log
ii. Restart the service:
[root@host]# /etc/init.d/syslog restart
iii. Finally, preload libcxgb4_sock_debug using the command mentioned below when starting
your application:
root@host]# LD_PRELOAD=libcxgb4_sock_debug.so CXGB4_SOCK_DEBUG=-1
<pathto>/your_application
4.1.4. Running WD-UDP with larger I/O size
If the I/O size is > 3988, execute the commands mentioned below:
[root@host]# echo 1024 > /proc/sys/vm/nr_hugepages
[root@host]# CXGB4_SOCK_HUGE_PAGES=1 PROT=UDP wdload
<pathto>/your_application
4.1.5. Example with hpcbench/udp
The udp benchmark from the hpcbench suite can be used to show the benefits of
libcxgb4_sock. The hpcbench suite can be found at:
Source: http://hpcbench.sourceforge.net/index.html
Sample: http://hpcbench.sourceforge.net/udp.html
The nodes in this example, r9 and r10, have T5/T4 eth1 configured and the ports are connected
point-to-point.
Comentários a estes Manuais