DPDK usage discussions
 help / color / mirror / Atom feed
From: Pavel Shirshov <pavel.shirshov@gmail.com>
To: maruko.kwok@gmail.com
Cc: users@dpdk.org
Subject: Re: [dpdk-users] what is the average latency you get for io forwarding from dpdk?
Date: Wed, 18 Jan 2017 08:03:09 -0800	[thread overview]
Message-ID: <CALkUq2h_W_ey-1YqVXwKto_=WiGRTerPAT=dS4eSZHpChcO_eQ@mail.gmail.com> (raw)
In-Reply-To: <CAE56PLtqN7o5bSuJKjYXg_rDs7m0WjOm=kX9EQ_zCWbE1tKzdA@mail.gmail.com>

Hi Maruko,

I'd say that dpdk is not about minimal latency, but about maximum
flexibility and development speed.
dpdk is not ASIC.
ASIC, FPGA, anything not soft related will give you better latency time.
So if you are looking for minimal and predictable latency I suspect
you need to think about other options.


On Tue, Jan 17, 2017 at 12:28 AM, Marco Kwok <maruko.kwok@gmail.com> wrote:
> Hello all,
>
> I wonder if anyone could get a relative low latency from dpdk on 1gb link.
>
> When using testpmd, an packet of 150 bytes is sent, packet is received by
> the port and loopback to the sender.
> I usually could get 50us for io forward. Sometime it can be as fast as 3us.
> However it is too slow to be used for switching application.
>
> My test platform is on a intel NUC NUC5I5RYH, which has i5 5250U 1.6GHz,
> 16GB DDR3 and i218-V network chip. dpdk 16.07.2
>
>
> I have done the following things try to get a better latency with no luck:
> -setup 1G hugepages
> -disable cpu frequency scaling to make sure cpu runs at max speed of 2.7GHz
> -isolate a cpu core from kernel task scheduler by isolcpus
> -setting the burst size of testpmd to 1
>
> Guys, I really want your input. I don't need high throughput but low
> latency. Does anyone of you have been able to achieve a lower latency with
> dpdk? I don't see the advantage I have taken from dpdk now.
>
> Best,
> Mark

  parent reply	other threads:[~2017-01-18 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17  8:28 Marco Kwok
2017-01-17 14:41 ` dave seddon
2017-01-18 16:03 ` Pavel Shirshov [this message]
2017-01-18 16:55 ` Stephen Hemminger

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='CALkUq2h_W_ey-1YqVXwKto_=WiGRTerPAT=dS4eSZHpChcO_eQ@mail.gmail.com' \
    --to=pavel.shirshov@gmail.com \
    --cc=maruko.kwok@gmail.com \
    --cc=users@dpdk.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).