Re: [tsvwg] [Ecn-sane] per-flow scheduling

Jonathan Morton <chromatix99@gmail.com> Thu, 18 July 2019 05:30 UTC

Return-Path: <chromatix99@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE7FA120144 for <tsvwg@ietfa.amsl.com>; Wed, 17 Jul 2019 22:30:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 nHxL6q1dj-BY for <tsvwg@ietfa.amsl.com>; Wed, 17 Jul 2019 22:30:36 -0700 (PDT)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 72057120141 for <tsvwg@ietf.org>; Wed, 17 Jul 2019 22:30:36 -0700 (PDT)
Received: by mail-lj1-x233.google.com with SMTP id x25so25993095ljh.2 for <tsvwg@ietf.org>; Wed, 17 Jul 2019 22:30:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Cr7o8OusgZVhEqOffleF7v3PZ9dOcCItznpY2y6dkiY=; b=a/lS0vfU7uOpd7Qex4tvHoOBzBWU+6qu9g8rmc64lwVgUoerDrjPfyNCp3S5P4ixxX 8+eQik43wAaKPOraPhYK7rm0hymmc1xuVWSGnA+An6xY3HOcxDCx2Ztcm2SYGDUYNzFz Zq3qkfSEFWXPMaocLdRoCC4jp33QTWx4KpncScaSPvUvFqGzWNiRzPgSJV12aUcKLYZH JJ35e1/eFGGW9fh8vPG8gkvmrGtUmJYmruyw0JpZNUmPbCIsw6fxcaJZtS2URFeyDfvV mfKiIoJpxFngz8XZrL443kxrk2ltlkr+i2tggmcyvy+1JNlWoEd7BPducUSLUYpWTC6x nTZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Cr7o8OusgZVhEqOffleF7v3PZ9dOcCItznpY2y6dkiY=; b=cJf/CJV/pXCbYrWiWSVPwxFHNd4gSsyvqapObFO5Td6yVWxqyLqx/d4w9aXoPBJDpL olcaDOAVu5qMLV3L0RUbAYfzASQWR97Al0zTb/snVWxHvsxnQva88YFNHDGDxUY99ezv /R6Zgbt1xZECy/oHgQv/NcQ28N2+enG/YPZQfBQB3YxApnWExL7gFbtVnpwhxWKNBOsg E+cvCwe//n741cKP8Z7fjrr/+HmThUcVRphKePM6040jFWBzubtEzwGsqxEmOCtr+bjE L5FduIj3QYH5lA+SxrXgjCxKs/kMvZbSW69uRkAMyHgUw4FE7/BAZA4fDjV7ea2xMhRe ickw==
X-Gm-Message-State: APjAAAUnhfMrxdG1d0OYuI991UzDI33ggy71/Ytko4M5zFpB029abME6 AYhyIgNrUc3GvhZV7z7Hdcc=
X-Google-Smtp-Source: APXvYqzkF0viZugyNW2d+mSdCZplOKZ3i9JpG16rLM9koVrE29es4m6KQWu7LV5vM8QidFfeHfm03Q==
X-Received: by 2002:a2e:9048:: with SMTP id n8mr3895826ljg.37.1563427834391; Wed, 17 Jul 2019 22:30:34 -0700 (PDT)
Received: from [192.168.44.148] (37-219-185-236.nat.bb.dnainternet.fi. [37.219.185.236]) by smtp.gmail.com with ESMTPSA id d7sm3775859lfa.86.2019.07.17.22.30.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jul 2019 22:30:33 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <CAA93jw7sfreeHrRy==cG7zWn2xo=xVAYn0mSzaNhOZ5BwXQhug@mail.gmail.com>
Date: Thu, 18 Jul 2019 08:30:28 +0300
Cc: "David P. Reed" <dpreed@deepplum.com>, Bob Briscoe <ietf@bobbriscoe.net>, "ecn-sane@lists.bufferbloat.net" <ecn-sane@lists.bufferbloat.net>, tsvwg IETF list <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E43F1DF4-09EF-43D6-A8F8-D3612FA33893@gmail.com>
References: <350f8dd5-65d4-d2f3-4d65-784c0379f58c@bobbriscoe.net> <40605F1F-A6F5-4402-9944-238F92926EA6@gmx.de> <1563401917.00951412@apps.rackspace.com> <1563402855.88484511@apps.rackspace.com> <CAA93jw564FZSJOtP9BBpCiJEKhPxKACxSMBg5gpfuHfr==TzVQ@mail.gmail.com> <CAA93jw7sfreeHrRy==cG7zWn2xo=xVAYn0mSzaNhOZ5BwXQhug@mail.gmail.com>
To: Dave Taht <dave.taht@gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/LCDaI3eNszraISc4FBLkzQ1_NvY>
Subject: Re: [tsvwg] [Ecn-sane] per-flow scheduling
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jul 2019 05:30:38 -0000

> On 18 Jul, 2019, at 3:20 am, Dave Taht <dave.taht@gmail.com> wrote:
> 
>> What it should do instead is peek the queue and drop until it hits a
>> markable packet, at the very least.
> 
> I didn't say this well. It should drop otherwise markable packets until it
> exits the loop, and then mark the one it delivers from that flow, if it delivers
> one from that flow. That gets rid of all the extra mass ecn creates...

You know, I think I finally understand what you're talking about here.  You want to treat cases where the marking rate exceeds the flow's packet delivery rate as an overload condition justifying a shift to packet drops.

This actually seems like a sane idea.  There is I think one caveat: selecting the Codel 'interval' parameter will now have an increased penalty for getting it wrong, especially on the too-small side.

 - Jonathan Morton