DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] QoS grinder vs pipe wrr_tokens
@ 2016-06-07 17:28 Alexey Bogdanenko
  2016-06-08 15:23 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Bogdanenko @ 2016-06-07 17:28 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-08 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 17:28 [dpdk-dev] QoS grinder vs pipe wrr_tokens Alexey Bogdanenko
2016-06-08 15:23 ` Dumitrescu, Cristian

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).