>-----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 ------------------------------------------------------------------------------ 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® Ethernet, visit http://communities.intel.com/community/wired