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

Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com> Tue, 11 February 2014 14:19 UTC

Return-Path: <maria.cruz.bartolome@ericsson.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 EA88A1A032D for <dime@ietfa.amsl.com>; Tue, 11 Feb 2014 06:19:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.851
X-Spam-Level:
X-Spam-Status: No, score=-3.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 lexsqkuH0Vav for <dime@ietfa.amsl.com>; Tue, 11 Feb 2014 06:19:42 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id C66271A03BB for <dime@ietf.org>; Tue, 11 Feb 2014 06:19:41 -0800 (PST)
X-AuditID: c1b4fb25-b7f038e000005d01-a0-52fa317cb2e7
Received: from ESESSHC013.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 83.6C.23809.C713AF25; Tue, 11 Feb 2014 15:19:40 +0100 (CET)
Received: from ESESSMB101.ericsson.se ([169.254.1.172]) by ESESSHC013.ericsson.se ([153.88.183.57]) with mapi id 14.02.0387.000; Tue, 11 Feb 2014 15:19:40 +0100
From: Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>
To: "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
Thread-Index: AQHPIYbAlWmMf1mPE0uklIAv2DU+a5qmwd9e///0FYCAACHDUIACsQCAgAA/36CAADI28IAEcC8AgAAIJACAAAnhgIABbLDg///ya4CAAEgwoA==
Date: Tue, 11 Feb 2014 14:19:39 +0000
Message-ID: <087A34937E64E74E848732CFF8354B9209773085@ESESSMB101.ericsson.se>
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> <D5537D63-8863-4F8E-8E61-A9ED93D957BB@gmail.com> <5BCBA1FC2B7F0B4C9D935572D9000668151B25AF@DEMUMBX014.nsn-intra.net> <087A34937E64E74E848732CFF8354B92097723D7@ESESSMB101.ericsson.se> <E194C2E18676714DACA9C3A2516265D202663C0C@FR712WXCHMBA11.zeu.alcatel-lucent.com> <32578_1392038726_52F8D345_32578_229_1_6B7134B31289DC4FAF731D844122B36E4974D3@PEXCVZYM13.corporate.adroot.infra.ftgroup> <E194C2E18676714DACA9C3A2516265D202663C4A@FR712WXCHMBA11.zeu.alcatel-lucent.com> <087A34937E64E74E848732CFF8354B9209772EF4@ESESSMB101.ericsson.se> <19874_1392116210_52FA01F2_19874_3990_1_6B7134B31289DC4FAF731D844122B36E499C4E@PEXCVZYM13.corporate.adroot.infra.ftgroup>
In-Reply-To: <19874_1392116210_52FA01F2_19874_3990_1_6B7134B31289DC4FAF731D844122B36E499C4E@PEXCVZYM13.corporate.adroot.infra.ftgroup>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsUyM+JvjW6N4a8gg7vPjCzm9q5gc2D0WLLk J1MAYxSXTUpqTmZZapG+XQJXxvTzwgVvOxgr7u6QbWB8kNfFyMkhIWAi0fujkQnCFpO4cG89 WxcjF4eQwCFGiWXfZrNDOEsYJZ7sOsgIUsUmYCdx6fQLoA4ODhEBZYnTvxxAwsIC9hJfb5xh BrFFBBwk1jw/yQJh10ms3fmCFcRmEVCVeNd0AGwMr4CvxNslK5kh5h/jkPi+eBMjiMMp0MYo sfDGc7BuRqCTvp9aA3Yes4C4xK0n86FOFZBYsuc8M4QtKvHy8T9WCFtJYu3h7SwQ9XoSN6ZO YYOwtSWWLXzNDLFZUOLkzCcsExhFZyEZOwtJyywkLbOQtCxgZFnFyJ6bmJmTXm60iREY+Ae3 /FbdwXjnnMghRmkOFiVx3g9vnYOEBNITS1KzU1MLUovii0pzUosPMTJxcEo1MLZodNirscrG Xpj/aKP83d+LWiIX3GMqn/i19d5qZZ3Kqgpdu5pPHTxljEtfLj05IU167734yPXWT0uYwqYd 7atw+anBscszbdeEHPbLr2vuif258H9BrkRRzPLVcwPFsnWy9OWEdzmfuiS5In6JcvvlU9MX 1wbzR4YVKsW1K2WHbtzBzzTnpBJLcUaioRZzUXEiANx0bUxKAgAA
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: Tue, 11 Feb 2014 14:19:48 -0000

Lionel,

About first case:

- If the reacting node has received an indication only for Realm traffic Reduction, apply Realm reduction is for any message, with Destination-Realm and with/without Destination-Host 

I do not agree on this, since if Destination Host is used, there is no reason to throttle messages if this Host has not provided any OLR.
This is in line with the example used from the beginning:
---------
..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%?
------------

And I think this is what JJ commented:
[JJ] there may be a misunderstanding somewhere, so good to try to clarify; coming back to Ulrich example, Host S1 is not overloaded, so reacting node has not received Host reduction OLR for S1. But as there  is a realm reduction, reacting node will reduce traffic with destination Host S1.

In my opinion, reducing traffic to S1 is wrong.

Regards
/MCruz

-----Original Message-----
From: lionel.morand@orange.com [mailto:lionel.morand@orange.com] 
Sent: martes, 11 de febrero de 2014 11:57
To: Maria Cruz Bartolome; dime@ietf.org
Subject: RE: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Hi maria-cruz,

JJ agreed on the following approach:

- If the reacting node has received an indication only for Realm traffic Reduction, apply Realm reduction is for any message, with Destination-Realm and with/without Destination-Host [JJ] there may be a misunderstanding somewhere, so good to try to clarify; coming back to Ulrich example, Host S1 is not overloaded, so reacting node has not received Host reduction OLR for S1. But as there  is a realm reduction, reacting node will reduce traffic with destination Host S1.
   
