Re: [tcpm] RACK - variable explanation

Neal Cardwell <ncardwell@google.com> Thu, 22 November 2018 14:59 UTC

Return-Path: <ncardwell@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C647130ED9 for <tcpm@ietfa.amsl.com>; Thu, 22 Nov 2018 06:59:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.959
X-Spam-Level:
X-Spam-Status: No, score=-18.959 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 gEEzuno_SAj1 for <tcpm@ietfa.amsl.com>; Thu, 22 Nov 2018 06:58:57 -0800 (PST)
Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 B2A93130E34 for <tcpm@ietf.org>; Thu, 22 Nov 2018 06:58:57 -0800 (PST)
Received: by mail-ot1-x32d.google.com with SMTP id t5so8310683otk.1 for <tcpm@ietf.org>; Thu, 22 Nov 2018 06:58:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G/ixvg1w2YVwd2p8nySQqdpxyH9851XE159PxdyVuiU=; b=G+3GblQngT/yhEMlYO2O51EzNVcUYQrtDx7ANu85/N8lnEKpUWkRjkVdiZO+xvHwEC afMvGPLLnQNZj/AlmfMUuPB7lakLY7po9359YxhTN3TehGOaVr2nilv0itZeGizp6hCU yVqCYBaxDiia5sk9Y9YitaukhePTuSZytbw5nFhXJ82s5SbTX6gbS9hGj9HrDU3/Dkmv 8bvMLhZs3qJFUFzIDtu6jTCIS0shCk/8XGfCzzMKFXl3E2KjOaJJVZHu1ijA3HPC4fDg qJTlj/+nKD7lMmOY0LbdRrJZa2/UvzkLnZjJ/h6DCTBtdtbymD/naYBxuCM9/E+pEy18 000A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G/ixvg1w2YVwd2p8nySQqdpxyH9851XE159PxdyVuiU=; b=OC8l9HAMOz6sB/YQ4397OE5gg97j8VUM7L+AvLWesvU+BBxtka+I6HBBX7C1NgEb1M 2/HDI25XMpqoUKkBFDkGnfSg0JEcsA/8a6diAlcJ45eGvcDMoGoronAORDL+vBwYlRkF QZSsOHmmX96kkAnO7i3GczznUYxCFsYK/eyraJIfbRGUr88kc3Hq2eGJIo8PN07f35UG FcVGT7BY7eKSYCDqx/pf49lFWFqtsVwPj2ZwLVjd96DXJOlQGTzwXGQx5R6iNOSbEtpH d9ohjk/A0/AvegLqcdyVx1iSyjY/rZFtHM45HKTnLmsPHfZ5TNhs9/47sKR4IvVVe86r f5ww==
X-Gm-Message-State: AA+aEWadwVLbWvzdeUhFz/6wwmVqmxZnEXqZnFw4S5Idq0/8csmM0gCk 50hf5VBgO+07PKRjpgWvWdLWmy+OhW/NuIVFx5PfCA==
X-Google-Smtp-Source: AFSGD/Wl4Mt6TTzYlMq5umsSVp2+CZHta+NK3/QiXBvnxtK+d8EQrHjfNecAsxI+At3ObD8DH1alBqlxzVVMZKcdmNs=
X-Received: by 2002:a9d:489d:: with SMTP id d29mr5943991otf.311.1542898736681; Thu, 22 Nov 2018 06:58:56 -0800 (PST)
MIME-Version: 1.0
References: <8d43389c-93c1-899d-37ab-808c471eed47@fh-muenster.de>
In-Reply-To: <8d43389c-93c1-899d-37ab-808c471eed47@fh-muenster.de>
From: Neal Cardwell <ncardwell@google.com>
Date: Thu, 22 Nov 2018 09:58:40 -0500
Message-ID: <CADVnQymCDpqTxwVLv0WYZvj84msfXf7OzfHYfj=d7Uj-pCHmFQ@mail.gmail.com>
To: Felix Weinrank <weinrank@fh-muenster.de>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, Yuchung Cheng <ycheng@google.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/l8CViQuuFUfKOZlkMy3U-3wI6co>
Subject: Re: [tcpm] RACK - variable explanation
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Nov 2018 14:59:00 -0000

On Thu, Nov 22, 2018 at 7:25 AM Felix Weinrank <weinrank@fh-muenster.de> wrote:
>
> Hey RACK authors,
>
> we're evaluating the nuts and bolts of RACK in its current version and
> we are missing variable explanations.
> Most of the variables are listed and explained in section 5 (Definitions
> of variables) but at least two are missing.

Thanks for pointing these out! We'll add these in the next draft.

> SND.UNA

The RACK draft uses the SND.UNA and SND.NXT notations from the TCP RFC
(from https://tools.ietf.org/html/rfc793#section-3.3 on page 25):

   SND.UNA = oldest unacknowledged sequence number

   SND.NXT = next sequence number to be sent

> RACK.dupthresh << This is where we're stuck

This is using the DupThresh term from RFC 6675, "A Conservative Loss
Recovery Algorithm Based on Selective Acknowledgment (SACK) for TCP"
(from https://tools.ietf.org/html/rfc6675 on page 4):

   We define a variable "DupThresh" that holds the number of duplicate
   acknowledgments required to trigger a retransmission.  Per [RFC5681],
   this threshold is defined to be 3 duplicate acknowledgments.

> And I think this paragraph from section 5 needs two cosmetic newlines:
> "RACK.reo_wnd_persist" is the number of loss recoveries before
> resetting RACK.reo_wnd "RACK.dsack" indicates if a DSACK option has
> been received since last RACK.reo_wnd change "RACK.pkts_sacked"
> returns the total number of packets selectively acknowledged in the
> SACK scoreboard.

Thanks for pointing out the missing newlines! We will try to get that
formatting cleaned up in the next rev.

thanks,
neal