[6tisch] validating the downstream traffic adaptation in draft-ietf-6tisch-msf-06

Tengfei Chang <tengfei.chang@gmail.com> Wed, 25 September 2019 10:58 UTC

Return-Path: <tengfei.chang@gmail.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E196C120120 for <6tisch@ietfa.amsl.com>; Wed, 25 Sep 2019 03:58:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 D8nqcEV3R-ti for <6tisch@ietfa.amsl.com>; Wed, 25 Sep 2019 03:58:37 -0700 (PDT)
Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 1DBB312010C for <6tisch@ietf.org>; Wed, 25 Sep 2019 03:58:37 -0700 (PDT)
Received: by mail-pg1-x532.google.com with SMTP id y35so3018352pgl.1 for <6tisch@ietf.org>; Wed, 25 Sep 2019 03:58:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mgBWt9r8RvUI1BZXYbZH+79f6c+XwbKib6IbMEqptp4=; b=Lz4G9uDd4EWh7frM+5pX3IV1eQuo7qxCUG5LcDcDomcT5z6EoRkAlOOitb34kXUlz7 pChzKK+Z7hhMA3FmmjKYykMP4w/NVZBiC5dZq+wm7gUB+e/1RRxp+4wtRu9UR4Gq02ly 3jnz0AD+6dQ0B5VCUwI3CzGaA1lP8nJWcpZJbVc0OL5JK2D2ijQAO21kaEF81ATBf1tC pSE8Z4GkmPrmZtxuPbeR0j9tchhq76+XERtGMyZWR4Rt1YITKOxfC6qv/Q3q2PUPgZDm +qvSZ3O+EQ+SM8f2zFEISrVgDyEIYLreykqJJIbdC1qlHyghrDPMipiQEJltij7kt2kj wK/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mgBWt9r8RvUI1BZXYbZH+79f6c+XwbKib6IbMEqptp4=; b=o4dhShIiqPIDx+rlnfSPrPvzkwLyjYXpecmKnIko7lPfeT8QuluqhtrKd6adrr8jM4 7vNQiCNkjzf/akTNuE5nlvwiNPsDKhe+c//LNMY8dNWNdwVkHue6FaoegcbJS6PJ9ufT CsHG/JyrrNECNeYcVbi05MPe0Tc1Kf1eEvxGryEDy8H8bO+fAEfAdOQUuuZ80TLzIeY1 I2e27kyoneX5ysvefzbyv1GuWjm1quWapqt0LfhzQzCXykd7PsKdx5jscq22KNyZx6wk L/Swp8Szx3DuSpKE5K8qn1jOR9Bn/WXQ8DAKuV89VxnoL+CzFKlaQprTsgEs6IbY35kM 0M+w==
X-Gm-Message-State: APjAAAXmyxOAW0Ub/ac4SqLzdXb8Z6+ac0wiDzYT1qNuXhMZnFFD4R1J AOjaWN8Ul47P7RM/Sb3FSZJupowKeOenu/WCJ57ziUUyOpA=
X-Google-Smtp-Source: APXvYqwpV78ar+ZhvS+QYcq0huss946/eANWFrLtMcyzK1dqKRtaWnc7o5XWq2259k9zZdAs8yu5W6bT2xiP3zdLjd0=
X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr5524689pjo.112.1569409115085; Wed, 25 Sep 2019 03:58:35 -0700 (PDT)
MIME-Version: 1.0
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Wed, 25 Sep 2019 12:58:25 +0200
Message-ID: <CAAdgstRP_3muMrXO+Oqq1X79XcO3V=3d5gSKg9k4K4F_A4WaHA@mail.gmail.com>
To: 6tisch <6tisch@ietf.org>
Content-Type: multipart/mixed; boundary="000000000000d0101a05935e8817"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/rWBrezJ8YXLimYWFyHGx9faYYZs>
Subject: [6tisch] validating the downstream traffic adaptation in draft-ietf-6tisch-msf-06
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Sep 2019 10:58:40 -0000

Hello, All,

As in the MSF draft version 06, we added the downstream traffic adaptation
feature.
here I want to share the implementation result of this feature with OpenWSN
(I remember Pascal asked for this before as well :-) so here it is!)

The setup:
-------------
I had run OpenWSN 6TiSCH implementation on OpenTestbed with 36 nodes
deployed in our office building.
After the network formed. I start to ping one nodes in the network,
specifically using the command:

ping  bbbb::12:4b00:14b5:b571 -w 2000 -t
( bbbb::12:4b00:14b5:b571  is the pinging target node's address)

This allows to generate ping traffic at 1 request /2 seconds.
The command stopped after around 25 mins.

What to measure:
-----------------------
We measured the changes of the number of tx cells (num_tx_cells)

from dagroot to the target node ( for downstream traffic)

from target node to dagroot (for upstream traffic)

The result is shown in the attached file.

Explanation of the Result
----------------------------------
You can check the following explanation in case you have questions after
checking the attached result file.

General information:
The slotframe length is 101 and the slot duration is 20ms.
So traffic load of 1 packet/2seconds requires roughly 1 cell per slotframe.
The ideal status for MSF is to install 2 or 3 Tx cell for it, which results
50% or 33% cell usage.

( num_transmissions figures)
The upper figures shows the number of transmission of dagroot (to target )
and target (to dagroot),which helps to understand the changes of
num_tx_cells.
There are two reason why the number of transmission drops:

the tx cell is deleted so the statistic of transmissions is gone

the number transmission reaches to 256, it is then divided by 2 and changed
to  128.

( target_num_transmissions figure)
Expect the pinging traffic, the target has a default application traffic of
1packet/30 seconds.

(dagroot_num_tx_cells figure)
The dagroot at beginning only uses the auto_tx_cell for sending the ping
request to target.
When the MSF running on *TARGET *node detected the incoming traffic from
dagroot exceeding the LIM_NUMCELLSUSED_HIGH,
the *TARGET *node decided to install a Rx cell to dagroot  in its schedule
(Tx cell on dagroot side)

(target_num_tx_cells figure)
Why is one  tx cells to dagroot deleted during the pinging?
By checking the raw data of the experiment, we found that dagroot is in
backoff status to the target, at the time to install its first Tx cell to
target.
The packet waiting to transmit out is the 6P response packet.
The situation causes the incoming ping request packet is buffer'ed in the
queue.

As a consequence,  the ping response traffic decreases because of the less
incoming request packets,
which temporally makes the num of cell used is lower than
LIM_NUMCELLSUSED_LOW and delete one cell.

After the Tx cell is installed on the dagroot side, the MSF starts to adapt
the increased incoming traffic with a fluctuation (installed 3 Tx cells),
but change to 2 Tx cells, which is ideal for 1packet/2seconds traffic load.

I believe these figures validated the correctness of the downstream traffic
adaptation in  draft-ietf-6tisch-msf-06
Let us know if there is anything not clear for you.

Tengfei

-- 
Chang Tengfei,
Postdoctoral Research Engineer, Inria