Pcap worksheet: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  $ sysctl net.core.wmem_default; sysctl net.core.rmem_default  
  $ 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
  $ sysctl net.core.optmem_max $ echo "net.core.netdev_max_backlog=1024" >>  /etc/sysctl.conf
[http://jonschipp.com/talks/pcapworksheet.txt]

Latest revision as of 17:39, 12 November 2013


$ 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

[1]