I understand your words but the problem must be different. When I caught the traffic I didnt have this problem, moreover the traffic is extremely various
Is it possible that the RSS hash function is different from sniffer and sender? Thanks Maurizio Da: [email protected] [mailto:[email protected]] Per conto di Alfredo Cardigliano Inviato: giovedì 21 agosto 2014 19:06 A: [email protected] Oggetto: Re: [Ntop-misc] Question about tcpdump and queues Hi Maurizio packet distribution happens in hw according to the RSS hash function (based on ip/port), if traffic is distributed on a few queues, it means that your traffic is not well balanced (or probably your pcap file contains a few flows) Best Regards Alfredo On 21 Aug 2014, at 18:04, Maurizio Di Pietro (Esterna) <[email protected]> wrote: I captured traffic by run this command tcpdump I dna0 s0 -n e c 50000 w test.pcap >50000 packets captured >50000 packets received by filter After I tried to send traffic in another machine by run this command pfsend r 5 n0 i dna0 f test.pcap The result is that the received NIC loses packets because the traffic is distributed just on 4 queues ethtool -S eth2 alloc_rx_page_failed: 0 alloc_rx_buff_failed: 0 rx_no_dma_resources: 28895105 os2bmc_rx_by_bmc: 0 os2bmc_tx_by_bmc: 0 rx_queue_0_packets: 106727638 rx_queue_0_bytes: 83217647970 rx_queue_1_packets: 0 rx_queue_1_bytes: 0 rx_queue_2_packets: 0 rx_queue_2_bytes: 0 rx_queue_3_packets: 0 rx_queue_3_bytes: 0 rx_queue_4_packets: 79651859 rx_queue_4_bytes: 76927976604 rx_queue_5_packets: 0 rx_queue_5_bytes: 0 rx_queue_6_packets: 0 rx_queue_6_bytes: 0 rx_queue_7_packets: 0 rx_queue_7_bytes: 0 rx_queue_8_packets: 118625400 rx_queue_8_bytes: 112228162938 rx_queue_9_packets: 0 rx_queue_9_bytes: 0 rx_queue_10_packets: 0 rx_queue_10_bytes: 0 rx_queue_11_packets: 0 rx_queue_11_bytes: 0 rx_queue_12_packets: 121421574 rx_queue_12_bytes: 97252390269 rx_queue_13_packets: 0 rx_queue_13_bytes: 0 rx_queue_14_packets: 0 rx_queue_14_bytes: 0 rx_queue_15_packets: 0 rx_queue_15_bytes: 0 rx_queue_16_packets: 0 rx_queue_16_bytes: 0 rx_queue_17_packets: 0 rx_queue_17_bytes: 0 rx_queue_18_packets: 0 rx_queue_18_bytes: 0 rx_queue_19_packets: 0 rx_queue_19_bytes: 0 rx_queue_20_packets: 0 rx_queue_20_bytes: 0 rx_queue_21_packets: 0 cat /proc/interrupts | tr -s " " | grep eth2 299: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 5205737 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-0 300: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-1 301: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-2 302: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-3 303: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 5584659 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-4 304: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4933864 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-12 312: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-13 313: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-14 314: 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge eth2-TxRx-15 What is the problem? Did I wrong the tcpdump or pfsend configuration? I want specify that I havent the DNA license, I worked in demo mode I received traffic with the original ixgb driver not whit DNA driver Thanks _______________________________________________ Ntop-misc mailing list <mailto:[email protected]> [email protected] <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
