Mark,

Thanks!

Test app can specify how many pthread to handle connections. I have tried
4, 8, 16, etc, but none of them make significant difference. CPU usage on
receive end is moderate (50-60%). If I want to poll aggressively to prevent
any drop in UDP layer, then it might go up a bit. On the CPU set that
handle network interrupts, I did pin those CPUs, I can see interrupt rate
is pretty even on all CPUs involved.

Since seeing a lot of rx_no_dma_resource and this counter is read out
through 82599 controller, I like to know why it happened. Note: I already
bumped rx ring size to maximum (4096) I can set in ethtool.

BTW, what is ATR? I didn't set up any filter...


Hank

On Wed, Sep 7, 2016 at 2:19 PM, Rustad, Mark D <mark.d.rus...@intel.com>
wrote:

> Hank Liu <hank.tz...@gmail.com> wrote:
>
> *From:* Hank Liu [mailto:hank.tz...@gmail.com]
>>> *Sent:* Wednesday, September 07, 2016 10:20 AM
>>> *To:* Skidmore, Donald C <donald.c.skidm...@intel.com>
>>> *Cc:* e1000-devel@lists.sourceforge.net
>>> *Subject:* Re: [E1000-devel] Intel 82599 AXX10GBNIAIOM cards for 10G SFPs
>>> UDP performance issue
>>>
>>>
>>>
>>> Thanks for quick response and helping. I guess I didn't make it clear is
>>> that the application (receiver, sender) open 240 connections each
>>> connection has 34 Mbps traffic.
>>>
>>
> You say that there are 240 connections, but how many threads is your app
> using? One per connection? What does the cpu utilization look like on the
> receiving end?
>
> Also, the current ATR implementation does not support UDP, so you are
> probably better off not pinning the app threads at all and trusting that
> the scheduler will migrate them to the cpu that is getting their packets
> via RSS. You should still set the affinity of the interrupts in that case.
> The default number of queues should be fine.
>
> --
> Mark Rustad, Networking Division, Intel Corporation
>
------------------------------------------------------------------------------
_______________________________________________
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