[sip-overload] Comments on draft-ietf-soc-overload-control-03: oc and oc-validity

<phil.m.williams@bt.com> Mon, 12 September 2011 11:02 UTC

Return-Path: <phil.m.williams@bt.com>
X-Original-To: sip-overload@ietfa.amsl.com
Delivered-To: sip-overload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C48D21F84FD for <sip-overload@ietfa.amsl.com>; Mon, 12 Sep 2011 04:02:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.262
X-Spam-Level:
X-Spam-Status: No, score=-3.262 tagged_above=-999 required=5 tests=[AWL=0.336, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8bLkKBd+NqL9 for <sip-overload@ietfa.amsl.com>; Mon, 12 Sep 2011 04:02:40 -0700 (PDT)
Received: from smtpe1.intersmtp.com (smtp61.intersmtp.com [62.239.224.234]) by ietfa.amsl.com (Postfix) with ESMTP id A515821F84DF for <sip-overload@ietf.org>; Mon, 12 Sep 2011 04:02:39 -0700 (PDT)
Received: from EVMHT63-UKRD.domain1.systemhost.net (10.36.3.100) by RDW083A005ED61.smtp-e1.hygiene.service (10.187.98.10) with Microsoft SMTP Server (TLS) id 8.3.159.2; Mon, 12 Sep 2011 12:04:42 +0100
Received: from EVMHT05-UKBR.domain1.systemhost.net (193.113.108.58) by EVMHT63-UKRD.domain1.systemhost.net (10.36.3.100) with Microsoft SMTP Server (TLS) id 8.3.159.2; Mon, 12 Sep 2011 12:04:41 +0100
Received: from EMV04-UKBR.domain1.systemhost.net ([169.254.2.127]) by EVMHT05-UKBR.domain1.systemhost.net ([193.113.108.58]) with mapi; Mon, 12 Sep 2011 12:04:41 +0100
From: <phil.m.williams@bt.com>
To: <vkg@bell-labs.com>, <sip-overload@ietf.org>
Date: Mon, 12 Sep 2011 12:04:32 +0100
Thread-Topic: Comments on draft-ietf-soc-overload-control-03: oc and oc-validity
Thread-Index: AcxxO8BGTrXEFPTJTb20JTprgH/ugg==
Message-ID: <E4B3F0DC6D953D4EBEC223BC86FE322C4A5D269E47@EMV04-UKBR.domain1.systemhost.net>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-GB
Content-Type: multipart/alternative; boundary="_000_E4B3F0DC6D953D4EBEC223BC86FE322C4A5D269E47EMV04UKBRdoma_"
MIME-Version: 1.0
Subject: [sip-overload] Comments on draft-ietf-soc-overload-control-03: oc and oc-validity
X-BeenThere: sip-overload@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP Overload <sip-overload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sip-overload>, <mailto:sip-overload-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip-overload>
List-Post: <mailto:sip-overload@ietf.org>
List-Help: <mailto:sip-overload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip-overload>, <mailto:sip-overload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Sep 2011 11:02:42 -0000

Vijay et al,

I have been reviewing draft-ietf-soc-overload-control-03 and have a few comments and proposals.

Some of the text referring to oc and oc-validity from different sections is rather ambiguous and sometimes inconsistent with assumptions implicitly being made during recent dialogues. And whilst reviewing this, it has highlighted a few questions for me, i.e. how do we want a server to:
*       indicate that there isn't any overload, i.e. control is not required,
*       immediately terminate control when it has previously been active?

We have debated the second of these recently and Vijay has included oc-validity=0 explicitly in draft 03 to cover it.

So I have put together some notes and proposals for discussion.

Specific text
-------------------

Consider:

4.3.  The oc-validity parameter
   ...
   A non-zero value for the "oc-validity" parameter MUST only be present
   in conjunction with an "oc" parameter.

Does this mean "oc" parameter value, or just the presence of "oc"? If a value is not provided a possible interpretation is to leave any control applied with the prior value and restart the oc-validity time interval.
In addition, although the above does not prohibit having oc-validity=0 without an "oc" parameter, later text would do so:

5.1.  Creating and updating the overload control parameters
   ...
   The "oc-validity" parameter MUST NOT be used in a Via header that did not
   originally contain an "oc" parameter when received...

although what follows immediately this suggests that it may be permissible:

                                                                                 ...Furthermore,
   when a SIP server receives a request with the topmost Via header
   containing only an "oc-validity" parameter without the accompanying
   "oc" parameter, it MUST ignore the "oc-validity"

[Aside: This is rather confusing since in this context 'SIP server' should be 'SIP client'. Can we change this?]

We also have, if the SIP client has previously added an "oc" parameter:

4.1.  The oc parameter
   ...
   The downstream server MUST add a value to the "oc" parameter in the
   response going upstream; this value represents a metric by which the
   requests arriving at the downstream server should be reduced.

But do we really need or want to make the addition of a value mandatory? E.g. when a server deems that control is inactive it would be unnecessary. I recall that this has been implicitly assumed in some recent dialogue in any case.

Some proposals
-------------------------

*       Most of the time overload will not be present, so why not allow the server to omit an oc value even if the client has inserted oc (currently forbidden)? If this method is not adopted then inactive overload would otherwise have to be indicated by sending oc-validity=0, since for some client restriction algorithms, such as rate-based, there is no natural 'off' oc value;
*       Currently in 4.3 there is no statement when the oc-validity has to be added, it just states 'is inserted'. Should this be made more precise?
*       We could allow the oc-validity to be added with an oc parameter, but without an oc parameter value. If control is not active at the client, then again it would be ignored (case above). If control is active, then if oc-validity>0 the oc-validity timer is restarted without changing the oc value; if oc-validity=0 control is terminated. [We could also allow the oc-validity to be added in the absence of an any oc parameter, and what is currently in the latter part of 5.1 assures us that it will be ignored, although the wording may need to be made more precise].

Views?

Regards,

Phil Williams