Showing revision 15
ethercat优化指南
- 对于中断号每次开机都变化情况使用下面代码获取中断号
- IRQ_LIST_ENP2S0=$(cat /proc/interrupts | grep enp2s0 | awk '{print $1}' | sed 's/://')
- for irq in $IRQ_LIST_ENP2S0; do
- echo 8 > /proc/irq/$irq/smp_affinity
- done
- ethtool -C eno1 rx-usecs 0
- ethtool -C eno1 tx-usecs 0
- ethtool --set-eee eno1 eee off