DPDK usage discussions
 help / color / mirror / Atom feed
From: Yuliang Li <yuliang.li@yale.edu>
To: users@dpdk.org
Subject: [dpdk-users] occasionally ~300us delay
Date: Wed, 28 Feb 2018 00:01:22 -0500	[thread overview]
Message-ID: <CAECc8johtEVEe5L8bwB1ZFFTPzPDQ22jKqYVLjVUfVDwFKV0ng@mail.gmail.com> (raw)

Hi all,

I am using dpdk to generate packets. Specifically, I have a list of <packet
Pi, time Ti>, meaning I want to send Pi at Ti. I wait for Ti by while
(rte_get_tsc_cycles()<Ti). However, sometimes I see a delay of around 300us
of sending packets, i.e., the sending time of some Pi is around Ti+300us.
It looks like the program just pauses by 300us, and then resumes. Does
anyone know why?

Thanks,
-- 
Yuliang Li
PhD student
Department of Computer Science
Yale University

             reply	other threads:[~2018-02-28  5:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28  5:01 Yuliang Li [this message]
2018-02-28  5:03 ` Yuliang Li
2018-02-28  9:27   ` Gaëtan Rivet
2018-02-28 15:15     ` 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=CAECc8johtEVEe5L8bwB1ZFFTPzPDQ22jKqYVLjVUfVDwFKV0ng@mail.gmail.com \
    --to=yuliang.li@yale.edu \
    --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).