Re: [manet] next version of pause extension

Rick Taylor <rick@tropicalstormsoftware.com> Thu, 09 November 2017 16:11 UTC

Return-Path: <rick@tropicalstormsoftware.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 A98B31286AB for <manet@ietfa.amsl.com>; Thu, 9 Nov 2017 08:11:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 A5Uwd47cJ3BD for <manet@ietfa.amsl.com>; Thu, 9 Nov 2017 08:10:55 -0800 (PST)
Received: from mail.tropicalstormsoftware.com (mail.tropicalstormsoftware.com [188.94.42.120]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00714126557 for <manet@ietf.org>; Thu, 9 Nov 2017 08:10:54 -0800 (PST)
Received: from tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d]) by tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d%10]) with mapi; Thu, 9 Nov 2017 16:10:30 +0000
From: Rick Taylor <rick@tropicalstormsoftware.com>
To: Henning Rogge <hrogge@gmail.com>, Lou Berger <lberger@labn.net>
CC: "manet@ietf.org" <manet@ietf.org>
Thread-Topic: [manet] next version of pause extension
Thread-Index: AQHTWGKbJRgCW8iMokOj3K8ORHF9TaMKg0aAgAAJVYCAAAYjgIABYdaAgABEu2A=
Date: Thu, 09 Nov 2017 16:10:26 +0000
Message-ID: <38A5475DE83986499AEACD2CFAFC3F9801D322C89E@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> <81a45eeb-d5c5-d316-4524-2baa1efc9ac4@labn.net> <CAGnRvup0SM1ywOzgKHb4GhKPHmOOLxXatGyM+eguXfzjxL5GvA@mail.gmail.com>
In-Reply-To: <CAGnRvup0SM1ywOzgKHb4GhKPHmOOLxXatGyM+eguXfzjxL5GvA@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/OAaL0gAdfEqOhEDGFjVvQllxdrY>
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: Thu, 09 Nov 2017 16:11:01 -0000

Comments inline...

> -----Original Message-----
> From: Henning Rogge [mailto:hrogge@gmail.com]
> Sent: 09 November 2017 12:03
> To: Lou Berger
> Cc: Rick Taylor; manet@ietf.org
> Subject: Re: [manet] next version of pause extension
> 
> On Wed, Nov 8, 2017 at 3:56 PM, Lou Berger <lberger@labn.net> wrote:
> > I really view Pause and Credit as having different use cases.  The
> > first is fairly simple to implement but is likely to be inefficient,
> > i.e., result in periods of time when the link is idle.  The second is
> > far more powerful and complex to implement, but is likely to be more
> > efficient
> > *and* allow a smart router to make more sophisticated decisions based
> > on window sizes.
> 
> Unfortunately Pause (at least with Linux) is not that great to use...
> it works with some cards, it doesn't works with different cards and
> sometimes it behaves strange.
> 
> We experimented with it but have yet to test it combined with VLAN TOS
> IDs.
> 
> Unfortunately I have yet to find a good way to implement something like the
> credit extension without extending the Linux Kernel, so this is even worse to
> implement.
> 
> (Tips and Hints welcome!)

I would suggest the answer lives somewhere in the ethtool API, but it's a weird backwater of the kernel that doesn't see much love.  I don't think one can avoid kernel patches.

Rick