Re: [Dime] WGLC #3 for draft-ietf-dime-doic-rate-control-04

"Gunn, Janet P" <Janet.Gunn@csra.com> Wed, 01 February 2017 19:57 UTC

Return-Path: <Janet.Gunn@csra.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FCE712956B for <dime@ietfa.amsl.com>; Wed, 1 Feb 2017 11:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.098
X-Spam-Level:
X-Spam-Status: No, score=-5.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 Jw4ND8NAPUUg for <dime@ietfa.amsl.com>; Wed, 1 Feb 2017 11:57:22 -0800 (PST)
Received: from mailport8.csra.com (mailport8.csra.com [131.131.97.26]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74DAE12955A for <dime@ietf.org>; Wed, 1 Feb 2017 11:57:22 -0800 (PST)
Received: from csrrdu1exa035.corp.csra.com (HELO mail.csra.com) ([10.8.2.35]) by mailport8.csra.com with ESMTP/TLS/AES256-SHA; 01 Feb 2017 14:57:21 -0500
Received: from CSRRDU1EXM025.corp.csra.com (10.8.2.25) by CSRRDU1EXM026.corp.csra.com (10.8.2.26) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 1 Feb 2017 14:57:20 -0500
Received: from CSRRDU1EXM025.corp.csra.com ([10.8.2.25]) by CSRRDU1EXM025.corp.csra.com ([10.8.2.25]) with mapi id 15.00.1210.000; Wed, 1 Feb 2017 14:57:20 -0500
From: "Gunn, Janet P" <Janet.Gunn@csra.com>
To: Misha Zaytsev <misha.zaytsev.rus@gmail.com>, "jouni.nospam" <jouni.nospam@gmail.com>
Thread-Topic: [Dime] WGLC #3 for draft-ietf-dime-doic-rate-control-04
Thread-Index: AQHSdRfTQwXZQ7JxIkeDmA668M+ByaFLoeQAgAj42CA=
Date: Wed, 01 Feb 2017 19:57:20 +0000
Message-ID: <83203e6cd0e94ccc813a26d3289afee7@CSRRDU1EXM025.corp.csra.com>
References: <DD4AC7F3-F1B3-4891-9399-915F260533B5@gmail.com> <CABPQr27tFPL7qpB3JHz=z6i7Og0eeW6jigVuQDrLsGFxtV=HVQ@mail.gmail.com>
In-Reply-To: <CABPQr27tFPL7qpB3JHz=z6i7Og0eeW6jigVuQDrLsGFxtV=HVQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.136.2.8]
Content-Type: multipart/alternative; boundary="_000_83203e6cd0e94ccc813a26d3289afee7CSRRDU1EXM025corpcsraco_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/cU0pBoEAFam314_AhfdSt02ACNQ>
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] WGLC #3 for draft-ietf-dime-doic-rate-control-04
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 01 Feb 2017 19:57:26 -0000

I agree with most of Misha's comments.

The one I do not completely agree with is this:

" Can't it we simplify the description and make it shorter at the same time?
Loss algorithm is about the case with a specific traffic rate. Thus, the amount of the abated traffic directly depends on its rate.
In this case the reporting node just says to a reacting one: "I want you to send less traffic".
While rate algorithm is about the traffic rate itself. In this case a reporting node says to a reacting one: "I want you to sent traffic slower""

I agree it would be good to make the description simpler and shorter.

But I do not agree with the suggestion that "Loss = less traffic" and "Rate = slower traffic".

Both Loss and Rate = less traffic.  It is just a difference in how the "less" is determined.

Loss = "reduce traffic BY x%"
Rate = "reduce traffic TO y messages per second"

When you have a number of sources, each of which has a relatively consistent message rate, though some may have higher rates than others, Loss makes sense.
- Because each is relatively consistent, reducing "BY x%" is likely to reduce the offered load to the appropriate level
- Using "BY x%" spreads the cuts "fairly" across the sources.

When you have a number of sources, each of which has a widely fluctuating ("bursty") message rate, Loss makes less sense.
- Because each source is bursty, reducing "BY x%" is likey to cut either too much (if the message rate drops) or not enough (if the message rate spikes)
- Using "TO y messages per second" ensures that the offered load will be reduced to the  appropriate level.
- It may or may not do it "fairly", depending on whether you give all the sources the same  requested rate, or if you adjust the requested rate based on the historical, long term, average rate of that source.

Janet
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Misha Zaytsev
Sent: Thursday, January 26, 2017 4:36 PM
To: jouni.nospam <jouni.nospam@gmail.com>
Cc: dime@ietf.org
Subject: Re: [Dime] WGLC #3 for draft-ietf-dime-doic-rate-control-04

Hi,

Here are my comments to the draft:

1. section 1.


If the service requests that result in Diameter transactions increase quickly...

2. section 1. corrected misprints


