Re: [conex] WGLC for draft-ietf-conex-abstract-mech-06.txt

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Thu, 13 December 2012 14:20 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: conex@ietfa.amsl.com
Delivered-To: conex@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2391721F8967 for <conex@ietfa.amsl.com>; Thu, 13 Dec 2012 06:20:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.248
X-Spam-Level:
X-Spam-Status: No, score=-6.248 tagged_above=-999 required=5 tests=[BAD_CREDIT=0.001, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYqRoReeMX2n for <conex@ietfa.amsl.com>; Thu, 13 Dec 2012 06:20:50 -0800 (PST)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id 5FEA021F8AD5 for <conex@ietf.org>; Thu, 13 Dec 2012 06:20:48 -0800 (PST)
X-AuditID: c1b4fb30-b7f736d0000010de-10-50c9e440c16c
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id 20.27.04318.044E9C05; Thu, 13 Dec 2012 15:20:48 +0100 (CET)
Received: from ESESSMB205.ericsson.se ([169.254.5.136]) by ESESSHC003.ericsson.se ([153.88.183.27]) with mapi id 14.02.0318.001; Thu, 13 Dec 2012 15:20:47 +0100
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Bob Briscoe <bob.briscoe@bt.com>
Thread-Topic: [conex] WGLC for draft-ietf-conex-abstract-mech-06.txt
Thread-Index: AQHNx1njVg+tGahsb06Ne07rnDfUVZf0Q9ZwgB5u8XSAA+pQQIAAPsMugAAO0TA=
Date: Thu, 13 Dec 2012 14:20:46 +0000
Message-ID: <81564C0D7D4D2A4B9A86C8C7404A13DA05A2E9@ESESSMB205.ericsson.se>
References: <508630EE.8060305@it.uc3m.es> <9510D26531EF184D9017DF24659BB87F33F3643D42@EMV65-UKRD.domain1.systemhost.net> <9510D26531EF184D9017DF24659BB87F33F3644323@EMV65-UKRD.domain1.systemhost.net> <81564C0D7D4D2A4B9A86C8C7404A13DA04F232@ESESSMB205.ericsson.se> <201212102152.qBALqs50022813@bagheera.jungle.bt.co.uk> <81564C0D7D4D2A4B9A86C8C7404A13DA059F14@ESESSMB205.ericsson.se> <201212131324.qBDDOurW004789@bagheera.jungle.bt.co.uk>
In-Reply-To: <201212131324.qBDDOurW004789@bagheera.jungle.bt.co.uk>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.18]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsUyM+Jvja7Dk5MBBgsPCFpMX/+F0eLQtZ+M DkwebV8mM3ksWfKTKYApissmJTUnsyy1SN8ugSvj846ggu3KFf2fdrM2MP6Q7mLk5JAQMJHY 0fmQCcIWk7hwbz1bFyMXh5DAIUaJHQdXMUE4Sxglrp1uZgSpYhOwkVh56DuYLSKgInFs5wxm EJtZQFVi36NZLCC2sICzxPaTZ1ghalwkpt78B2RzANl+EqeWhoOYLEDlrQdiQCp4Bbwl+rs7 oFYdZJZonTEJbAwn0JhFL5rBxjAKyErc/36PBWKVuMStJ/OhjhaQWLLnPDOELSrx8vE/Vghb UeLjq32MEPU6Egt2f2KDsLUlli18zQyxWFDi5MwnLBMYxWYhGTsLScssJC2zkLQsYGRZxcie m5iZk15uvokRGCEHt/w22MG46b7YIUZpDhYlcV491f3+QgLpiSWp2ampBalF8UWlOanFhxiZ ODilGhg35hTyf9det/23tzdHTkFFsaLd1UsrPIyKmi5FvPuw0lz+OFtx87Sau5zc6SWr5hp4 3d17p/ut2B+vWVeWaXulf+dIn/Fx6kbeJenprWpbXM3zmmfu0jJicornLTl67fGNV1Pfvtkx kyOpccOJxkMH/yl5X9jTOLF4/sOU4/JKCnf/ya4xfZ+nxFKckWioxVxUnAgApeHvUl4CAAA=
Cc: "conex@ietf.org" <conex@ietf.org>
Subject: Re: [conex] WGLC for draft-ietf-conex-abstract-mech-06.txt
X-BeenThere: conex@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Congestion Exposure working group discussion list <conex.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/conex>, <mailto:conex-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/conex>
List-Post: <mailto:conex@ietf.org>
List-Help: <mailto:conex-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/conex>, <mailto:conex-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 14:20:53 -0000

