[Oisf-users] (no subject)

Peter Manev petermanev at gmail.com
Thu Mar 27 14:22:21 UTC 2014


On Thu, Mar 27, 2014 at 3:18 PM, Travel Factory S.r.l. <mc8647 at mclink.it> wrote:
>
>> Did you run the cpu affinity script for the NIC driver?
>
>
> Yes, the interrupts for the lan card shows a diagonal
>
>
>> What is the output of - modinfo ixgbe ?
>
>
> paste below
>
>> Is irqbalance off ?
>
>
> I disabled it but at reboot I found it running. killed manually.
>
>
>> How many threads are you starting in AF_PACKET?
>
>
> 16
>
>
>> Is all offloading disabled on the NIC?
>
>
> Everything I could disable, I disabled !
> # ethtool -k eth7
> Features for eth7:
> rx-checksumming: off
> tx-checksumming: off
>         tx-checksum-ipv4: off
>         tx-checksum-ip-generic: off [fixed]
>         tx-checksum-ipv6: off
>         tx-checksum-fcoe-crc: on [fixed]
>         tx-checksum-sctp: off
> scatter-gather: off
>         tx-scatter-gather: off
>         tx-scatter-gather-fraglist: off [fixed]
> tcp-segmentation-offload: off
>         tx-tcp-segmentation: off
>         tx-tcp-ecn-segmentation: off [fixed]
>         tx-tcp6-segmentation: off
> udp-fragmentation-offload: off [fixed]
> generic-segmentation-offload: off
> generic-receive-offload: off
> large-receive-offload: off
> rx-vlan-offload: off
> tx-vlan-offload: off
> ntuple-filters: off
> receive-hashing: on
>
> highdma: on [fixed]
> rx-vlan-filter: on [fixed]
> vlan-challenged: off [fixed]
> tx-lockless: off [fixed]
> netns-local: off [fixed]
> tx-gso-robust: off [fixed]
> tx-fcoe-segmentation: on [fixed]
> tx-gre-segmentation: off [fixed]
> tx-ipip-segmentation: off [fixed]
> tx-sit-segmentation: off [fixed]
> tx-udp_tnl-segmentation: off [fixed]
> tx-mpls-segmentation: off [fixed]
> fcoe-mtu: off [fixed]
> tx-nocache-copy: on
> loopback: off [fixed]
> rx-fcs: off [fixed]
> rx-all: off [fixed]
> tx-vlan-stag-hw-insert: off [fixed]
> rx-vlan-stag-hw-parse: off [fixed]
> rx-vlan-stag-filter: off [fixed]
> l2-fwd-offload: off [fixed]
>
>
> This is the script I use to setup the lan card:
> ifconfig eth7 down
> rmmod ixgbe
> modprobe ixgbe FdirPballoc=3
> ifconfig eth7 up
> # ifconfig eth7 mtu 9000
> ethtool -L eth7 combined 63
> ethtool -N eth7 rx-flow-hash udp4 sdfn
> ethtool -G eth7 rx 4096
>
> ethtool -K eth7 tso off
> ethtool -K eth7 gro off
> ethtool -K eth7 lro off
> ethtool -K eth7 gso off
> ethtool -K eth7 rx off
> ethtool -K eth7 tx off
> ethtool -K eth7 sg off
> ethtool -K eth7 rxvlan off
> ethtool -K eth7 txvlan off
> ethtool -K eth7 rx-vlan-filter off
>
> ethtool -N eth7 rx-flow-hash udp4 sdfn
> ethtool -N eth7 rx-flow-hash udp6 sdfn
> ethtool -n eth7 rx-flow-hash udp6
> ethtool -n eth7 rx-flow-hash udp4
> ethtool -C eth7 rx-usecs 1000
> ethtool -C eth7 adaptive-rx off
>
> Someone also suggested to set InterruptThrottleRate, I didn't try yet.
>
>
> # modinfo ixgbe
> filename:
> /lib/modules/3.13.6-031306-generic/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
> version:        3.18.7
> license:        GPL
> description:    Intel(R) 10 Gigabit PCI Express Network Driver
> author:         Intel Corporation, <linux.nics at intel.com>
> srcversion:     B03433222E04D753B357EFB
> alias:          pci:v00008086d00001560sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001558sv*sd*bc*sc*i*
> alias:          pci:v00008086d0000154Asv*sd*bc*sc*i*
> alias:          pci:v00008086d00001557sv*sd*bc*sc*i*
> alias:          pci:v00008086d0000154Fsv*sd*bc*sc*i*
> alias:          pci:v00008086d0000154Dsv*sd*bc*sc*i*
> alias:          pci:v00008086d00001528sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010F8sv*sd*bc*sc*i*
> alias:          pci:v00008086d0000151Csv*sd*bc*sc*i*
> alias:          pci:v00008086d00001529sv*sd*bc*sc*i*
> alias:          pci:v00008086d0000152Asv*sd*bc*sc*i*
> alias:          pci:v00008086d000010F9sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001514sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001507sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010FBsv*sd*bc*sc*i*
> alias:          pci:v00008086d00001517sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010FCsv*sd*bc*sc*i*
> alias:          pci:v00008086d000010F7sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001508sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010DBsv*sd*bc*sc*i*
> alias:          pci:v00008086d000010F4sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010E1sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010F1sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010ECsv*sd*bc*sc*i*
> alias:          pci:v00008086d000010DDsv*sd*bc*sc*i*
> alias:          pci:v00008086d0000150Bsv*sd*bc*sc*i*
> alias:          pci:v00008086d000010C8sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010C7sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010C6sv*sd*bc*sc*i*
> alias:          pci:v00008086d000010B6sv*sd*bc*sc*i*
> depends:        dca
> vermagic:       3.13.6-031306-generic SMP mod_unload modversions
> parm:           InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI,
> 2=MSI-X), default IntMode (deprecated) (array of int)
> parm:           IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X),
> default 2 (array of int)
> parm:           MQ:Disable or enable Multiple Queues, default 1 (array of
> int)
> parm:           DCA:Disable or enable Direct Cache Access, 0=disabled,
> 1=descriptor only, 2=descriptor and data (array of int)
> parm:           RSS:Number of Receive-Side Scaling Descriptor Queues,
> default 0=number of cpus (array of int)
> parm:           VMDQ:Number of Virtual Machine Device Queues: 0/1 = disable,
> 2-16 enable (default=8) (array of int)
> parm:           max_vfs:Number of Virtual Functions: 0 = disable (default),
> 1-63 = enable this many VFs (array of int)
> parm:           L2LBen:L2 Loopback Enable: 0 = disable, 1 = enable (default)
> (array of int)
> parm:           InterruptThrottleRate:Maximum interrupts per second, per
> vector, (0,1,956-488281), default 1 (array of int)
> parm:           LLIPort:Low Latency Interrupt TCP Port (0-65535) (array of
> int)
> parm:           LLIPush:Low Latency Interrupt on TCP Push flag (0,1) (array
> of int)
> parm:           LLISize:Low Latency Interrupt on Packet Size (0-1500) (array
> of int)
> parm:           LLIEType:Low Latency Interrupt Ethernet Protocol Type (array
> of int)
> parm:           LLIVLANP:Low Latency Interrupt on VLAN priority threshold
> (array of int)
> parm:           FdirPballoc:Flow Director packet buffer allocation level:
>                         1 = 8k hash filters or 2k perfect filters
>                         2 = 16k hash filters or 4k perfect filters
>                         3 = 32k hash filters or 8k perfect filters (array of
> int)
> parm:           AtrSampleRate:Software ATR Tx packet sample rate (array of
> int)
> parm:           FCoE:Disable or enable FCoE Offload, default 1 (array of
> int)
> parm:           LRO:Large Receive Offload (0,1), default 1 = on (array of
> int)
> parm:           allow_unsupported_sfp:Allow unsupported and untested SFP+
> modules on 82599 based adapters, default 0 = Disable (array of int)
>
>



What does the last run in stats.log say?


-- 
Regards,
Peter Manev



More information about the Oisf-users mailing list