Re: [rmcat] draft-sarker-rmcat-eval-test-00, test case 4.4 RMCAT Flow competing with a long TCP Flow

"Fred Baker (fred)" <fred@cisco.com> Wed, 30 April 2014 17:02 UTC

Return-Path: <fred@cisco.com>
X-Original-To: rmcat@ietfa.amsl.com
Delivered-To: rmcat@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 738201A091E for <rmcat@ietfa.amsl.com>; Wed, 30 Apr 2014 10:02:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.152
X-Spam-Level:
X-Spam-Status: No, score=-110.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=ham
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 uEqWFBBHDzyQ for <rmcat@ietfa.amsl.com>; Wed, 30 Apr 2014 10:02:36 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by ietfa.amsl.com (Postfix) with ESMTP id D6E0D1A0910 for <rmcat@ietf.org>; Wed, 30 Apr 2014 10:02:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3848; q=dns/txt; s=iport; t=1398877354; x=1400086954; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=gViHIuWkwUwtbupuvdCphVLbzY3GqNY9FPKF/t2sd2c=; b=l5iIHZcIbPNPwjbrFlkN8LBivp3uUbB7cH0GLVFktQ62H5rr7Px6xlBQ TRbO4Jo4pPJSj5L7QOI0hyZJNzICOrj3+FYZaceXzKQowJwR0T22HI8p9 /ibskxdkuILGJYnWc7HJN7MZu0xpui6Mcs1yIew/l8wCTpLwlY4yWjVDY A=;
X-Files: signature.asc : 195
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgMFAKIrYVOtJA2E/2dsb2JhbABZgwaBJsRGgSAWdIIlAQEBAwF5BQsCAQg7CzIlAQEEDgUOiCsIyRUXjlEHgySBFQSRGYE4hlaSa4FygT+CKw
X-IronPort-AV: E=Sophos; i="4.97,959,1389744000"; d="asc'?scan'208"; a="40028107"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-1.cisco.com with ESMTP; 30 Apr 2014 17:02:32 +0000
Received: from xhc-rcd-x06.cisco.com (xhc-rcd-x06.cisco.com [173.37.183.80]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id s3UH2Wwc000990 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 30 Apr 2014 17:02:32 GMT
Received: from xmb-rcd-x09.cisco.com ([169.254.9.100]) by xhc-rcd-x06.cisco.com ([173.37.183.80]) with mapi id 14.03.0123.003; Wed, 30 Apr 2014 12:02:31 -0500
From: "Fred Baker (fred)" <fred@cisco.com>
To: Zaheduzzaman Sarker <zaheduzzaman.sarker@ericsson.com>
Thread-Topic: [rmcat] draft-sarker-rmcat-eval-test-00, test case 4.4 RMCAT Flow competing with a long TCP Flow
Thread-Index: Ac9jf090kpDicEcGShCy4a8kghdQ6gAK9R2AAAia8FAAJv0GcAAVl0KA
Date: Wed, 30 Apr 2014 17:02:30 +0000
Message-ID: <7BFDDE81-4472-4F13-94D6-B62B6B802C33@cisco.com>
References: <81564C0D7D4D2A4B9A86C8C7404A13DA31F5BD0F@ESESSMB205.ericsson.se> <F399C574-037C-4F74-80D6-4639FC529C56@cisco.com> <81564C0D7D4D2A4B9A86C8C7404A13DA31F5BDA6@ESESSMB205.ericsson.se> <E0F7A68B07B53F4FBD12DABD61CBA90E126F127F@ESESSMB307.ericsson.se>
In-Reply-To: <E0F7A68B07B53F4FBD12DABD61CBA90E126F127F@ESESSMB307.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [10.19.64.118]
Content-Type: multipart/signed; boundary="Apple-Mail=_B3464433-C0D2-4CDC-8500-4FFCF9974F88"; protocol="application/pgp-signature"; micalg="pgp-sha1"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/rmcat/UZPvFKeLjqa73hLpTnO5E5IzSfM
Cc: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, "rmcat WG (rmcat@ietf.org)" <rmcat@ietf.org>, "varun@comnet.tkk.fi" <varun@comnet.tkk.fi>, "Michael Ramalho (mramalho)" <mramalho@cisco.com>, Erlendur Karlsson <erlendur.karlsson@ericsson.com>, "Xiaoqing Zhu (xiaoqzhu)" <xiaoqzhu@cisco.com>
Subject: Re: [rmcat] draft-sarker-rmcat-eval-test-00, test case 4.4 RMCAT Flow competing with a long TCP Flow
X-BeenThere: rmcat@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "RTP Media Congestion Avoidance Techniques \(RMCAT\) Working Group discussion list." <rmcat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rmcat>, <mailto:rmcat-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rmcat/>
List-Post: <mailto:rmcat@ietf.org>
List-Help: <mailto:rmcat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rmcat>, <mailto:rmcat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Apr 2014 17:02:37 -0000

On Apr 30, 2014, at 4:50 AM, Zaheduzzaman Sarker <zaheduzzaman.sarker@ericsson.com> wrote:

> Are you saying re-ordering is not a phenomena that we can observe in the current Internet? And we should not have test cases to handle re-ordering of packets in RMCAT?

Packet reordering, loss, and duplication happen. Where and to what degree is a question of the structure of networks that packets pass through and what happens in those networks. The last time I know of someone doing an actual measurement and reporting the results was rather a while ago, but it said that at that time about 5% of arriving traffic was reordered. For systemic reasons, I would imagine this is reduced, and very dependent on what networks and types of networks are crossed.

Going out on a limb a bit (this is what I suspect, not what I know), I would imagine that today there are three major sources of traffic reordering. One is loss; in radio networks (which include 3g/etc but also include 802.11, 802.15, and 802.16), loss and retransmission are pretty common. It would be interesting to have someone write a paper measuring and analyzing the resultant “best effort” behaviors in those networks. Another is load balancing in the network; while it is common for ECMP routing to send a subset of flows one way and another subset on another, some networks schedule packets on the most available bandwidth or go round robin. That is a recipe for reordering. The other has to do with adaptive bitrate video and services that deliver it by literally duplicating data. In these services, there is a path from the CDN to the consumer that consists of two disjoint paths. The TCP originator is configured with a link layer multicast address for its first hop router, and there are in fact two such routers, one on each of the parallel paths. The packets don’t arrive at the endpoint, but they do arrive at a point just before it, and the first of each pair of packets to arrive is forwarded to the endpoint. You can imagine that the collection point sees frequent duplication and some degree of reordering.

The single biggest source of reordering, I will postulate, is none of those; it is the result of loss due to TCP’s AIMD behavior. When a packet is dropped in flight due to queue depth or delay, the rest of the packets in that RTT arrive before it, and then its retransmission arrives. Voila! Packet reordering.

Should TCP handle packet reordering? Yes, of course. Making packet arrival sequence completely random will certainly test that behavior; we could discuss the beneficial effects of running TCP over CSNET in the 1980’s and the resulting hardening of TCP’s algorithms. That doesn’t make that level of reordering a valid simulation of the Internet. A more valid simulation will have one or both of two characteristics - that a packet is dropped, the remaining packets in that RTT pass it, and then it arrives, or that packets frequently arrive disordered but to a degree that doesn’t trigger TCP’s Fast retransmit algorithm.