Consider the case where a reacting (?) node is handling 100 service

   requests per second, where each of these service requests results in

   one Diameter transaction being sent to a reporting node.  If the

   reporting node is approaching an overload state, or is already in an

   overload state, it will send a Diameter overload report requesting a

   percentage reduction in traffic sent.  Assume for this discussion

   that the reporting node requests a 10% reduction.  The reacting node

   will then abate (diverting or throttling) ten Diameter transactions per

   second, sending the remaining 90 transactions per second to the

   reporting node.

3. section 1, reporting nodes -> reporting node's


The reacting node will continue to honor the reporting node's request for a 10% reduction in traffic.

4. section 1, question

Can't it we simplify the description and make it shorter at the same time?
Loss algorithm is about the case with a specific traffic rate. Thus, the amount of the abated traffic directly depends on its rate.
In this case the reporting node just says to a reacting one: "I want you to send less traffic".
While rate algorithm is about the traffic rate itself. In this case a reporting node says to a reacting one: "I want you to sent traffic slower"

This is just an idea/proposal in which way the description can be simplified.
If this is the matter of preference, then OK.

Also, could it be clarified the meaning of the following statement?
What potential to make the situation worse is meant here?


This control feedback loop has the potential to make the situation worse.

5. section 5.1/general

report-type -> report type
DiameterID -> DiameterIdentity

6. section 5.5./general

Rate algorithm -> rate algorithm (if not at the beginning of the statement)

7. section 5.5

Probably "MUST" is to be used?


When sending an overload report for the rate algorithm, the OC-

   Maximum-Rate AVP MUST be included and the OC-Reduction-Percentage AVP MUST not

   be included.

8. section 5.6


Once a determination is made by the reacting node that an individual

   Diameter request is to be subjected to abatement treatment then the

   procedures for throttling and diversion defined in [RFC7683] and

   [I-D.ietf-dime-agent-overload] are applied.

9. section 6.1.1

Probably, it is better to use bit representation of 4, isn't it?


OLR_RATE_ALGORITHM (0x000000000000000100)

10. section 6.2.1 corrected misprints


The OC-Maximum-Rate AVP (AVP code TBD1) is of type Unsigned32 and

   describes the maximum rate that the sender is requested to send

   traffic.

11. section 7.1

To be honest, I do not see the value of the text in this section. It just formulates already defined things in a shorter form.
Is it really worth having it in the spec?

In general, let me state my personal opinion: I think we should take only really meaningful info from SIP RFC, not just pull the content with the appropriate changes to be inline with Diameter RFC7683...

12. section 7.2

It is clear that the reacting nodes may send less than the specified OC-Maximum-Rate value.
They should not send more than the specified OC-Maximum-Rate value, right?

Not sure what is the purpose of the 2nd paragraph...


Note that the AVP for the rate algorithm is an upper bound (in

   request messages per second) on the traffic sent by the reacting node

   to the reporting node.  The reacting node may send traffic at a rate

   significantly lower than the upper bound, for a variety of reasons.



   In other words, when multiple reacting nodes are being controlled by

   an overloaded reporting node, at any given time some reacting nodes

   may receive requests at a rate below its target maximum Diameter

   request rate while others above that target rate.  But the resulting

   request rate presented to the overloaded reporting node will converge

   towards the target Diameter request rate.

The things below are already described in the above sections, aren't they?
If so, what is the reason behind to duplicate the info?


Upon detection of overload, and the determination to invoke overload

   controls, the reporting node MUST follow the specifications in

   [RFC7683] to notify its clients of the allocated target maximum

   Diameter request rate and to notify them that the rate overload

   abatement is in effect.



   The reporting node MUST use the OC-Maximum-Rate AVP defined in this

   specification to communicate a target maximum Diameter request rate

   to each of its clients.

13. Upper case in section titles for section 7.3.1, 7.3.2, 7.3.3, 8.1 and 8.2

14. section 9.  apply-> are applied (if my understanding is correct)


As such, all of the security considerations outlined in [RFC7683] are applied to the rate overload

   abatement mechanism.

If more issues are found, I will add them to the list later on.

Best regards,

/Misha



2017-01-23 4:27 GMT+03:00 jouni.nospam <jouni.nospam@gmail.com<mailto:jouni.nospam@gmail.com>>:
Folks,

This mail starts the WGLC #3 for draft-ietf-dime-doic-rate-control-04.
The WGLC ends next Sunday 2/5/2017 (PDT).

Please, read & review the draft, provide your support or opposition and/or comments to the list.

Just reminding.. no comments/reviews on the document, I cannot conclude the WGLC has passed.


Regards,
        Jouni
_______________________________________________
DiME mailing list
DiME@ietf.org<mailto:DiME@ietf.org>
https://www.ietf.org/mailman/listinfo/dime



This electronic message transmission contains information from CSRA that may be attorney-client privileged, proprietary or confidential. The information in this message is intended only for use by the individual(s) to whom it is addressed. If you believe you have received this message in error, please contact me immediately and be aware that any use, disclosure, copying or distribution of the contents of this message is strictly prohibited. NOTE: Regardless of content, this email shall not operate to bind CSRA to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of email for such purpose.