Hi

Thanks for the explanation now I get it!

/Ingemar

> -----Original Message-----
> From: Bob Briscoe [mailto:bob.briscoe@bt.com]
> Sent: den 13 december 2012 14:25
> To: Ingemar Johansson S
> Cc: conex@ietf.org
> Subject: RE: [conex] WGLC for draft-ietf-conex-abstract-mech-06.txt
> 
> Ingemar,
> 
> At 09:46 13/12/2012, Ingemar Johansson S wrote:
> > > We should make it clear that the only state that re-creates
> > itself is the flow-
> > > ID state, not the credit associated with it. I wrote that
> > sentence (not Matt),
> > > and my motivation was to explain that a switch to a different
> > audit wouldn't
> > > be catastrophic for the flow. I wasn't trying to claim that it
> > would hand-over
> > > without a glitch. The audit would drop some packets, so the flow
> > > would send some Re-Echo-Loss, which would establish some credit and
> > > the flow could continue.
> >[IJ] Hmm, perhaps I did not get that part, what you say is that if the
> >audit drops a packet, that will count as a credit ?.  This credit thing
> >is is still a mystery so I probably need to get this explained
> >better...
> 
> OK, I think I promised Marcelo I would write a draft about audit, with a
> couple of example algorithms. I suspect that would help clear up many of
> these questions.
> 
> For now, example stateful and stateless audit pseudocode and evaluations
> are here:
> <http://www.bobbriscoe.net/pubs.html#refb-dis> (Section 7.6)
> 
> Here's an overview:
> 
> Very brief (for those who mostly get it already):
> ----------
> The audit function doesn't count its own losses when balancing Re-Echo-Loss
> against Loss, because they are /audit/ losses, not congestion losses.
> 
> So, if a flow is re-routed to a new audit function that doesn't hold any state
> about this flow, it will start discarding  a low level of packets (audit discard).
> This will trigger the sender to Re-Echo-Loss in the next round trip, which will
> make the flow's audit balance positive and stop further audit discards.
> 
> So, the flow has naturally created new state at the new audit function
> without the flow explicitly knowing that the burst of loss was due to a re-
> route into a new audit function which caused the flow's credit state at the
> original audit function to be lost.
> 
> 
> Brief but fuller explanation:
> ----------------------------
> Re-Echo is always at least a round trip behind (longer for e.g.
> RTCP). The audit function makes the sender responsible for making the
> allowance for its feedback delay, by having to mark sufficient credit packets.
> Then the audit function can just test instantaneous negativity, without
> having to allow for RTT or feedback delays that it doesn't know.
> 
> I'll assume a stateful audit function (stateless is possible, but it has to be less
> precise). For the duration of a flow, a stateful audit function counts bytes of
> different ConEx markings, and it will start dropping packets if
> * the balance of (Credit + Re-Echo-ECN  - ECN)  goes negative, or
> * the balance of (Credit + Re-Echo-Loss - Loss) goes negative. {See note}
> 
> Consider a re-route where a flow is switched to a different stateful audit
> function, and assume the audit functions don't hand-over their state.
> 
> * As soon as the flow suffers any loss or ECN in the network, the flow will go
> negative at the new audit function for at least a RTT, because it has no credit
> and no Re-Echo for at least a round trip.
> * So audit starts dropping packets (a very small but growing proportion).
> * Importantly, the audit doesn't count these discards as loss because they
> are its own /audit/ losses not congestion losses.
> * The sender gets the loss feedback from the receiver and sends some Re-
> Echo-Loss markings to balance.
> * These make the flow positive at the new audit function, because it didn't
> count its own discards.
> 
> So, the flow has naturally created new state at the new audit function
> without explicitly knowing that the burst of loss was due to a re-route.
> 
> 
> Cheers
> 
> 
> Bob
> 
> {Note: Let's set aside the question of how an audit function knows how
> much loss an upstream node has done - abstract-mech talks about that
> separately.}
> 
> 
> __________________________________________________________
> ______
> Bob Briscoe,                                BT Innovate & Design