[iccrg] 回复: New draft submitted for draft-pan-tsvwg-hpccplus-02.txt

"Rui, Miao" <miao.rui@alibaba-inc.com> Thu, 17 December 2020 02:52 UTC

Return-Path: <miao.rui@alibaba-inc.com>
X-Original-To: iccrg@ietfa.amsl.com
Delivered-To: iccrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00FA53A13A0; Wed, 16 Dec 2020 18:52:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_EXCESS_BASE64=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=alibaba-inc.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 NpQMewl6YCNq; Wed, 16 Dec 2020 18:52:42 -0800 (PST)
Received: from out0-142.mail.aliyun.com (out0-142.mail.aliyun.com [140.205.0.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A2DC3A139D; Wed, 16 Dec 2020 18:52:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1608173557; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type; bh=1tvoHbMnIyfIFy3jNazn9yhvY4px8blMaL07u0wlDQk=; b=pAKLAMqWS19nUmO3DB3io6C6C7MS00EZ3h9WGWp/31pp2Mo8FsGGdVlhI2WMnMhUdTSu1iO/YTQPPMTqot3tEMjFrgIgo1o2XJ/U835iSPoPgPZqUk3DDv02Vx+sK5dtYWX8SKvCwWIl/iYtWDhzdqFGhNxfV6FQzBi+Oly0yD4=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R301e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018047202; MF=miao.rui@alibaba-inc.com; NM=1; PH=DW; RN=9; SR=0; TI=W4_6056262_v5ForWebDing_0A930BF5_1608172621055_o7001c1343i;
Received: from WS-web (miao.rui@alibaba-inc.com[W4_6056262_v5ForWebDing_0A930BF5_1608172621055_o7001c1343i]) by ay29a011140100215.et135 at Thu, 17 Dec 2020 10:52:36 +0800
Date: Thu, 17 Dec 2020 10:52:36 +0800
From: "Rui, Miao" <miao.rui@alibaba-inc.com>
To: iccrg <iccrg-bounces@irtf.org>, "Pan, Rong" <rong.pan@intel.com>
Cc: "Liu, Hongqiang(洪强)" <hongqiang.liu@alibaba-inc.com>, "jri.ietf" <jri.ietf@gmail.com>, iccrg <iccrg@irtf.org>, Barak Gafni <gbarak@nvidia.com>, "Lee, Jeongkeun" <jk.lee@intel.com>, Barak Gafni <gbarak@mellanox.com>, Yuval Shpigelman <yuvals@mellanox.com>
Reply-To: "Rui, Miao" <miao.rui@alibaba-inc.com>
Message-ID: <c6f7872c-4961-4c07-a43a-0e31447c1f26.miao.rui@alibaba-inc.com>
X-Mailer: [Alimail-Mailagent revision 5829926][W4_6056262][v5ForWebDing][Chrome]
MIME-Version: 1.0
References: <3b396b85-d412-4e52-8716-52eac2a814e8.miao.rui@alibaba-inc.com> <CAK6E8=cwSk0n-MyYFZoCg4=q_3pZ=4zvP+q+1jB6+YCpm4LmRw@mail.gmail.com> <BYAPR12MB344609B1165B4D8868198649B4C60@BYAPR12MB3446.namprd12.prod.outlook.com> <CAK6E8=cwwxg4zkHD2EJcCki5ydmhZEg8r5N=Jf6twH9OZ0qwJg@mail.gmail.com> <53B9DCFB-D425-49E3-8F42-D35F2F887224@intel.com>, <CAK6E8=fZhM9bFBXGpgUKj67ksCc3O-VfSuvUeWgafTCdPYSHmA@mail.gmail.com>
x-aliyun-mail-creator: W4_6056262_v5ForWebDing_NTMTW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzg3LjAuNDI4MC44OCBTYWZhcmkvNTM3LjM2XQ
In-Reply-To: <CAK6E8=fZhM9bFBXGpgUKj67ksCc3O-VfSuvUeWgafTCdPYSHmA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="----=ALIBOUNDARY_88917_7fa4c8663700_5fdac7f4_45e5c7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/iccrg/E_Ha3IR0gzvSXXauP0Tgz_jh5c4>
Subject: [iccrg] 回复: New draft submitted for draft-pan-tsvwg-hpccplus-02.txt
X-BeenThere: iccrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions of Internet Congestion Control Research Group \(ICCRG\)" <iccrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/iccrg>, <mailto:iccrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iccrg/>
List-Post: <mailto:iccrg@irtf.org>
List-Help: <mailto:iccrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/iccrg>, <mailto:iccrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Dec 2020 02:52:45 -0000

Hi Yuchung,

That's a great question! In our current draft and also in the paper, we are focusing on the deployment of uniform transport to discuss the algorithm in a clean way. Actually, many CC algorithms talk in the same as well. 

However, I think you made a good observation that QoS is indeed involved with congestion control in production datacenters. We believe the WRR/QoS in the switch should work friendly with HPCC++. Because in datacenter we mostly use the same priority with different WRR/DWRR weights to avoid starvation from using straight priority(SP). (some small protocol messages like BGP are still using SP though). DWRR/WRR provides a minimum bandwidth guarantee for each queue. In this sense, upon the congestion, HPCC++ should know that at least we are safe to back off to my bandwidth guarantee. So the utilization convergence is still very fast to mitigate the emerging congestion. By contrast, I agree that we should be careful and slow in increasing the rate in this scenario since we are not the only protocol over the link. 

We are happy to work through those details in support QoS in HPCC++ if it is actually an essential concern.

Thanks,
Rui



------------------------------------------------------------------
发件人:Yuchung Cheng <ycheng=40google.com@dmarc.ietf.org>
发送时间:2020年12月15日(星期二) 20:45
收件人:"Pan, Rong" <rong.pan@intel.com>
抄 送:"Miao, Rui(缪睿)" <miao.rui@alibaba-inc.com>; "Liu, Hongqiang(洪强)" <hongqiang.liu@alibaba-inc.com>; jri.ietf <jri.ietf@gmail.com>; iccrg <iccrg@irtf.org>; Barak Gafni <gbarak@nvidia.com>; "Lee, Jeongkeun" <jk.lee@intel.com>; Barak Gafni <gbarak@mellanox.com>; Yuval Shpigelman <yuvals@mellanox.com>
主 题:Re: [iccrg] New draft submitted for draft-pan-tsvwg-hpccplus-02.txt

Hi Rong,

I actually think ingress or egress won't matter as much as qlen vs sojourn time based telemetry. I have not read the hpcc paper yet but I am curious its performance with multiple QoS being present -- apologize I have not read the paper yet:

Let's say a port has two queues for high (H) and low (L) priority packets separately.

A low-prio packet arrives at (an empty) L. It waits a long time because H is extremely busy. So the qlen either ingress or egress metered is 0 for this packet, but its sojourn or actual queuing time is large. The degree depends on the switch's priority scheduling policy of course. so the packet indeed experiences some congestion but not visible with qlen-INT metric.


On Tue, Dec 15, 2020 at 6:21 PM Pan, Rong <rong.pan@intel.com> wrote:
Yuchung,
 
Thanks for reviewing the draft. Good point about where/how to measure the queue length.  We will look into adding a paragraph to describe the difference between ingress or egress-based qlen or whether they can be mixed. From your experience, what issues do you think we need to look out for?
 
Best,
 
Rong
 
From: Yuchung Cheng <ycheng@google.com>
Date: Tuesday, December 15, 2020 at 3:17 PM
To: Barak Gafni <gbarak@nvidia.com>
Cc: NBU-Contact-Rui Miao <miao.rui@alibaba-inc.com>, iccrg <iccrg@irtf.org>, "Pan, Rong" <rong.pan@intel.com>, NBU-Contact-Harry Liu <hongqiang.liu@alibaba-inc.com>, "jri.ietf" <jri.ietf@gmail.com>, "Lee, Jeongkeun" <jk.lee@intel.com>, Barak Gafni <gbarak@mellanox.com>, Yuval Shpigelman <yuvals@mellanox.com>
Subject: Re: [iccrg] New draft submitted for draft-pan-tsvwg-hpccplus-02.txt
 
 
 
On Tue, Dec 15, 2020 at 3:03 PM Barak Gafni <gbarak@nvidia.com> wrote:
Hi,
Thanks for the interest in this work. For your question, at this point the draft has been kept open in terms of what is the exact inband telemetry technology to be used in order to implement the algorithm. The idea was to enable a variety of implementations. With that, one option we are focusing on is IOAM which is under work at IPPM WG, and has a data draft specifying formats for the communication of these metrics. Alongside this main data draft, there is a another draft in its initial work that adds few more fields, which may be used for HPCC++.
You are welcome to look here:
https://tools.ietf.org/html/draft-ietf-ippm-ioam-data-11
https://tools.ietf.org/html/draft-gafni-ippm-ioam-additional-data-fields-00
Actually the qlen is very specifically defined:)
https://tools.ietf.org/html/draft-ietf-ippm-ioam-data-11#section-5.4.2.7
 
I understand and agree with the intention to keep telemetry options more flexible (to get wider HW support). A paragraph explaining what are the key properties or requirements of these metrics to achieve a precise link load estimate would provide more guidance. For example the qlen defined in ippm draft is the "queue length at departure time". Will the algorithm work the same if qlen is metered at ingress (say some HW can't do egress for some reason). What if there are hybrid mix of different qlen measurements on the path.
 
 
      includes link load (txBytes, qlen, ts) and link spec (switch_ID,
      port_ID, B) at the egress port.  Note, each switch should record
      all those information at the single snapshot to achieve a precise
      link load estimate."
 


Any further feedback is welcome. 

Thanks,
Barak

From: Yuchung Cheng <ycheng@google.com> 
Sent: Tuesday, December 15, 2020 2:35 PM
To: NBU-Contact-Rui Miao <miao.rui@alibaba-inc.com>
Cc: iccrg <iccrg@irtf.org>; Pan, Rong <rong.pan@intel.com>; NBU-Contact-Harry Liu <hongqiang.liu@alibaba-inc.com>; jri.ietf <jri.ietf@gmail.com>; Lee, Jeongkeun <jk.lee@intel.com>; Barak Gafni <gbarak@mellanox.com>; Yuval Shpigelman <yuvals@mellanox.com>
Subject: Re: [iccrg] New draft submitted for draft-pan-tsvwg-hpccplus-02.txt

Interesting work!

It'd be good to know more precise requirements on INT to help both vendor supports (beside MLX) and CC evaluation

For example
qlen         | Telemetry info: link j queue length 
 
qlen == instant qlen snapshot at packet ingress or egress, on a per-port-per-queue basis, or some windowed-avg / aggregate etc. 
 

On Mon, Dec 14, 2020 at 4:11 PM Rui, Miao <miao.rui@alibaba-inc.com> wrote:
Hello ICCRG members,
 
Alibaba, Intel, and Mellanox have worked on an INT-based High Precision Congestion Control algorithm: HPCC++. We have posted an initial draft that can be found at
https://www.ietf.org/id/draft-pan-tsvwg-hpccplus-02.txt
 
The key design choice of HPCC++ is to use inband telemetry to provide fine-grained load information, such as queue size and accumulated tx traffic to compute precise flow rates. This has two major benefits:
1. HPCC++ can quickly converge to proper flow rates to highly utilize bandwidth while avoiding congestion;
2. HPCC++ can consistently maintain a close-to-zero queue for low latency.
 
We would love to hear your comments and feedback.

 Best regards,
Rui Miao
_______________________________________________
 iccrg mailing list
iccrg@irtf.org
https://www.irtf.org/mailman/listinfo/iccrg