From: Ali Volkan Atli <Volkan.Atli@argela.com.tr>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] packet sojourn time on TX/RX queues
Date: Tue, 18 Oct 2016 11:53:27 +0000 [thread overview]
Message-ID: <7e7d8a47bfb047ff97d34403ed4f23ce@MX2.argela.com.tr> (raw)
Hello
I'm trying to implement CoDel algorithm on Intel's DPDK library, so I need to measure packet sojourn time (the time a packet stays in the queue before being sent) but I have trouble with measuring packet sojourn time on RX/TX queues because of DMA usage. When I call rte_eth_tx_burst() function, DPDK puts packets into DMA-region using ring buffer and I have no idea when packets sent really into network. Likewise, when I call rte_eth_rx_burst(), I don't have any idea when packets arrived because I'm pulling the packets from ring buffer handled by DMA, so I'm not sure totally but I think I have no chance to measure sojourn time for dma-like implementation. Could you please correct me if I'm wrong. Also any comments/suggestions would be greatly appreciated.
Thanks in advance..
- Volkan
reply other threads:[~2016-10-18 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=7e7d8a47bfb047ff97d34403ed4f23ce@MX2.argela.com.tr \
--to=volkan.atli@argela.com.tr \
--cc=dev@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).