ܼ

TSO(TCP Segmentation Offload)ȤϡTCP̿κݤ˥ʬ䥿νCPUNIC˰ܴɤ뵻ѤΤȤǤ롣ŪˤTSOˤTCP̿νCPUNICʬCPUνNIC˸ꤵ뤳Ȥˤ⤤CPU꥽ͭѤ褦ȤͤǤ롣
ʤ顢ĶˤäƤϤεǽˤ̿䥤󥿡ե˲٤äݤ̿ڤ롢ѥåȥȯʤɤԶ礬ȯǽ뤿ᡢʲμˤ̵롣

֤γǧˡ

ethtoolѤ֤ǧ롣~

  • γǧ
    ethtool -k eth0
  • Ϸ
    Offload parameters for eth0:
    rx-checksumming: on
    tx-checksumming: on
    scatter-gather: off
    tcp-segmentation-offload: off
    udp-fragmentation-offload: off
    generic-segmentation-offload: on
    generic-receive-offload: off
    large-receive-offload: on

嵭⡢ʲιܤTSOϢιܤȤʤ롣餬onξTSOưƤ롣

rx-checksumming: on
tx-checksumming: on
tcp-segmentation-offload: on

ѹ

ethtoolѤ̵롣
ˡϰΤᡢŪ̵ˤϸҤμԤɬפ롣

  • ѹ
    ethtool -K eth0 rx off tx off tso off
  • ѹ̳ǧ
    ethtool -k eth0

̵꤬ŬѤ줿ϰʲɽȤʤ

rx-checksumming: off
tx-checksumming: off
tcp-segmentation-offload: off

ѹʹס

̵ݻ뤿ˤϡưethtoolưѹԤɬפ롣
󥿡եե/etc/sysconfig/network-scripts/ifcfg-eth[n]ˤETHTOOL_OPTSˤethtoolΥץꤹ뤳ȤǤ뤬TSOϢϤΥץǤǤʤ
Τᡢ/etc/rc.d/rc.localʤɤethtool¹ԤԤư˼¹Ԥ롣

  • /etc/rc.d/rc.localɵ
    /sbin/ethtool -K eth0 rx off tx off tso off

  • Cannot set device tcp segmentation offload settings: Invalid argument
    Υ顼ϥ󥿡եTSO򥵥ݡȤƤʤȯ롣
    Υårx txˤϥݡȤƤƤ⡢TSO򥵥ݡȤƤʤ⤢롣

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2012-09-10 () 00:34:33 (1836d)