linux2.6.18 默认tso的支持是打开的 只要你的网卡如intel e1000 支持而且打开的话
root@xxxx:/# ethtool -k eth1
Offload parameters for eth1:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
这样大的包tcp就不自己拆封了 而是交给网卡代劳 省点cpu时间。
在详细研究这一过程。
root@xxxx:/# ethtool -k eth1
Offload parameters for eth1:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
这样大的包tcp就不自己拆封了 而是交给网卡代劳 省点cpu时间。
在详细研究这一过程。
本文介绍了 Linux 2.6.18 内核下 TCP 分段卸载 (TSO) 的支持情况。通过 ethtool 命令展示了网卡 offload 参数设置,并解释了如何利用网卡进行 TCP 分段卸载以节省 CPU 资源。
8397

被折叠的 条评论
为什么被折叠?



