Flent-users discussion archives
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Comment <comment@noreply.github.com>,
	flent-users <flent-users@flent.org>
Subject: Re: [Flent-users] [tohojo/flent] testing the behavior of small queue building non-ecn'd flows (#148)
Date: Mon, 03 Sep 2018 13:23:58 -0700	[thread overview]
Message-ID: <tohojo/flent/issues/148/418188201@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/148@github.com>


[-- Attachment #1.1: Type: text/plain, Size: 2237 bytes --]

flent-users <notifications@github.com> writes:

> HI Toke,
>
>
>> On Sep 3, 2018, at 19:37, Toke Høiland-Jørgensen <notifications@github.com> wrote:
>> 
>> flent-users <notifications@github.com> writes:
>> 
>> > Hi Dave,
>> >
>> >
>> >> On Sep 3, 2018, at 18:00, Dave Täht <notifications@github.com> wrote:
>> >> vnv 
>> >> Another rrul_v2 issue would be to correctly end up in all the queues on wifi.
>> >
>> > So in theory rrul_cs8 should do that... (it aims to just use one
>> > dscp-marked flow per class selector for a total of 8 tcp flows per
>> > direction...) In practice I believe the mapping from dscps to ACs is
>> > highly non-linear...
>> 
>> Well, not that non-linear:
>> 
>> const int ieee802_1d_to_ac[8] = {
>> IEEE80211_AC_BE,
>> IEEE80211_AC_BK,
>> IEEE80211_AC_BK,
>> IEEE80211_AC_BE,
>> IEEE80211_AC_VI,
>> IEEE80211_AC_VI,
>> IEEE80211_AC_VO,
>> IEEE80211_AC_VO
>> };
>
> Well, aren't these values according to IEEE P802.1p (https://en.wikipedia.org/wiki/IEEE_P802.1p)?
>
> PCP 	value		Priority	Acronym	Traffic types
> 1		0 (lowest)	BK		Background
> 0		1 (default)	BE		Best effort
> 2		2			EE		Excellent effort
> 3		3			CA		Critical applications
> 4		4			VI		Video, < 100 ms latency and jitter
> 5		5			VO		Voice, < 10 ms latency and jitter
> 6		6			IC		Internetwork control
> 7		7 (highest)	NC		Network control
>
> These map the 3 bit priority PCP values from VLAN tags to ACs, but
> note the dance with PCP 1 being lower than PCP 0, and more importantly
> the different interpretations about PCP 2, is it "excellent effort" or
> another BK code point?
>
> I guess the point I wanted to make is that mapping down from the 6bit
> DSCP to ACs is not very intuitive (with linear mapping being the "most
> intuitive").
>
> Anyway, I am totally fine with just using 3 bits, this is still plenty
> for priority hierarchies that I can still understand ;)

Oh, it's absolutely a mess. So much so that the IETF had to write a
whole RFC on it: https://tools.ietf.org/html/rfc8325

-Toke


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/148#issuecomment-418188201

[-- Attachment #1.2: Type: text/html, Size: 8553 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

      parent reply	other threads:[~2018-09-03 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tohojo/flent/issues/148@github.com>
2018-08-19  0:26 ` Dave Täht
2018-08-27 12:19 ` Toke Høiland-Jørgensen
2018-09-03 17:37 ` Toke Høiland-Jørgensen
2018-09-03 20:23 ` Toke Høiland-Jørgensen [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

  List information: https://lists.flent.org/postorius/lists/flent-users.flent.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tohojo/flent/issues/148/418188201@github.com \
    --to=notifications@github.com \
    --cc=comment@noreply.github.com \
    --cc=flent-users@flent.org \
    --cc=flent@noreply.github.com \
    --cc=reply+01ead4bf4de4e30592c889f884934c626c239cd2a161d2a592cf0000000117a55a5e92a169ce14f88d92@reply.github.com \
    --subject='Re: [Flent-users] [tohojo/flent] testing the behavior of small queue building non-ecn'\''d flows (#148)' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox