From: Alexey Bogdanenko <abogdanenko@ecotelecom.ru>
To: dev@dpdk.org
Subject: [dpdk-dev] QoS grinder vs pipe wrr_tokens
Date: Tue, 7 Jun 2016 20:28:56 +0300 [thread overview]
Message-ID: <57570458.1080208@ecotelecom.ru> (raw)
Hello,
I have a question regarding QoS grinder implementation, specifically,
about the way queue WRR tokens are copied from pipe to grinder and back.
First, rte_sched_grinder uses uint16_t and rte_sched_pipe uses uint8_t
to represent wrr_tokens. Second, instead of just copying the tokens, we
shift bits by RTE_SCHED_WRR_SHIFT.
What does it accomplish? Can it lead to lower scheduler accuracy due to
a round-off error?
version: v16.04
Thanks,
Alexey Bogdanenko
next reply other threads:[~2016-06-07 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 17:28 Alexey Bogdanenko [this message]
2016-06-08 15:23 ` Dumitrescu, Cristian
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=57570458.1080208@ecotelecom.ru \
--to=abogdanenko@ecotelecom.ru \
--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).