DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Marco Kwok <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:55:35 -0800	[thread overview]
Message-ID: <20170118085535.4bcfd124@xeon-e3> (raw)
In-Reply-To: <CAE56PLtqN7o5bSuJKjYXg_rDs7m0WjOm=kX9EQ_zCWbE1tKzdA@mail.gmail.com>

On Tue, 17 Jan 2017 16:28:01 +0800
Marco Kwok <maruko.kwok@gmail.com> wrote:

> 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

You may need a faster cpu, and PCI gen3 support (so that NIC goes direct to CPU cache).
Also i218-V uses E1000 driver which has not been optimized much.

> 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

Disable hyper-threading
Set burst size to 32, some drivers optimize for this.
Use different prefetch values

      parent reply	other threads:[~2017-01-18 16:55 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
2017-01-18 16:55 ` Stephen Hemminger [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=20170118085535.4bcfd124@xeon-e3 \
    --to=stephen@networkplumber.org \
    --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).