Hi there
Thanks for the reply.
I'm using the script and binding queue per cpu. For RX this situation is
great.
The problem is with TX.

I'm working on a firewall machine and the inbound packets are sometimes
handled and transmitted from other CPUs that are not in the RX range.
For example inbound RX packet on rx_queue 0 on CPU 0 is processed on CPU 20
which is sent on tx_queue 20.
Another example is xmit on CPU 65, which is sent to tx_queue 1 (i think)
because max TX queues for ixgbe is 64.



On Wed, Jan 7, 2015 at 10:48 PM, Tantilov, Emil S <emil.s.tanti...@intel.com
> wrote:

> >-----Original Message-----
> >From: Tal Abudi [mailto:talab...@gmail.com]
> >Sent: Wednesday, January 07, 2015 4:40 AM
> >To: e1000-devel@lists.sourceforge.net
> >Subject: [E1000-devel] Question - Adding per
> >CPU counters for Multi Queue
> >
> >Hi
> >I'm using ixgbe 3.9.15 and I want to add packets/bytes per cpu counters to
> >/sys/net / ethtool -S / /proc
> >
> >Using ethtool statistics I can see each queue packet and bytes counters
> >(for RX and TX) but I can't attribute each queue to the handling CPU.
>
> You can tell which CPU is processing the packets by looking at
> /proc/interrupts. You can also control the affinity of the interrupts via
> /proc/irq/$IRQ/smp_affinity. There is a script included with the driver
> from SF that will map the queues 1:1 to the CPUs and if you have Flow
> Director enabled it will also receive the packets on the same queue that
> transmitted them.
>
> Thanks,
> Emil
>
>


-- 
Best regards,
Tal Abudi
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to