From: Andrey Korolyov <andrey-5vqebrSIFTo@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Cc: "discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org"
<discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org>
Subject: Re: Packet drops during non-exhaustive flood with OVS and 1.8.0
Date: Mon, 2 Feb 2015 14:53:20 +0400 [thread overview]
Message-ID: <CABYiri_q4QqWrhTQL-UZ1wf3FLz-wj9SbtBJrDntz2Bw4cEPoQ@mail.gmail.com> (raw)
In-Reply-To: <CABYiri9WwQMn1u7TbJNEGCs804f_hvP2cKxet2sGMbrx1rJUyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Thu, Jan 22, 2015 at 8:11 PM, Andrey Korolyov <andrey-5vqebrSIFTo@public.gmane.org> wrote:
> On Wed, Jan 21, 2015 at 8:02 PM, Andrey Korolyov <andrey-5vqebrSIFTo@public.gmane.org> wrote:
>> Hello,
>>
>> I observed that the latest OVS with dpdk-1.8.0 and igb_uio starts to
>> drop packets earlier than a regular Linux ixgbe 10G interface, setup
>> follows:
>>
>> receiver/forwarder:
>> - 8 core/2 head system with E5-2603v2, cores 1-3 are given to OVS exclusively
>> - n-dpdk-rxqs=6, rx scattering is not enabled
>> - x520 da
>> - 3.10/3.18 host kernel
>> - during 'legacy mode' testing, queue interrupts are scattered through all cores
>>
>> sender:
>> - 16-core E52630, netmap framework for packet generation
>> - pkt-gen -f tx -i eth2 -s 10.6.9.0-10.6.9.255 -d
>> 10.6.10.0-10.6.10.255 -S 90:e2:ba:84:19:a0 -D 90:e2:ba:85:06:07 -R
>> 11000000, results in 11Mpps 60-byte packet flood, there are constant
>> values during test.
>>
>> OVS contains only single drop rule at the moment:
>> ovs-ofctl add-flow br0 in_port=1,actions=DROP
>>
>> Packet generator was launched for tens of seconds for both Linux stack
>> and OVS+DPDK cases, resulting in zero drop/error count on the
>> interface in first, along with same counter values on pktgen and host
>> interface stat (means that the none of generated packets are
>> unaccounted).
>>
>> I selected rate for about 11M because OVS starts to do packet drop
>> around this value, after same short test interface stat shows
>> following:
>>
>> statistics : {collisions=0, rx_bytes=22003928768,
>> rx_crc_err=0, rx_dropped=0, rx_errors=10694693, rx_frame_err=0,
>> rx_over_err=0, rx_packets=343811387, tx_bytes=0, tx_dropped=0,
>> tx_errors=0, tx_packets=0}
>>
>> pktgen side:
>> Sent 354506080 packets, 60 bytes each, in 32.23 seconds.
>> Speed: 11.00 Mpps Bandwidth: 5.28 Gbps (raw 7.39 Gbps)
>>
>> If rate will be increased up to 13-14Mpps, the relative error/overall
>> ratio will rise up to a one third. So far OVS on dpdk shows perfect
>> results and I do not want to reject this solution due to exhaustive
>> behavior like described one, so I`m open for any suggestions to
>> improve the situation (except using 1.7 branch :) ).
>
> At a glance it looks like there is a problem with pmd threads, as they
> starting to consume about five thousandth of sys% on a dedicated cores
> during flood but in theory they should not. Any ideas for
> debugging/improving this situation are very welcomed!
Over the time from a last message I tried a couple of different
configurations, but packet loss starting to happen as early as at
7-8Mpps. Looks like that the bulk processing which has been in
OVS-DPDK distro is missing from series of patches
(http://openvswitch.org/pipermail/dev/2014-December/049722.html,
http://openvswitch.org/pipermail/dev/2014-December/049723.html).
Before implementing this, I would like to know if there can be any
obvious (not for me unfortunately) clues on this performance issue.
Thanks!
next prev parent reply other threads:[~2015-02-02 10:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-21 17:02 Packet drops during non-exhaustive flood with OVS and 1.8.0 Andrey Korolyov
[not found] ` <CABYiri-qn_HGYeRSxH+z0+LGi0se9NEOk0q9hzFg4R+wg05ABw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-22 17:11 ` Andrey Korolyov
[not found] ` <CABYiri9WwQMn1u7TbJNEGCs804f_hvP2cKxet2sGMbrx1rJUyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-02 10:53 ` Andrey Korolyov [this message]
[not found] ` <CABYiri_q4QqWrhTQL-UZ1wf3FLz-wj9SbtBJrDntz2Bw4cEPoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-03 17:02 ` Traynor, Kevin
[not found] ` <BC0FEEC7D7650749874CEC11314A88F730688B53-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-03 17:21 ` Andrey Korolyov
[not found] ` <CABYiri8qr2v8r_XQO35swWt_OO=WQtW0jO=KAz70f5VojhM6kg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-06 14:43 ` Andrey Korolyov
2015-02-12 15:05 ` Traynor, Kevin
[not found] ` <BC0FEEC7D7650749874CEC11314A88F7306A3D77-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-12 15:15 ` Andrey Korolyov
[not found] ` <CABYiri9b_fZJNg186vHLTWVWsAy9UqBvN32WTi26bO5+o93mPQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-13 10:58 ` Traynor, Kevin
[not found] ` <BC0FEEC7D7650749874CEC11314A88F7306A5B5F-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-16 22:37 ` Andrey Korolyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABYiri_q4QqWrhTQL-UZ1wf3FLz-wj9SbtBJrDntz2Bw4cEPoQ@mail.gmail.com \
--to=andrey-5vqebrsifto@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).