Re: [manet] next version of pause extension

Henning Rogge <hrogge@gmail.com> Wed, 15 November 2017 11:59 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ACC1C1294A8 for <manet@ietfa.amsl.com>; Wed, 15 Nov 2017 03:59:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 T2zu9gzKOE8f for <manet@ietfa.amsl.com>; Wed, 15 Nov 2017 03:59:09 -0800 (PST)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C3F8D12949B for <manet@ietf.org>; Wed, 15 Nov 2017 03:59:09 -0800 (PST)
Received: by mail-qt0-x22a.google.com with SMTP id h42so11833462qtk.11 for <manet@ietf.org>; Wed, 15 Nov 2017 03:59:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=m9N2J3H7ZzbSCynhw6BBpRUCqmFL1i5wRzlZ0/IhaSs=; b=HWH/3im6ySkG8dDaXOYBvrvC2WqdoZxZoxCvmy8oltCwKdiVKWWKH25LcNfTYlKyPc k9GhtnK+Y1NZL8poCt2zYAwS9a6rD9IgCCyfxsxyeYkzb3vWGyuyxJ5kBVUXoH3W95Ka gA9gduYOTttPLBY+juxfBXqGqCS1LVvNMAB0J8X1S5cx5g4btLdhY4QTdny4PywIx/Gd yGpS4s9S7uMvGZmQQQCdJm4FZsxM8115xg+pL1FbuvQqKu6F3VIMKMTDOo4LEuM4nZSn rdII7TaoGTMGBQ6lWEU5yIMO3Y5wJ3b2DgsgAg6DWecsWPNJJlsE6akr/UI+LsEpdh5E /klw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=m9N2J3H7ZzbSCynhw6BBpRUCqmFL1i5wRzlZ0/IhaSs=; b=hfH46h6QhJXQhLVj3+8S4qYroWfTzwqtS1ZxFeSDW52iLuKSkZYmi1WwDc/VC5YT/n BsKBwya2YtP1uygWvBLzUYc6MHWKvXItaK4OUzkOlq8GPnKExod0JVR1NqqPnW7u8cGJ 2cYgT4TDzFniBc2+W2d+ddWyAUCKSWd3GPvLbPGzI+0DUbUpqophkCga0RDIi87CQL60 9Sl0o/igoYzPGJas0OFDaJkOFrss+DkdR4lq8yH/P4kIXoYdixcTkgd0uua7JJAkjNDX AU9wQUnp3dhsKMyHd1aKswRY39KIqnKa0HqibBy31ysX86drsEwVjsYqlXpgrjMOg2Ad afpQ==
X-Gm-Message-State: AJaThX5PweTgk/sAek2KsXAhzsIxn6JzId8WhaNgDgjKUsuwTIKurymm IlJqfAnY2LAbF8HJ2avlb02aLwdFVZ+EK/ikf9CU43Ys
X-Google-Smtp-Source: AGs4zMaCgL/TpTIBPwTyK1E4OBS1zQQYweZCF4Ydr++gpObtnDVU3UpMj5NGb/VWdADnw+xJdzLBFxKqH30TvSy5PhU=
X-Received: by 10.200.3.234 with SMTP id z42mr15466581qtg.25.1510747148811; Wed, 15 Nov 2017 03:59:08 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.35.175 with HTTP; Wed, 15 Nov 2017 03:58:38 -0800 (PST)
In-Reply-To: <38A5475DE83986499AEACD2CFAFC3F9801D322C8B6@tss-server1.home.tropicalstormsoftware.com>
References: <ffb93183-3ebd-39f2-4ca4-3a1b0e737146@labn.net> <CAGnRvuo2=OoHZPDWuvo94AnWJCHXyvOU9YGUSpNyEsxeSR2epw@mail.gmail.com> <9fe45b7b-7d4a-1ff8-09b2-9d0048326081@labn.net> <1510151671.2149.11.camel@tropicalstormsoftware.com> <CAGnRvuqwWZdmobjucitX-2vMZeDZaKN1e33LqTpE_E3g03xz5w@mail.gmail.com> <38A5475DE83986499AEACD2CFAFC3F9801D322C8B6@tss-server1.home.tropicalstormsoftware.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Wed, 15 Nov 2017 12:58:38 +0100
Message-ID: <CAGnRvuqyBndpefxx9Jv4QBunfAowjmaF7Z0OYE=VjdYL_txpbA@mail.gmail.com>
To: Rick Taylor <rick@tropicalstormsoftware.com>
Cc: "lberger@labn.net" <lberger@labn.net>, "manet@ietf.org" <manet@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/DN9Br-M_2A9gP2Qnl7nvHXjUdxU>
Subject: Re: [manet] next version of pause extension
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/manet/>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Nov 2017 11:59:12 -0000

On Thu, Nov 9, 2017 at 5:24 PM, Rick Taylor
<rick@tropicalstormsoftware.com> wrote:
> Queue and Flows however are an altogether more complicated problem.  Yes, the answer is probably a QueueId dataitem to discriminate between the egress queues on the local modem, but there still needs to be a "These are my queues" announcement (complex), and even then I'm not sure that covers all the potential use-cases!
>
> Are we discussing:

lets assume we have an additional TLV called "queue id" which carriers
a numeric identifier similar to the current LID.

> * The local modem classifies egress traffic into more than one egress queue, *no matter* what destination it goes to?  In which case the metrics are {per-Destination,per-Queue}, and the control is per-Queue

Each neighbor would announce the same queue-id per "traffic class".
Flow control would refer to this flow-ids.

e.g.:

neighbor 1, traffic class 1: queue-id 1
neighbor 1, traffic class 2: queue-id 2
neighbor 2, traffic class 1: queue-id 1
neighbor 2, traffic class 2: queue-id 2

flow control could be done by defining parameters for queue-id 1 or queue-id 2.

> * The local modem maintains one egress queue for each destination? In which case we have metrics per-Queue and control per-Queue, but some kind of Queue-to-Destination mapping.

Each neighbor would announce the a different queue-id per "traffic
class". Flow control would refer to this flow-ids.

e.g.:

neighbor 1, traffic class 1: queue-id 1
neighbor 1, traffic class 2: queue-id 2
neighbor 2, traffic class 1: queue-id 3
neighbor 2, traffic class 2: queue-id 4

flow control could be done by defining parameters for flow-id 1 to 4.


The "flow control for whole interface" would just become the special
case where everyone is "queue-id 0" (the default value if the queue-id
TLV is missing).

This mechanics would also give us the option to have a special
"broadcast" queue but still group all unicast together.

What do you think?

> One thing that is starting to crystalize in my mind is that it's all about transmit queues, any receive queueing that occurs should be transparent to the DLEP session for simplicity's sake.

yes, flow control is mostly interesting at the bottleneck... unless we
assume a radio faster than the ethernet, we don't have a bottleneck
for receiving queues.

Henning