Re: [multipathtcp] Regarding rate control at a subflow level

<philip.eardley@bt.com> Mon, 03 June 2019 10:15 UTC

Return-Path: <philip.eardley@bt.com>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9285120118 for <multipathtcp@ietfa.amsl.com>; Mon, 3 Jun 2019 03:15:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-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=bt.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 SPCnKqkmwzrV for <multipathtcp@ietfa.amsl.com>; Mon, 3 Jun 2019 03:15:39 -0700 (PDT)
Received: from smtpe1.intersmtp.com (smtpe1.intersmtp.com [213.121.35.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F11671200D6 for <multipathtcp@ietf.org>; Mon, 3 Jun 2019 03:15:38 -0700 (PDT)
Received: from tpw09926dag03e.domain1.systemhost.net (10.9.202.18) by BWP09926080.bt.com (10.36.82.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1713.5; Mon, 3 Jun 2019 11:15:31 +0100
Received: from tpw09926dag10f.domain1.systemhost.net (10.9.202.41) by tpw09926dag03e.domain1.systemhost.net (10.9.202.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 3 Jun 2019 11:15:35 +0100
Received: from bwp09926076.bt.com (10.36.82.107) by tpw09926dag10f.domain1.systemhost.net (10.9.202.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 3 Jun 2019 11:15:35 +0100
Received: from GBR01-CWL-obe.outbound.protection.outlook.com (104.47.20.57) by smtpe1.intersmtp.com (10.36.82.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1531.3; Mon, 3 Jun 2019 11:15:13 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bt.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IbeHc0iCre+lRvEHr2gnndI2HB+izV2rfxk5O2ZUQl8=; b=bXsbwxgQ137pzzsWrEhON2qjv6GMxUw1IyKqRBiX2kalAfYt9Az4gpeWqS2p85RKJchFc31D5YFTZSXSfFkteBSQRFu+gm4SanOkfyRMqskXKkkTDBn4LLGhPqNzQmsrx64EbzS3SAM+x6dVh7O9IMSmjnUPz7YdwTwXzQ6WSxw=
Received: from LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM (20.176.157.10) by LO2P123MB2669.GBRP123.PROD.OUTLOOK.COM (20.176.158.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.18; Mon, 3 Jun 2019 10:15:32 +0000
Received: from LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM ([fe80::ccd0:2c37:ba0a:e1b1]) by LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM ([fe80::ccd0:2c37:ba0a:e1b1%4]) with mapi id 15.20.1943.018; Mon, 3 Jun 2019 10:15:32 +0000
From: philip.eardley@bt.com
To: nagesh.shamnur@huawei.com, cpaasch=40apple.com@dmarc.ietf.org, olivier.bonaventure@uclouvain.be
CC: multipathtcp@ietf.org, ashutosh.prakash@huawei.com
Thread-Topic: [multipathtcp] Regarding rate control at a subflow level
Thread-Index: AdUMWULM15YYbMauQ2OybE7pkHW5IQAPgMiAAJ7rTAAB/BSx4AAbSJeAAJ2MIhA=
Date: Mon, 03 Jun 2019 10:15:31 +0000
Message-ID: <LO2P123MB1965E1FF05CB40AC39F8B36AEB140@LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM>
References: <4AC96705FB868F42B2075BA50F806DEB56995EF6@dggema524-mbx.china.huawei.com> <4f40e635-2a80-20ec-c991-8a7a61ef327a@uclouvain.be> <20190520135014.GG41806@MacBook-Pro-64.local> <LO2P123MB1965EA246F2652E9D5C47731EB180@LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM> <4AC96705FB868F42B2075BA50F806DEB569B1298@dggema524-mbx.china.huawei.com>
In-Reply-To: <4AC96705FB868F42B2075BA50F806DEB569B1298@dggema524-mbx.china.huawei.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=philip.eardley@bt.com;
x-originating-ip: [193.113.37.9]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ca4626e4-a82c-4875-9aad-08d6e80c698e
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:LO2P123MB2669;
x-ms-traffictypediagnostic: LO2P123MB2669:
x-ms-exchange-purlcount: 1
x-antispam-2: 1
x-microsoft-antispam-prvs: <LO2P123MB26696CB20CD08FB616C6F85AEB140@LO2P123MB2669.GBRP123.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0057EE387C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(346002)(136003)(396003)(366004)(39860400002)(376002)(199004)(13464003)(189003)(66066001)(2501003)(66446008)(68736007)(33656002)(66476007)(5660300002)(66556008)(64756008)(11346002)(81166006)(476003)(446003)(81156014)(26005)(25786009)(8676002)(66946007)(486006)(8936002)(186003)(76116006)(54906003)(73956011)(110136005)(53546011)(9686003)(55016002)(74316002)(52536014)(6306002)(6506007)(7736002)(305945005)(53936002)(6436002)(14444005)(256004)(71200400001)(4326008)(71190400001)(86362001)(7696005)(966005)(229853002)(6116002)(3846002)(99286004)(102836004)(478600001)(76176011)(316002)(2906002)(14454004)(6246003)(20673002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:LO2P123MB2669; H:LO2P123MB1965.GBRP123.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: bt.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: yHEBS18i4h8YYhL8I5h5z9ppaaaK7REZ44UdZSG5bxXpRsRXW2MpeIe4jepo6wsI49pNYkwn8bBuWzuw1suvBHtq9p85Ccpgfo3hwWBuuVldjHlYbNda3IHpdKR77iCuL32bSf8KhdKlNlYCTZX5E2s+UqtQraQvBMahp3ry5CVMO73skzi3NM9gV07c4Kp4fItWycb3alQhKLN6wCAgMS6paThPFJ0EOOYZAwYlRFkapTGwNmzrpQwvIkO3cObmSkrUfiRJuB56L97i+P0ORAbe1qgNuuC3YTwSdUwplv9H/U/u4vM4PxBjkfFbKBn2LzXWYC7tskJD7LarnHkiztFN2oArOROnsCKuIuj2o8sSxHz7l/Dd191IOxrDMyDAiW6vv2ZRQXCmWqsWM1TUzOzvMQoQwQhufuvfGQXl2ME=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ca4626e4-a82c-4875-9aad-08d6e80c698e
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2019 10:15:31.8414 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a7f35688-9c00-4d5e-ba41-29f146377ab0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: philip.eardley@bt.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO2P123MB2669
X-OriginatorOrg: bt.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/PLeFUMEGQc8D5CPOc0Mu1reKM_8>
Subject: Re: [multipathtcp] Regarding rate control at a subflow level
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/multipathtcp/>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Jun 2019 10:15:42 -0000

Nagesh,
Could you explain your scenario a bit more please? Not sure I get it right.  Is this about uplink? Is the application decision to limit the bandwidth made at the client or at the server, and does the network have a role (either in the decision making or supplying info)?
Thanks
phil

-----Original Message-----
From: Nagesh shamnur [mailto:nagesh.shamnur@huawei.com] 
Sent: 31 May 2019 06:19
To: Eardley,PL,Philip,TUD1 R <philip.eardley@bt.com>; cpaasch=40apple.com@dmarc.ietf.org; olivier.bonaventure@uclouvain.be
Cc: multipathtcp@ietf.org; Ashutosh prakash <ashutosh.prakash@huawei.com>
Subject: RE: [multipathtcp] Regarding rate control at a subflow level

Hi Phil,
	I am glad the problem is being discussed upon.  One more possible usecase is for load balancing to achieve one or a set of clients doesn't hog the entire bandwidth available on the server side. Though the links to server supports the bandwidth but still chooses to limit the bandwidth. I agree, this is left best to be dealt with congestion control algorithm to achieve the bandwidth sharing, but there can be cases where the application decides to limit the bandwidth to avoid possibly overload kind of scenarios.

Regards,
Nagesh S

-----Original Message-----
From: philip.eardley@bt.com [mailto:philip.eardley@bt.com]
Sent: 30 May 2019 23:23
To: cpaasch=40apple.com@dmarc.ietf.org; olivier.bonaventure@uclouvain.be
Cc: multipathtcp@ietf.org; Ashutosh prakash <ashutosh.prakash@huawei.com>; Nagesh shamnur <nagesh.shamnur@huawei.com>
Subject: RE: [multipathtcp] Regarding rate control at a subflow level

I think the use case a hybrid operator could be interested in is the following. Similar to Alexander's use case.

We want to provide a particular customer with broadband access that is faster than their DSL alone can provide, for instance to meet some minimum rate to meet a target of say 20Mbps. The rate can't quite be met by DSL, therefore cellular or even satellite is used as a top-up. DSL capacity is much cheaper than cellular /satellite, therefore the ideal scheduler would favour DSL. It would react reasonably quickly to increased total load above the DSL rate (but not so fast that the instantaneous rate from a variable rate source 'kicks in' the cellular when the rate over a slightly longer time can be met by DSL). Note that the DSL rate is not completely static.  It supports deployments with a proxy in the home gateway and in the network (under the control of the operator), and deployments where there's only the proxy in the network (ie MPTCP is in the multi-interface phone). Possible to ensure that an individual flow goes over only one access. Downward direction (from network to house) more important than upward.  In a long-running session using a lot of bandwidth, because the amount of other traffic varies, it may be that this session sometimes uses just the DSL and sometimes is spread over both accesses. On a minor point, ideally a speed test should measure the rate correctly (I don’t mean the scheduler identifies a speed test and favours it; rather, ideally the speed test shouldn’t eg measure just the DSL rate - alternatively re-define the speed test). 

So in terms of Olivier's question below, I think this means that the limit is about the total and not per subflow. 

In terms of mechanism, I'm open to whatever is most suitable. I'm very interested if the best method would mean that ideally some new functionality is added to the MPTCP standard (and by implication to MP-QUIC).

Best wishes,
phil


-----Original Message-----
From: multipathtcp [mailto:multipathtcp-bounces@ietf.org] On Behalf Of Christoph Paasch
Sent: 20 May 2019 14:50
To: Olivier Bonaventure <olivier.bonaventure@uclouvain.be>
Cc: multipathtcp@ietf.org; Ashutosh prakash <ashutosh.prakash@huawei.com>; Nagesh shamnur <nagesh.shamnur@huawei.com>
Subject: Re: [multipathtcp] Regarding rate control at a subflow level

Hello,

On 17/05/19 - 09:59:54, Olivier Bonaventure wrote:
> Dear Nagesh,
> > 
> >                  Greetings. In case of Mobile deployments of MPTCP, 
> > though the data rates are getting cheaper, still it would be wise 
> > not to run the cellular path to full limit but to throttle to a 
> > certain extent considering cost in mind or if server wants to limit 
> > the client at subflow level, then I couldn’t find the support for 
> > the same in the specification.
> 
> We have developed several prototypes that include this capability in 
> the Linux kernel.
> 
> > So, while going through the discussion archives, could only find 
> > that, the peer(server) can throttle the speed for the entire 
> > connection by publishing a smaller receiver window rather than for a 
> > particular subflow. I feel, it would be a good idea if the peers can 
> > exchange this information using the control packets.
> 
> We could imagine an MPTCP option that provides the maximum rate on a 
> per-subflow level, but I was wondering whether the use case is not to 
> limit the bandwidth on the smartphone at the link level (i.e. multiple 
> tcp connections or udp flows) and not at the subflow level. Could you 
> precise your use case for the subflow level ?

another use-case for rate-control I see is when a client wants to tell a sender to gracefully close a subflow.

- Sending a TCP-RST results in packet-loss of the in-flight data.
- Reducing the window is going to stall the whole connection because the window is shared.
- Setting MP_PRIO also won't work because none might want to drain a secondary
  subflow even if the "primary" subflow is having severe packet-loss.

Thus, a "maximum-rate" option on a per-subflow level would allow to send the rate to 0, which would drain the subflow.


Christoph

_______________________________________________
multipathtcp mailing list
multipathtcp@ietf.org
https://www.ietf.org/mailman/listinfo/multipathtcp