Re: [sip-overload] FW: New Version Notification fordraft-partha-soc-overload-resource-availability-00

Volker Hilt <volker.hilt@alcatel-lucent.com> Fri, 11 June 2010 22:28 UTC

Return-Path: <volker.hilt@alcatel-lucent.com>
X-Original-To: sip-overload@core3.amsl.com
Delivered-To: sip-overload@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7DEB83A67C1 for <sip-overload@core3.amsl.com>; Fri, 11 Jun 2010 15:28:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.074
X-Spam-Level:
X-Spam-Status: No, score=-1.074 tagged_above=-999 required=5 tests=[AWL=-1.075, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Og9WIHTriam for <sip-overload@core3.amsl.com>; Fri, 11 Jun 2010 15:28:39 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by core3.amsl.com (Postfix) with ESMTP id 7BBFE3A6A33 for <sip-overload@ietf.org>; Fri, 11 Jun 2010 15:28:39 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id o5BMSf1D012387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Jun 2010 17:28:41 -0500 (CDT)
Received: from USNAVSXCHHUB02.ndc.alcatel-lucent.com (usnavsxchhub02.ndc.alcatel-lucent.com [135.3.39.111]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id o5BMSfXq005388; Fri, 11 Jun 2010 17:28:41 -0500
Received: from [127.0.0.1] (135.3.63.241) by USNAVSXCHHUB02.ndc.alcatel-lucent.com (135.3.39.111) with Microsoft SMTP Server (TLS) id 8.2.213.0; Fri, 11 Jun 2010 17:28:40 -0500
Message-ID: <4C12B893.2010907@alcatel-lucent.com>
Date: Fri, 11 Jun 2010 18:28:35 -0400
From: Volker Hilt <volker.hilt@alcatel-lucent.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: "Paul E. Jones" <paulej@packetizer.com>
References: <A11921905DA1564D9BCF64A6430A623902475DAA@XMB-BGL-411.cisco.com> <9ECCF01B52E7AB408A7EB8535264214101840F30@ftrdmel0.rd.francetelecom.fr> <A11921905DA1564D9BCF64A6430A623902475FA1@XMB-BGL-411.cisco.com> <4C090DDA.4050805@cisco.com> <000f01cb03f5$11b29c20$3517d460$@com> <4C091599.6080502@cisco.com> <033a01cb0676$4d0f3160$e72d9420$@com> <4C0DF1DF.4050208@ericsson.com> <008301cb0840$b7dc5330$2794f990$@com> <4C1194C9.50204@alcatel-lucent.com> <003801cb0984$72bb6d50$583247f0$@com>
In-Reply-To: <003801cb0984$72bb6d50$583247f0$@com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.9
Cc: "sip-overload@ietf.org" <sip-overload@ietf.org>
Subject: Re: [sip-overload] FW: New Version Notification fordraft-partha-soc-overload-resource-availability-00
X-BeenThere: sip-overload@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Overload <sip-overload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 11 Jun 2010 22:28:40 -0000

Paul,
>
> In regards to "draft-hilt-sipping-overload" ...
>>> inserting the "oc" values in the Via headers would indicate (to
>> whom?) "the
>>> percentage by which the load forwarded to this SIP server should be
>>> reduced".  This might make sense if there is a single peer device,
>> but what
>>> if there are 100 peers?  How much should any one of those peers
>> reduce load
>>> to the device?
>>
>> The nice thing about percentage numbers is that you can forward them to
>> all neighbors (e.g., 20%) without counting them. Overall you will get a
>> reduction of 20%. An alternative is to forward an absolute rate (say
>> 100cps). In this case, you need to split your overall capacity across
>> all upstream neighbors (i.e, know how many neighbors there are).
>
> I have a third alternative that I'd like to write up, as it requires a bit
> of explanation.
>
> I still don't quite understand how the percentage-based messages will work.
> If a device is sending no traffic, then it's a bit hard to reduce.  If it
> sends 1 call and gets a response that says to reduce traffic by 90%, what
> does that mean?  I understand what the behavior would be when there is an
> established flow of messages, but it's the "edge cases" that I don't fully
> understand how to handle.
>
A simple way of thinking about this is that the percentage value is the 
probability for each message to be rejected. I.e., if a SIP proxy needs 
to reduce load by 10%, it can to use a random process that rejects each 
message with a 10% probability and forwards it with 90% probability. 
Overall, this will lead to the desired reduction.

This is described in more detail in Section 9.2. of 
draft-hilt-soc-overload-design-00.

>>> This seemed a little confusing to me, even if there were
>>> just two peers.  And in the case of a single peer, it seems to only
>> work
>>> with percentages.  So, if a device tells a peer to reduce by 100%,
>> then
>>> traffic stops.  If it says "reduce by 0%", then what would prompt
>> traffic to
>>> flow?
>>
>> Not sure I understand your comment. Reduce by 0% would mean there is no
>> reduction, i.e., the proxy can pass along messages.
>
> There are two points of confusion I have:
> 1) What happens when a device is told to reduce by 100%?  Does that stop all
> messages?

This is a good point that probably needs clarification in the draft. 
Applying the percentage to all messages has the advantage that it works 
independent of the transaction type. I.e., you don't need to know that 
an INVITE transaction actually corresponds to 5 messages whereas a 
MESSAGE only to two. If you use the percentage on all messages, a 
reduction percentage of 100% would be catastrophic and something you 
should not experience if the overload control algorithm works properly. 
For any reduction, it is useful to have priorities, e.g., target new 
INVITEs before messages of existing dialoges are targeted.

> 2) When and how is it able to start message exchanges again?  If a device
> was told to reduce by 100%, but then we tell it to reduce by 0%, would that
> prompt traffic flow?  My point here was that if a device is sending 0
> traffic and is told to reduce by 0 (i.e., increase by 100%), the 0 * 100% =
> 0.
>
There is a discussion of this issue in Section 9.2. of 
draft-hilt-soc-overload-design-00.

Thanks,

Volker