On Wed, 2005-12-14 at 19:38 +0100, Aritz Bastida wrote: > Thank you for your email. But could you tell me what RFC specifically? > Is it RFC1284? The counters I am looking for are: >
These are custom counters not from any RFCs. > dma_writeq_full DMA write queue full - meaning host is not recycling rx buffers fast enough. > rx_threshold_hit Rx max coalescing frames threshold hit. > ring_status_update Status block update. > > I have a dual AMD Opteron 1800MHz, which will be capturing all the > traffic in a Gigabit Ethernet segment, and analyzing the packets it > captures. It's a kind of IDS which must work under heavy network > loads. I am testing the maximum speed it can receive packets (it has > got a Broadcom Tulip3 NIC: BCM5704). For that purpose, I use another > machine to inject the packets. I do that with the "pktgen" module. > > Here are the results for a sample test: > Injection machine (Dual Pentium III 866MHz): > * Number of packets: 21134488 > * Packet size: 100 bytes > * Speed: 341242pps 272Mb/sec > > Receive machine (Dual AMD Opteron 1800MHz ): > (There are no processes running in this machine, specifically the packet > analysis is stopped) > * rx_ucast_packets: 21134816 > * rx_65_to_127_octet_packets: 21134597 > * dma_writeq_full: 12919200 > * rx_discards: 12947380 > * rx_threshold_hit: 1549692 > * ring_status_update: 1677648 > What bus is the NIC in? PCI or PCIX? What speed? You may want to play around with the rx ring sizes and rx coalescing parameters, all can be changed with ethtool. Also, be sure to use the latest tg3 driver which is 3.45. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html