DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stefan Binna <stefan.binna@salzburgresearch.at>
To: Declan Doherty <declan.doherty@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "Thomas Pfeiffenberger"
	<thomas.pfeiffenberger@salzburgresearch.at>,
	"Ferdinand Tüllenburg"
	<ferdinand.tuellenburg@salzburgresearch.at>
Subject: Re: [dpdk-dev] Fast Failover Test Results
Date: Wed, 2 Sep 2015 09:23:42 +0200	[thread overview]
Message-ID: <55E6A3FE.9090408@salzburgresearch.at> (raw)
In-Reply-To: <55E5CC53.90708@intel.com>

Am 01.09.2015 um 18:03 schrieb Declan Doherty:
>
>
> On 01/09/15 14:31, Stefan Binna wrote:
>> Hi @all,
>>
>> I've conducted some fast failover tests on a SDN infrastructure, whereby
>> following three configurations were used for the device under test 
>> (DUT):
>>
>> - Intel 82574L with default driver e1000e
>> - Intel 82574L with DPDK
>> - Realtek RTL8111/8168/8411 PCI Express with default driver r8169
>>
>> There were two paths connected to the DUT, e.g. Path 1 and Path 2.
>> So by default Path 1 had been used. When Path 1 was disconnected, the
>> time it took to switch to Path 2 had been measured by counting the lost
>> packets.
>> Several tests have been conducted and the median calculated.
>>
>> Terminology:
>>
>> Median FF: Median fast failover time / ms
>> Median LP: Median lost packets / packet(s)
>>
>>                       Median FF   Median LP
>>
>> DPDK            1700            3363
>> Intel              350              690
>> Realtek         350              695
>>
>> Anyone an idea why DPDK is so "slow"?
>>
>> Best regards,
>>     Stefan.
>
> Hey Stefan,
>
> A couple of questions regarding your setup which will hopefully help 
> me figure out what the issue is.
>
> - Are you just running in active backup mode or are you using  one of 
> the other bonding modes.
> - What is down stream of the DUT, is it a switch or are you just 
> directly connected to another system?
>
> I'm not sure if the 82574L has LSC interrupt support in DPDK, I'll 
> check that out, but if it doesn't the PMD need will be polling the 
> link status which could be slowing down detection of the link going 
> down and the fail over to the over port.
>
> Declan
>
>

Hi Declan,

regarding your first question I think that I use the active backup mode, 
but I didn't define anything special.

What I did was starting OpenvSwitch with DPDK using following command(s):

# Start OVS with DPDK portion using 2GB of node 0 memory
./ovs/vswitchd/ovs-vswitchd --dpdk -c 0xf -n 4 --socket-mem 2048,0 -- unix:/usr/local/var/run/openvswitch/db.sock --pidfile --detach

Afterwards I added the interfaces which have been bound to the igb_uio 
driver as "dpdk interfaces":

./ovs/utilities/ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
sleep 0.5
./ovs/utilities/ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk
sleep 0.5
./ovs/utilities/ovs-vsctl add-port br0 dpdk2 -- set Interface dpdk2 type=dpdk
sleep 0.5

The downstream of the DUT is connected to another switch.
Here is a network diagram: http://abload.de/img/ff_testbed_dpdk28sah.png
whereby al40-118 is the DUT, al40-115 the sender and al40-111 the receiver.

Thanks very much.

Stefan.

      reply	other threads:[~2015-09-02  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55E5A7A5.3080202@salzburgresearch.at>
     [not found] ` <55E5A80F.70508@salzburgresearch.at>
2015-09-01 13:31   ` Stefan Binna
2015-09-01 16:03     ` Declan Doherty
2015-09-02  7:23       ` Stefan Binna [this message]

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=55E6A3FE.9090408@salzburgresearch.at \
    --to=stefan.binna@salzburgresearch.at \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferdinand.tuellenburg@salzburgresearch.at \
    --cc=thomas.pfeiffenberger@salzburgresearch.at \
    /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).