Re: [tsvwg] Switch testing at 25G with ECN --SCE Draft

Gorry Fairhurst <> Tue, 13 August 2019 07:38 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 052BA1200B1 for <>; Tue, 13 Aug 2019 00:38:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id SVf7Xfnv-jOY for <>; Tue, 13 Aug 2019 00:38:02 -0700 (PDT)
Received: from ( [IPv6:2001:630:42:150::2]) by (Postfix) with ESMTP id 0468A120091 for <>; Tue, 13 Aug 2019 00:38:01 -0700 (PDT)
Received: from MacBook-Pro-5.local ( []) by (Postfix) with ESMTPSA id DAE031B0015C; Tue, 13 Aug 2019 08:37:53 +0100 (BST)
Message-ID: <>
Date: Tue, 13 Aug 2019 08:37:53 +0100
From: Gorry Fairhurst <>
Organization: University of Aberdeen
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: "Scaglione, Giuseppe" <>
CC: Greg White <>, Jonathan Morton <>, "" <>
References: <> <> <AT5PR8401MB07070C672C9F519C05D2D3F599D60@AT5PR8401MB0707.NAMPRD84.PROD.OUTLOOK.COM> <> <AT5PR8401MB070700703FBF2318808238CF99D60@AT5PR8401MB0707.NAMPRD84.PROD.OUTLOOK.COM> <> <> <AT5PR8401MB07074B665CF7612FAD66E13899D60@AT5PR8401MB0707.NAMPRD84.PROD.OUTLOOK.COM> <> <AT5PR8401MB0707095986FAEB5F212F7B5199D30@AT5PR8401MB0707.NAMPRD84.PROD.OUTLOOK.COM>
In-Reply-To: <AT5PR8401MB0707095986FAEB5F212F7B5199D30@AT5PR8401MB0707.NAMPRD84.PROD.OUTLOOK.COM>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <>
Subject: Re: [tsvwg] Switch testing at 25G with ECN --SCE Draft
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 13 Aug 2019 07:38:05 -0000

It seems you are comparing with RFC3168, but have you looked also at the 
updated response in RFC8511. If you are using shallow marking, this 
would seem to be giving you the differentiation between buffer over flow 
(loss) and queue building (CE) that you mention?


On 12/08/2019, 16:28, Scaglione, Giuseppe wrote:
> Hi Greg,
> My humble opinion based on the testing presented is that with SCE remarking purely function of the queue depth, the TCP stack has a notion of congestion present in the TCP connection that is independent of the buffering capability of the switch queue. The TCP stack is seeing a "5%" of packet remarked for example, which means somewhere in the network some queue is seeing "some" oversubscription period.
> While with CE RFC3168 you know that remarking typically only starts after a X% of queue depth (user configured). And that X is function of the queue depth and memory available, and if the X is not 'tuned' you either get not optimal link utilization or packet drops.
> Basically, it seems like having an 'early warning' marking makes the SW implementation of the TCP algo easier and more predictable, instead of relying on a switch configuration of X.
> Yes -- more testing is required.
> Best Regards,
> Giuseppe
> -----Original Message-----
> From: Greg White []
> Sent: Friday, August 9, 2019 2:54 PM
> To: Scaglione, Giuseppe<>om>; Jonathan Morton<>
> Cc:;
> Subject: Re: [tsvwg] Switch testing at 25G with ECN --SCE Draft
> Agreed.  I would not expect any different result either, which begs the question why does SCE need two different signals (ECT(1) and CE) in a datacenter environment?
> -Greg
> On 8/9/19, 3:43 PM, "Scaglione, Giuseppe"<>  wrote:
>      Greg,
>      We are working -- and in beta -- with having the switch natively set SCE bits instead of CE and removing the iptable configuration on the target server.  Yet, I do not expect any different result since the TCP-SCE stack would react the same.
>      Regards,
>      Giuseppe Scaglione
>      -----Original Message-----
>      From: Greg White []
>      Sent: Friday, August 9, 2019 2:36 PM
>      To: Jonathan Morton<>om>; Scaglione, Giuseppe<>
>      Cc:;
>      Subject: Re: [tsvwg] Switch testing at 25G with ECN --SCE Draft
>      Right.  Per the SCE method, the switch would mark ECT(1) using a ramp, and then when the ramp would exceed 100% marking, it would change to using CE.
>      The implementation discussed here marks CE using a ramp, and when the ramp would exceed 100% marking, it changes to packet drop.  This, as you said, is simply RFC3168 ECN marking, not SCE ECN marking.
>      I was just trying to set the record straight.  There was a claim made that a switch vendor had implemented SCE-style packet marking in hardware at 25Gbps, which wasn't accurate.
>      -Greg
>      On 8/9/19, 2:58 PM, "Jonathan Morton"<>  wrote:
>          >  On 9 Aug, 2019, at 11:44 pm, Scaglione, Giuseppe<>  wrote:
>          >
>          >>>  Just to be super clear, this isn't a hardware implementation of SCE running at 25Gbps.
>          >
>          >  I am not sure I follow. The Test setup section of the paper clearly describes the hardware used -- severs, switch, cables.
>          >  What I cannot disclose at this point is the exact model and characteristics of the HPE Aruba Switch used. Yet, it is a "real" Ethernet Switch, providing 25Gbps connectivity, configured to do bridging across the four ports and implementing RFC3168 with the ECN remarking configuration described in my previous email and on the paper.
>          I think the issue is with the way the switch itself marks with CE, not ECT(1).  It's a limitation I think is worth acknowledging and, hopefully, finding a way to remove.
>           - Jonathan Morton