Re: [rtcweb] Some language on "prioritization"

Harald Alvestrand <harald@alvestrand.no> Fri, 04 April 2014 08:51 UTC

Return-Path: <harald@alvestrand.no>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 899C91A0453 for <rtcweb@ietfa.amsl.com>; Fri, 4 Apr 2014 01:51:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bnPj_jZAXEue for <rtcweb@ietfa.amsl.com>; Fri, 4 Apr 2014 01:51:52 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id BA6A91A0452 for <rtcweb@ietf.org>; Fri, 4 Apr 2014 01:51:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 6FEFE7C5267; Fri, 4 Apr 2014 10:51:47 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLb5GVkKubeP; Fri, 4 Apr 2014 10:51:46 +0200 (CEST)
Received: from [10.20.1.105] (114.red-80-28-236.adsl.static.ccgg.telefonica.net [80.28.236.114]) by mork.alvestrand.no (Postfix) with ESMTPSA id 953EC7C5266; Fri, 4 Apr 2014 10:51:45 +0200 (CEST)
Message-ID: <533E729F.4000302@alvestrand.no>
Date: Fri, 04 Apr 2014 10:51:43 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
References: <5339A120.3040909@alvestrand.no> <CABkgnnVUHUx+3wY3Dsi=UvNkUw_Es1apeMSonq7DtEg_3UKRNg@mail.gmail.com> <FBA84C78-FE8E-4FEF-8AD3-CAF24C57E512@lurchi.franken.de>, <5339AA58.9070301@alvestrand.no> <834D5209-5EEA-4001-B8ED-3835FC4D05FB@skype.net> <00af01cf4f59$fa617b90$ef2472b0$@stahl@intertex.se> <CB16B8F0-DDC2-4404-A81F-1B3101647DE9@lurchi.franken.de>
In-Reply-To: <CB16B8F0-DDC2-4404-A81F-1B3101647DE9@lurchi.franken.de>
X-Enigmail-Version: 1.6
Content-Type: multipart/alternative; boundary="------------000409000804030407070504"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/P8c8rz26W8_M1pxCtCo7M7zJtFM
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Some language on "prioritization"
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Apr 2014 08:51:57 -0000

I assume this is the scheduler envisioned in -ndata:


      SCTP_SS_PRIORITY:  Scheduling with different priorities is used.
         Streams having a higher priority will be scheduled first and
         when multiple streams have the same priority, the default
         scheduling should be used for them.  The priority can be
         assigned with the sctp_stream_value struct.  The higher the
         assigned value, the lower the priority, that is the default
         value 0 is the highest priority and therefore the default
         scheduling will be used if no priorities have been assigned.


This sounds like a "strict" scheduler, in that higher priority queues
will starve out lower priority ones completely. I remember having the
discussion at an IETF meeting about whether we wanted a "strict"
scheduler or a "weighted round robin" scheduler for this, but I wouldn't
trust my memory with what the conclusion was.

Was the conclusion that we should do "strict" scheduling? If so, it may
be best to make that consistent across the board - I had written in a
"weighted" scheduler for media into the prioritization text that I
started this thread with, but I think there's value to consistency.

(Note: -ndata has SS_PRIORITY in one place and SS_PRIO / SS_PRIO_INTER
in another place. Is there a subtlety here I'm not seeing?)