Pcap worksheet

From VoIPmonitor.org
Revision as of 18:37, 12 November 2013 by Festr (talk | contribs)
Jump to navigation Jump to search


$ ethtool -S eth0 // Statistics $ ethtool -S eth0 | egrep '(rx_missed|no_buffer)'    // Drop Values   $ ethtool -g eth0 ; ethtool -G eth0 rx 4096 tx 4096 // FIFO RX Descriptors $ ethtool -k eth0 ; ethtool -K gro on gso on rx on // Offloading $ ethtool -a eth0 ; ethtool -A rx off autoneg off // Pause Frames $ ethtool -c eth0 ; ethtool -C eth0 rx-usecs 100 // Interrupt Coalescence 
$ cat /proc/net/softnet_stats; printf "%d" 0xffff //Backlog Queue Stat $ echo "1" > /proc/sys/net/core/bpf_jit_enable $ sysctl net.core.netdev_max_backlog; sysctl -w net.core.netdev_max_backlog=3000 $ sysctl net.core.wmem_max; sysctl net.core.rmem_max $ sysctl net.core.wmem_default; sysctl net.core.rmem_default $ sysctl net.core.optmem_max $ echo "net.core.netdev_max_backlog=1024" >>  /etc/sysctl.conf