- If the reacting node has received an indication only for host traffic reduction, apply host reduction for messages containing a Destination-Host. No reduction for messages with only a Destination-Realm.
[JJ] OK
 
- If the reacting node has received both an indication for host traffic and for realm traffic reduction, only the realm reduction will apply for messages with only the Destination-Realm AVP and only the host reduction will apply for messages with the Destination-Host AVP (and the Destination-Realm AVP).
[JJ] OK, Host reduction prevails

In other words, as said earlier, the Host reduction prevails over realm reduction when the overloaded host is inside an overloaded realm and the reacting has received info about both type of overload.

What is the issue with this approach?

Regards,

Lionel

-----Message d'origine-----
De : DiME [mailto:dime-bounces@ietf.org] De la part de Maria Cruz Bartolome Envoyé : mardi 11 février 2014 11:49 À : dime@ietf.org Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Hello,
I agree with JJ:

- If the reacting node has received an indication only for Realm traffic Reduction, apply Realm reduction is for any message, with Destination-Realm and with/without Destination-Host [JJ] there may be a misunderstanding somewhere, so good to try to clarify; coming back to Ulrich example, Host S1 is not overloaded, so reacting node has not received Host reduction OLR for S1. But as there  is a realm reduction, reacting node will reduce traffic with destination Host S1.

[MCruz] And... if the request is sent to a Destination-Host, if there is any applicable OLR, it will be received immediately in the answer, and will be applicable from next request on.
Simple and robust in my opinion. Then, we do not need to evaluate whether we have OLR for Realm and/or Host, and even check their validity & applicability.



-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of TROTTIN, JEAN-JACQUES (JEAN-JACQUES)
Sent: lunes, 10 de febrero de 2014 15:00
To: dime@ietf.org
Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Hi Lionel 

Please see in line

-----Message d'origine-----
De : lionel.morand@orange.com [mailto:lionel.morand@orange.com] Envoyé : lundi 10 février 2014 14:25 À : TROTTIN, JEAN-JACQUES (JEAN-JACQUES); dime@ietf.org Objet : RE: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

I disagree and my proposal was somehow misunderstood.

I don't see the issue to have the following sequence:

- If the reacting node has received an indication only for Realm traffic Reduction, apply Realm reduction is for any message, with Destination-Realm and with/without Destination-Host [JJ] there may be a misunderstanding somewhere, so good to try to clarify; coming back to Ulrich example, Host S1 is not overloaded, so reacting node has not received Host reduction OLR for S1. But as there  is a realm reduction, reacting node will reduce traffic with destination Host S1.
   
- If the reacting node has received an indication only for host traffic reduction, apply host reduction for messages containing a Destination-Host. No reduction for messages with only a Destination-Realm.
[JJ] OK
 
- If the reacting node has received both an indication for host traffic and for realm traffic reduction, only the realm reduction will apply for messages with only the Destination-Realm AVP and only the host reduction will apply for messages with the Destination-Host AVP (and the Destination-Realm AVP).
[JJ] OK, Host reduction prevails

In other words, as said earlier, the Host reduction prevails over realm reduction when the overloaded host is inside an overloaded realm and the reacting has received info about both type of overload.

Lionel

-----Message d'origine-----
De : DiME [mailto:dime-bounces@ietf.org] De la part de TROTTIN, JEAN-JACQUES (JEAN-JACQUES) Envoyé : lundi 10 février 2014 13:56 À : dime@ietf.org Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Dear  all

I share Ulrich and MCruz views,
- Host OLR based control applies to requests where Destination Host is known
- Realm OLR based control applies to requests where Destination Host is not known (only the Destination realm).

I think it is simple, otherwise as MCruz indicated it complicates; e.g about the Ulrich's example where the Host S1 is not overloaded but the realm is overloaded. the client will not receive Host OLR reports from host S1 (so no explicit traffic reduction requested by S1), but according to Lionel comment, I understand  client will have to throttle the requests sent to S1 according to realm OLR, so how to avoid this.

JJacques

-----Message d'origine-----
De : DiME [mailto:dime-bounces@ietf.org] De la part de Maria Cruz Bartolome Envoyé : vendredi 7 février 2014 17:15 À : dime@ietf.org Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Dear all,

I am in favor of the proposal made by Ulrich in the sequence diagram he provided.
----
As a summary:
Consequently the reacting node will receive realm type OLRs from the agent and host type OLRs from the servers.
The received realm type OLR will be relevant for the reacting node when sending/throttling realm type requests; the received host type OLR will be relevant for the reacting node       when sending/throttling host type requests.
-----

It may occur though, that a Client has only received Realm type OLR, and then it has to send a request to one specific host, then the Client will not apply any restriction, but as soon as the response is received back, Client will update Host type OLR.  Same will apply when only Host type OLR has been received by Client.
The alternative will be to always send back from an Agent both Host OLR plus Realm OLR, but I do not think this is necessary and may complicate the solution.

Best regards
/MCruz

-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Wiehe, Ulrich (NSN - DE/Munich)
Sent: viernes, 07 de febrero de 2014 14:13
To: ext Jouni Korhonen
Cc: dime@ietf.org
Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP



-----Original Message-----
From: ext Jouni Korhonen [mailto:jouni.nospam@gmail.com]
Sent: Friday, February 07, 2014 11:21 AM
To: Wiehe, Ulrich (NSN - DE/Munich)
Cc: ext lionel.morand@orange.com; Steve Donovan; dime@ietf.org
Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP


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?
<Ulrich> no it is not</Ulrich>
 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

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

_________________________________________________________________________________________________________________________

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

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

_________________________________________________________________________________________________________________________

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.