Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Jouni Korhonen <jouni.nospam@gmail.com> Fri, 07 February 2014 10:21 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 093991A05F1 for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:21:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level:
X-Spam-Status: No, score=-1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, SPF_PASS=-0.001] autolearn=no
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 YiZsZdEpZexe for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:21:02 -0800 (PST)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by ietfa.amsl.com (Postfix) with ESMTP id DE3C11A05C7 for <dime@ietf.org>; Fri, 7 Feb 2014 02:21:01 -0800 (PST)
Received: by mail-lb0-f174.google.com with SMTP id l4so2488085lbv.33 for <dime@ietf.org>; Fri, 07 Feb 2014 02:20:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=TIz2C9OWfgrWlFngeMLK8+qLZWK8d1VZZiPB7S4w8QQ=; b=oG6r7JeCwiZvs2QyyqJKWFc+tfasWslh2wD+khDcjHbfIU3QEEA420xB5iIiG/ew+7 0498YPOmIEjtyZVFaJPK0B+MRWrvoqvUFg5BKni3vaKQ56xO1e94vOwKxK1hj3W9HSAG zy54onWtWf+7mMv5OkCn5apAIr2E0wB3IWKiEbJZnG6a0fVNcfarZcGUmjslNId4g3SY C2yauNvECn81CpRYPNMG3io7pOy29t7VX6ua6aNdP5sECDnC14ElE6Ixrd3buU8LzsGw cjM1/3M64NYO9hKtidcdXZrscJn+nC5o1HwW9Y4C93gZjNEEgqJ8eg41F3HR4R858/sI /U2Q==
X-Received: by 10.112.136.227 with SMTP id qd3mr452658lbb.55.1391768459839; Fri, 07 Feb 2014 02:20:59 -0800 (PST)
Received: from ?IPv6:2001:6e8:480:60:5cf:580e:21dd:449d? ([2001:6e8:480:60:5cf:580e:21dd:449d]) by mx.google.com with ESMTPSA id v5sm6098345laj.0.2014.02.07.02.20.45 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:20:46 -0800 (PST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <5BCBA1FC2B7F0B4C9D935572D9000668151B2236@DEMUMBX014.nsn-intra.net>
Date: Fri, 07 Feb 2014 12:20:47 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <D5537D63-8863-4F8E-8E61-A9ED93D957BB@gmail.com>
References: <066.b54c2f5aeb31c9b3f88c96008120290d@trac.tools.ietf.org> <24563_1391533955_52F11F82_24563_614_1_6B7134B31289DC4FAF731D844122B36E477563@PEXCVZYM13.corporate.adroot.infra.ftgroup> <52F25115.9030204@usdonovans.com> <32153_1391613236_52F25534_32153_19305_1_6B7134B31289DC4FAF731D844122B36E487240@PEXCVZYM13.corporate.adroot.infra.ftgroup> <5BCBA1FC2B7F0B4C9D935572D9000668151B2236@DEMUMBX014.nsn-intra.net>
To: "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>
X-Mailer: Apple Mail (2.1510)
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Feb 2014 10:21:04 -0000

On Feb 5, 2014, at 6:29 PM, "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com> wrote:

> I better like Lionel’s approach, but even that is not ok in the unlikely extreme case where we have two servers in a realm, S1 is not overloaded at all, S2 is 50% overloaded, and the aggregated realm overload is 25%. Why should a client do a 25% throttling when sending host type requests to the not at all overloaded S1?
> What is wrong with letting the client
> -not throttle host-type requests to S1,
> -throttle host type request to S2 with 50% and
> -throttle realm type requests wit 25%?

Isn't this what Lionel said below? I am OK with Lionel's
"wording" here.

- Jouni

>  
>  
>  
> From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext lionel.morand@orange.com
> Sent: Wednesday, February 05, 2014 4:14 PM
> To: Steve Donovan; dime@ietf.org
> Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> I tend to agree except that I would reverse the logic as for the routing principles: the Destination-host takes precedence when present over Destination-Realm. So the realm abatement is applied in any case except if there is an explicit report for the destination-host.
>  
> Lioenl
>  
> De : DiME [mailto:dime-bounces@ietf.org] De la part de Steve Donovan
> Envoyé : mercredi 5 février 2014 15:56
> À : dime@ietf.org
> Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> It makes more sense to me for a realm report to apply to all requests targeted for that realm, independent the type of request.  This implies that it would apply to requests that also have a Destination-Host specified.
> 
> If this is the definition of a realm report then we need to specify the interaction between realm reports and host reports.
> 
> I propose that throttling would occur on the realm first and the host second.  If a message targetted for the host is throttled as a result of realm overload then that throttled message would count as part of the reduction needed to address the host overload.  Messages to the host that survive realm abatement would then be candidates for host overload.
> 
> Steve
> 
> On 2/4/14 11:12 AM, lionel.morand@orange.com wrote:
> The case "Realm" as described below raises another question: is it prohibited for a realm to only rely on a global overload report for the whole realm, whatever the nodes inside this realm?
> If not, only OLR with the report type "realm" would be received by the reacting node. And the reduction indicated in the OLR will apply always for the realm, whatever the presence of Destination-host AVP in the request... except if an explicit report with the type "Host" as been received for this destination-host.
>  
> Does it make sense?
>  
> Lionel
>  
> -----Message d'origine-----
> De : dime issue tracker [mailto:trac+dime@trac.tools.ietf.org] 
> Envoyé : mardi 4 février 2014 09:55
> À : MORAND Lionel IMT/OLN
> Cc : dime@ietf.org
> Objet : [dime] #34: Semantics of OC-Report-Type AVP
>  
> #34: Semantics of OC-Report-Type AVP
>  
>  Text in clause 4.6  does not fully explain to which requests overload
>  treatment of a given report type applies.
>  Proposal:
>  
>     0  A host report.  The overload treatment should apply to requests
>        for which all of the following conditions are true:
>        a) The Destination-Host AVP is present in the request and its value
>           matches the value of the Origin-Host AVP of the received message
>           that contained the OC-OLR AVP.
>        b) The value of the Destination-Realm AVP in the request matches the
>           value of the Origin-Realm AVP of the received message
>           that contained the OC-OLR AVP.
>        c) The value of the Application-ID in the Diameter Header of the
>           request matches the value of the Application-ID of the Diameter
>           Header of the received message that contained the OC-OLR AVP.
>  
>  
>  
>     1  A realm report.  The overload treatment should apply to
>        requests for which all of the following conditions are true:
>        a) The Destination-Host AVP is absent in the request.
>        b) The value of the Destination-Realm AVP in the request matches the
>           value of the Origin-Realm AVP of the received message
>           that contained the OC-OLR AVP.
>        c) The value of the Application-ID in the Diameter Header of the
>           request matches the value of the Application-ID of the Diameter
>           Header of the received message that contained the OC-OLR AVP.
>  
>  
> _________________________________________________________________________________________________________________________
>  
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>  
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime