Difference: NetworkTests (r5 vs. r4)

HADES Network Tests

Network related commands

Driver related

  • Get network card info: hwinfo --netcard
  • List loaded modules: lsmod
  • List all PCI buses and devices: lspci
  • Grep the log for driver related messages: dmesg | grep ixgbe
  • Get driver info: modinfo ixgbe

Exchange driver

  • Unload driver: rmmod ixgbe
  • Copy new driver: cp /home/hadaq/soft/ixgbe-2.0.75.7/src/ixgbe.ko /home/hadaq/drivers/ixgbe-2.1.4/src/ixgbe.ko /lib/modules/2.6.26-2-amd64/kernel/drivers/net/ixgbe/
    • Or compile and install under root: cd /home/hadaq/drivers/ixgbe-2.1.4/src/; make CFLAGS_EXTRA="-DIXGBE_NO_HW_RSC" install
  • Set new dependencies: depmod -a
  • Check if dependencies have changed: ls -ltr /lib/modules/2.6.26-2-amd64/
  • Set immune flag for the driver that even 'root' cannot overwrite the driver: cd /lib/modules/2.6.26-2-amd64/kernel/drivers/net/ixgbe/; chattr +i ixgbe.ko
  • (To remove immune flag use: chattr -i ixgbe.ko)
  • Load driver: modprobe ixgbe MQ=0,0

Statistics

  • Enable flow control on the server: ethtool -A eth3 rx on tx on autoconf on
  • Disable flow control on the server: ethtool -A eth3 rx off tx off autoconf off
  • Statistics at driver level: netstat -s eth3 | grep "packet receive errors"
  • Statistics at driver level: netstat -s eth3 | grep "packet reassembles failed"
  • Statistics at hardware level: ethtool -S eth3 | grep "rx_missed_errors"
    • Indicates the number of frames that were dropped due to the adapter's fifo getting full and over flowing. It seems there are interrupt delivery problems or interrupts are getting lost.
  • Statistics at hardware level: ethtool -S eth3 | grep "rx_no_buffer_count"
    • Indicates that the driver didn't return buffers to the hardware soon enough, but the hardware was able to store the packet (at the time of reception) in the fifo to try again. It seems there are interrupt delivery problems or interrupts are getting lost.
  • Slot settings for the NIC: lspci -v -v -s 07:00.1
  • Processor related statistics: mpstat -P ALL 5

-- SergeyYurevich - 01 Apr 2010

View topic | View difference side by side | History: r7 < r6 < r5 < r4 | More topic actions
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)