Re: [sip-overload] draft-ietf-soc-overload-control-07 section 6.3 algorithm

"Vijay K. Gurbani" <vkg@bell-labs.com> Thu, 08 March 2012 20:44 UTC

Return-Path: <vkg@bell-labs.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 0CB2821E8039 for <sip-overload@ietfa.amsl.com>; Thu, 8 Mar 2012 12:44:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.941
X-Spam-Level:
X-Spam-Status: No, score=-106.941 tagged_above=-999 required=5 tests=[AWL=-0.341, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 ksugFuqGiMXt for <sip-overload@ietfa.amsl.com>; Thu, 8 Mar 2012 12:44:05 -0800 (PST)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 10AEA21E8032 for <sip-overload@ietf.org>; Thu, 8 Mar 2012 12:44:00 -0800 (PST)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id q28KhrYG018582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 8 Mar 2012 14:43:53 -0600 (CST)
Received: from umail.lucent.com (umail-ce2.ndc.lucent.com [135.3.40.63]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id q28Khqe5010020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Mar 2012 14:43:53 -0600
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.238.235]) by umail.lucent.com (8.13.8/TPES) with ESMTP id q28Khqoj006822; Thu, 8 Mar 2012 14:43:52 -0600 (CST)
Message-ID: <4F591B1C.1080205@bell-labs.com>
Date: Thu, 08 Mar 2012 14:48:28 -0600
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1
MIME-Version: 1.0
To: Eric McMurry <emcmurry@estacado.net>
References: <D05CF57C-B7B8-4187-BF55-70426DB3762D@estacado.net> <4F57B393.3020702@nostrum.com> <4F58F595.9070107@bell-labs.com> <4F58FACB.2020602@nostrum.com> <4F5902D9.1080006@bell-labs.com> <4F5904A0.5090709@nostrum.com> <4F5908C1.8060709@bell-labs.com> <4F5910BE.2010505@nostrum.com> <B08E6182-30D0-4590-9AE2-2A9D62F466BB@estacado.net>
In-Reply-To: <B08E6182-30D0-4590-9AE2-2A9D62F466BB@estacado.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12
Cc: sip-overload@ietf.org
Subject: Re: [sip-overload] draft-ietf-soc-overload-control-07 section 6.3 algorithm
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: Thu, 08 Mar 2012 20:44:06 -0000

On 03/08/2012 02:31 PM, Eric McMurry wrote:
> I agree with this sentiment.  I think I (and probably Adam) were
> coming from the assumption that the algorithm described in 6.3 was
> for clients, based on the start of the section:
>
> This section describes a default algorithm that a SIP client can to
> throttle SIP traffic going downstream by the percentage loss value
> specified in the "oc" parameter.

Eric: Understood.  However, because SIP is so rich, a SIP client
could be part of the proxy as well.  When I was doing work in the
sipclf specification, I was told to simply call it a SIP client
instead of "the SIP client part of a proxy..."

Of course, I can make it clear in the overload draft that wherever
"SIP client" is mentioned, it could mean a SIP UAC or proxy.

[...]
> So, I think a couple of algorithms are in order.  The first provided
> by the doc along with Adam's modifications, and a second describing
> proxy behavior.

My contention is that the algorithm in the document and the one I
modified based on your and Adam's input is the most general algorithm;
i.e., one corresponding to the proxy processing (I can add more
background text saying that get_sip_msg() gets a SIP message from the
proxy's processing queue, etc.)  If we do a decent job at specifying
the most complex of the algorithms, implementers will know what to
do for the simpler cases.

Now the question is, did we (or I) do a decent job of specifying the
most complex of the algorithms?  I think I did, but it is clear that
there is still some work to be done.

I fear that providing multiple algorithms or descriptions will simply
create more questions and problems.  The focus should be on the
overload control behaviour vis-a-vis percentage of messages to drop and
what to do when there aren't enough of category 1 messages, etc.  The
redone algorithm I posted that includes your and Adam's comments
improves on the one in the document, I believe.  But clearly, we all
have to consent that it is good enough so we can get the work finished.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web:   http://ect.bell-labs.com/who/vkg/