Hi,

Are the packets correctly distributed to different queues? (look at
/proc/interrupts).
RSS which is used to split packets among queues only supports up to 16
queues. Moreover, for the hash function to be effective the packets have to
be different (if you use a pktgen, that might not be the case).

Cheers,

Tom

*Tom Barbette*

2014-12-18 9:33 GMT+01:00 lzh <lhqlzh...@163.com>:
>
>
>
>
> There is a another problem. When we set all 20 irqs to both cpu0 and
> cpu1(echo 3 > "/proc/irq/<rxtx_irq_id>/smp_affinity".‍), the irq all go to
> cpu0.
> We use x86 64bit. so the irq balance is done by apic hardware (setting
> "msi_set_affinity" in linux/arch/x86/kernel/apic/io_apic.c), why it doesn't
> take effect?
>
>
> At 2014-12-18 11:12:40, "lzh" <lhqlzh...@163.com> wrote:
>
> Hi,
>     We are using 82599 intel netcard that using 20 rxtx queues.  We test
> it on cpu E5-2670 which has 20 cpu cores. We bind every queues to each cpu
> by "/proc/irq/<rxtx_irq_id>/smp_affinity".‍
>    First, we test the throughput and find that the rx irq is ‍not
> distributed to all cpu cores. Wd don't know why?
>
>    Seconde, we check the driver of ixgbe, and found three macros as
> follows:
> #define IXGBE_DCA_RXCTRL_CPUID_MASK     0x0000001F /* Rx CPUID Mask */
> #define IXGBE_DCA_RXCTRL_CPUID_MASK_82599       0xFF000000 /* Rx CPUID
> Mask */
> #define IXGBE_DCA_RXCTRL_CPUID_SHIFT_82599      24 /* Rx CPUID Shift */
>     Does it means that 82599 RSS could only return irq to most 8 irq
> queues?
>
>     Any body could help?
>     Thank you.
>
> Best,
> Liu.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> 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
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
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