Re: [dtn-users] MSFC DTN2 Patches - 2016-02-29

Nik Ansell <nikansell00@gmail.com> Sat, 12 March 2016 13:33 UTC

Return-Path: <nikansell00@gmail.com>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 91F8212D67C for <dtn-users@ietfa.amsl.com>; Sat, 12 Mar 2016 05:33:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.199
X-Spam-Level:
X-Spam-Status: No, score=-2.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 633Zc7bj3E2c for <dtn-users@ietfa.amsl.com>; Sat, 12 Mar 2016 05:33:18 -0800 (PST)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (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 DBF5112D679 for <dtn-users@irtf.org>; Sat, 12 Mar 2016 05:33:17 -0800 (PST)
Received: by mail-ig0-x22f.google.com with SMTP id ig19so31498898igb.1 for <dtn-users@irtf.org>; Sat, 12 Mar 2016 05:33:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc; bh=HlpHjHw2E+ky06tMZ/OD05L8REeSvmcwYm/ZjG4lbQs=; b=K2tQfEzOgK4+4evEOlt2/KDlk3B49a/dNPthmPNefLRN2IuS405Dh8e/mpIvIB1gCJ IIqKPvy/MjeVZxElegg9PJwp0rPwOcfghoSaYxPDSTfUbN+RVZtc8A4gud1xYOZzFZ0M dBcBld9bMQDEb0shHoTP/OX4n5Og0rA+A2RA8d9RbFcYscUlENLDxhpdWPjFH/M8yWg9 M7+SC/7H0nfxoALWA+UFAO8FwDRsA2dN/seNtqsvZxKFr1LoqkmtbNlm/H/aCknNfIgj 4wcLVUaxYlgB5Ja2p9HowdnxMJDamHo1n0ZEQFl/GbAewxqzHowE6JktEbyuR+m4LmpT nffg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc; bh=HlpHjHw2E+ky06tMZ/OD05L8REeSvmcwYm/ZjG4lbQs=; b=kbTogUe8+GG9pEJq1w1eG3xp/zUD3cAjobSRZc7cVQ1Wdag2zsswOPeHEZyLlWgOYp McFyKPaNtT5RwNQlO1pPCnnCYYMJ7XxiaJJPhm12IyaWSSXhOOZkoQ/s2upuPrWQcNx5 5NtmvwN38Q4VhPsSps2A5NLsD2pD8ZUGVYm8U6P2kgPmVwmnQYSaCv47UvpLy8sOp6b/ uuuVuUws9n/f2OI1yD5k3ergXAJ8li0av/Q/yfkgLl6AG7YqlFFxBiNlrLk1eC/yuA6W km99Mn9ucYBeEm34LJeYUULjkQuJWibuSLoT++CKs1FVIEQPnJc2WnI/8KjISolF1dvn zHcQ==
X-Gm-Message-State: AD7BkJJLXWtbcehKLFK4YeCCPS/fxiXwv2chMQqe9bJ+YGfpSnTFUYRRI4EOvCy7tqUqhV0l29KFmt7zoE/W2A==
MIME-Version: 1.0
X-Received: by 10.50.147.34 with SMTP id th2mr8909446igb.27.1457789597068; Sat, 12 Mar 2016 05:33:17 -0800 (PST)
Received: by 10.79.12.132 with HTTP; Sat, 12 Mar 2016 05:33:17 -0800 (PST)
In-Reply-To: <94CFB3711B4CAE4DBFC5BEB3374BF0C62E8396@NDMSMBX404.ndc.nasa.gov>
References: <94CFB3711B4CAE4DBFC5BEB3374BF0C62E813F@NDMSMBX404.ndc.nasa.gov> <CAKLzrV_3gkfAdbB2up7qGHamEEC3MFbnbscCKKm0JWL=AtvOtQ@mail.gmail.com> <94CFB3711B4CAE4DBFC5BEB3374BF0C62E8396@NDMSMBX404.ndc.nasa.gov>
Date: Sat, 12 Mar 2016 17:33:17 +0400
Message-ID: <CAKLzrV_KDuzt_yY00=VAXUz7n_6cWxKG0xHTUd8kuamCsobNYw@mail.gmail.com>
From: Nik Ansell <nikansell00@gmail.com>
To: "Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov>
Content-Type: multipart/alternative; boundary="089e014952381739d4052dda1753"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/_rV9zcfKt93BUiY3oV6C2ZmwSJA>
Cc: "dtn-users@irtf.org" <dtn-users@irtf.org>
Subject: Re: [dtn-users] MSFC DTN2 Patches - 2016-02-29
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: nikansell00@gmail.com
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Mar 2016 13:33:20 -0000

Hi David,

I found some time earlier to test the MSFC patches and LTPUDP on my Pi test
bed, info below.

Installation / Patching:
Everything installed and patched fine using the instructions in the
documentation.
There was one very small modification required to apply the arm patch:

patch –p 1 –i atomic-armv7.patch

should be:

patch –p 1 –i atomic_armv7.patch

General feedback:
- Configuration file is easy to understand and use
- I like the option to automatically rotate log files and also stop the db
logs from filling up /tmp
- It seems to make good use of available RAM/CPU automatically using the
default configuration
- Previously using DTN2/LTPlib, I needed to add a pause between bundle
transmissions to achieve 100% delivery ratio, however I did not need to do
that with any of my tests using LTPUDP

Experiments carried out:
I sent 100 x 63K bundles from tx to rx, under various simulated network
conditions.
The default configuration parameters worked well for all simulations apart
from those with long latency and high loss.

In one scenario I apply an 11% loss over a 20s latency, with the rate
limited to 4Mbit. In this scenario, using the default config (below), I
observed a lot of cancellation segments and also some LTP Protocol errors
in the network captures.
It may have achieved 100% delivery ratio eventually, but I cut it short as
it seemed to be taking too long.

set remote_rate 0
inact_intvl=30
retran_intvl=3
retran_retries=3
seg_size=16000
agg_size=64000

I then applied the following config changes:

set remote_rate 4000000
inact_intvl=60
retran_intvl=30
retran_retries=10
seg_size=1400
agg_size=65000

The above changes resulted in much faster delivery, a 100% delivery ratio,
much fewer cancellation segments and no LTP protocol errors.

In the next wave of experiments I will be gathering more detailed info, but
thought you might like this info now.

Kind Regards,
Nik

On Tue, Mar 1, 2016 at 10:08 PM, Zoller, David A. (MSFC-EO50)[HOSC SERVICES
CONTRACT] <david.a.zoller@nasa.gov> wrote:

> Hi Nik,
>
> Thanks for giving it a spin and I’m glad to hear that it patched and built
> successfully from the tip. My past experience has been that if I upload a
> patch then that same night changes get applied that break it which is why I
> provided a link to download the proper revision just in case. I look
> forward to learning of your results in the Pi test-bed.
>
> Best regards,
>
> DZ
>
>
>
> *From:* Nik Ansell [mailto:nikansell00@gmail.com]
> *Sent:* Tuesday, March 01, 2016 11:23 AM
> *To:* Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]
> *Cc:* dtn-users@irtf.org
> *Subject:* Re: [dtn-users] MSFC DTN2 Patches - 2016-02-29
>
>
>
> Hi David,
>
>
>
> This looks like a very interesting release.
>
>
>
> I did some quick tests using my Ubuntu 15.10 VMs running on VMWare Fusion
> and thought I'd report back on progress so far.
>
>
>
> I did a "make clean" of all previous oasys, dtn2 and (in my case) LTPlib
> installations, then downloaded, patched and installed dtn2 and oasys
> without any issues. I did deviate slightly from the build instructions as I
> used hg clone the latest builds:
>
> hg clone http://hg.code.sf.net/p/dtn/DTN2 dtn2
>
> hg clone http://hg.code.sf.net/p/dtn/oasys oasys
>
> The following tests completed successfully without any issues. (There were
> no network simulations between the nodes): UDPCL (100 x 63k bundles), TCPDL
> (100 x 1M bundles), LTPUDP (100 x 63K bundles).
>
> I used the default settings for all LTPUDP link parameters and it seemed
> very fast.
>
> I will run the same tests through some network simulations on my Pi
> test-bed at some point soon and report back how I get on.
>
>
> Kind Regards,
> Nik
>
>
>
> On Tue, Mar 1, 2016 at 6:34 AM, Zoller, David A. (MSFC-EO50)[HOSC SERVICES
> CONTRACT] <david.a.zoller@nasa.gov> wrote:
>
> Greetings all,
>
> I have uploaded a new set of DTN2 patches to the Sourceforge site:
>
> https://sourceforge.net/p/dtn/patches/8/
>
>
>
> These patches contain the modifications used in operations at Marshall
> Space Flight Center (MSFC) in support of the International Space Station
> and several recent additions that will be rolled into it in the future.
> MSFC hosts a DTN2 based gateway node on the ground that communicates via
> LTP over UDP with an onboard ION gateway node to provide DTN capabilities
> to payloads.
>
> Included are:
>
> ·         Performance improvements
>
> ·         IPN Scheme support fixes and enhancements
>
> ·         LTP over UDP (LTPUDP) Convergence Layer
>
> ·         LTPUDP with LTP Authentication extensions
>
> ·         STCP Convergence Layer (ION innovation)
>
> ·         External Router enhancements and our EHS Router
>
> ·         Extended Class of Service support (only EHS Router makes use of
> it for routing decisions)
>
> ·         Aggregate Custody Signal support
>
> ·         Delay Tolerant Payload Conditioning
>
>
>
> Also included in this release are updates to the DTN and LTP Wireshark
> dissectors. The updated dissectors are uploaded here for those that would
> like to build from the Wireshark source code. They will also be uploaded to
> wireshark.org soon.
>
>
>
> Thanks for giving them a try and please let me know if you run into any
> issues,
>
> DZ
>
>
>
> David Zoller
>
> COLSA Corporation
>
> Marshall Space Flight Center
>
>
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@irtf.org
> https://www.irtf.org/mailman/listinfo/dtn-users
>
>
>