Chelsio T520 T4201启用TOE

cd ChelsioUwire-3.9.0.0

make toe_install

rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb

modprobe t4_tom

cat /sys/kernel/debug/cxgb4/0000\:01\:00.4/tids

 

#使用BUSY_POLL

CONFIG_NET_RX_BUSY_POLL=y

sysctl -w net.core.busy_read=<value>

sysctl -w net.core.busy_poll=<value>

#检测

t4_perftune.sh

sysctl -w toe.toe0_tom.delayed_ack=3

sysctl -w net.ipv4.tcp_timestamps=0

sysctl -w net.core.netdev_max_backlog=250000

sysctl -w net.core.rmem_max=4194304

sysctl -w net.core.wmem_max=4194304

sysctl -w net.ipv4.tcp_rmem="4096 1048576 4194304"

sysctl -w net.ipv4.tcpwmem="4096 1048576 41943"

 

posted @ 2019-06-21 08:45  聂忠乐  阅读(349)  评论(0编辑  收藏  举报