User Tools

Site Tools


100g_tuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
100g_tuning [2023/07/27 22:05]
root
100g_tuning [2023/07/28 17:15] (current)
root
Line 69: Line 69:
 ==BBR== ==BBR==
  
-Enable TCP/BBR congestion control. See BBR and Redhat-3 above.+Enable TCP/BBR congestion control. See BBR and Redhat-3 above.  
 + 
 +echo "net.ipv4.tcp_congestion_control = bbr" >> /etc/sysctl.conf
  
 ==Stanford== ==Stanford==
  
 <code> <code>
 +
 firewall-cmd --zone=public --add-port=61617/tcp --permanent firewall-cmd --zone=public --add-port=61617/tcp --permanent
 firewall-cmd --zone=public --add-port=8090/tcp --permanent firewall-cmd --zone=public --add-port=8090/tcp --permanent
Line 159: Line 162:
 echo 2 > /proc/irq/182/smp_affinity echo 2 > /proc/irq/182/smp_affinity
 echo 4 > /proc/irq/183/smp_affinity echo 4 > /proc/irq/183/smp_affinity
 +</code>
 +
 +
 +==ethtool==
 +from vm host
 +<code>
 +[root@fiona ~]# ethtool -k ens4np0
 +Features for ens4np0:
 +rx-checksumming: on
 +tx-checksumming: on
 + tx-checksum-ipv4: off [fixed]
 + tx-checksum-ip-generic: on
 + tx-checksum-ipv6: off [fixed]
 + tx-checksum-fcoe-crc: off [fixed]
 + tx-checksum-sctp: off [fixed]
 +scatter-gather: on
 + tx-scatter-gather: on
 + tx-scatter-gather-fraglist: off [fixed]
 +tcp-segmentation-offload: on
 + tx-tcp-segmentation: on
 + tx-tcp-ecn-segmentation: off [fixed]
 + tx-tcp-mangleid-segmentation: off
 + tx-tcp6-segmentation: on
 +generic-segmentation-offload: on
 +generic-receive-offload: on
 +large-receive-offload: off [fixed]
 +rx-vlan-offload: on
 +tx-vlan-offload: on
 +ntuple-filters: off
 +receive-hashing: on
 +highdma: on [fixed]
 +rx-vlan-filter: on
 +vlan-challenged: off [fixed]
 +tx-lockless: off [fixed]
 +netns-local: off [fixed]
 +tx-gso-robust: off [fixed]
 +tx-fcoe-segmentation: off [fixed]
 +tx-gre-segmentation: on
 +tx-gre-csum-segmentation: on
 +tx-ipxip4-segmentation: on
 +tx-ipxip6-segmentation: on
 +tx-udp_tnl-segmentation: on
 +tx-udp_tnl-csum-segmentation: on
 +tx-gso-partial: on
 +tx-tunnel-remcsum-segmentation: off [fixed]
 +tx-sctp-segmentation: off [fixed]
 +tx-esp-segmentation: off [fixed]
 +tx-udp-segmentation: on
 +tx-gso-list: off [fixed]
 +rx-udp-gro-forwarding: off
 +rx-gro-list: off
 +tls-hw-rx-offload: off [fixed]
 +fcoe-mtu: off [fixed]
 +tx-nocache-copy: off
 +loopback: off [fixed]
 +rx-fcs: off
 +rx-all: off
 +tx-vlan-stag-hw-insert: on
 +rx-vlan-stag-hw-parse: off [fixed]
 +rx-vlan-stag-filter: on [fixed]
 +l2-fwd-offload: off [fixed]
 +hw-tc-offload: off
 +esp-hw-offload: off [fixed]
 +esp-tx-csum-hw-offload: off [fixed]
 +rx-udp_tunnel-port-offload: on
 +tls-hw-tx-offload: off [fixed]
 +rx-gro-hw: off [fixed]
 +tls-hw-record: off [fixed]
 </code> </code>
100g_tuning.1690495554.txt.gz · Last modified: 2023/07/27 22:05 by root