[xrblock] Fw: Ralph Droms' Discuss on draft-ietf-xrblock-rtcp-xr-summary-stat-08:(with DISCUSS)

Qin Wu <bill.wu@huawei.com> Wed, 20 February 2013 08:42 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: xrblock@ietfa.amsl.com
Delivered-To: xrblock@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1348F21F86C3 for <xrblock@ietfa.amsl.com>; Wed, 20 Feb 2013 00:42:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.681
X-Spam-Level:
X-Spam-Status: No, score=-4.681 tagged_above=-999 required=5 tests=[AWL=-0.435, BAYES_00=-2.599, J_CHICKENPOX_37=0.6, MIME_BASE64_TEXT=1.753, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WVWRhqezqNFq for <xrblock@ietfa.amsl.com>; Wed, 20 Feb 2013 00:42:12 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 5065C21F86BE for <xrblock@ietf.org>; Wed, 20 Feb 2013 00:42:12 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.5-GA FastPath queued) with ESMTP id AOP91130; Wed, 20 Feb 2013 08:42:11 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.1.323.7; Wed, 20 Feb 2013 08:41:26 +0000
Received: from SZXEML411-HUB.china.huawei.com (10.82.67.138) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.1.323.7; Wed, 20 Feb 2013 08:42:10 +0000
Received: from w53375 (10.138.41.149) by szxeml411-hub.china.huawei.com (10.82.67.138) with Microsoft SMTP Server (TLS) id 14.1.323.7; Wed, 20 Feb 2013 16:42:06 +0800
Message-ID: <4682C19533E5430B9D305A9E5AD71F7A@china.huawei.com>
From: Qin Wu <bill.wu@huawei.com>
To: xrblock@ietf.org
Date: Wed, 20 Feb 2013 16:42:05 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: base64
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109
X-Originating-IP: [10.138.41.149]
X-CFilter-Loop: Reflected
Cc: xrblock-chairs@tools.ietf.org
Subject: [xrblock] Fw: Ralph Droms' Discuss on draft-ietf-xrblock-rtcp-xr-summary-stat-08:(with DISCUSS)
X-BeenThere: xrblock@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Metric Blocks for use with RTCP's Extended Report Framework working group discussion list <xrblock.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xrblock>, <mailto:xrblock-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xrblock>
List-Post: <mailto:xrblock@ietf.org>
List-Help: <mailto:xrblock-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xrblock>, <mailto:xrblock-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Feb 2013 08:42:14 -0000

Hi,
One issue raised in IESG review is about how to represent burst loss rate using 16-bit and how to
report total loss or burst lost rate of 1.0. In the current version -v08, we take OPTION1.
However Option1 introduces expensive multiply/divide operations by using 2^15-1 as multiplier,
Option 2 and Option 3 are proposed to avoid such expensive multiply/divide operations, i.e.,
using 2^15 or 2^16 as mutiplier and therefore only shift is needed.

However Option 3 just use 65535/65536 to approximate burst loss rate of 1.0 and can not be used to represent burst loss rate of 1.0.
Option 2 allow maximum value of 32768 and can use 32368/32368 to represent total loss.

Based on this discusion, I think we should go with Option 2. 
Please speak if you disagree or have other ways to address this. Thanks.

Regards!
-Qin
----- Original Message ----- 
From: "Barry Leiba" <barryleiba@computer.org>
To: "Qin Wu" <bill.wu@huawei.com>
Cc: "Ralph Droms" <rdroms.ietf@gmail.com>; "The IESG" <iesg@ietf.org>; <xrblock-chairs@tools.ietf.org>; <draft-ietf-xrblock-rtcp-xr-summary-stat@tools.ietf.org>
Sent: Wednesday, February 20, 2013 1:12 AM
Subject: Re: Ralph Droms' Discuss on draft-ietf-xrblock-rtcp-xr-summary-stat-08:(with DISCUSS)


> draft-ietf-xrblock-rtcp-xr-summary-stat-08
> 
> I've been thinking more about Ralph's and my DISCUSSes, and I see that
> there've been three suggested resolutions; I want to be sure we're all
> clear about what we're using and what the consequences of the change
> are.
> 
> There have been three suggestions: one that just fixes the text and
> leaves alone the algorithms for filling in the fields; one that
> changes the algorithms to multiplying by 32768 instead of 32767; and
> one that changes the algorithms to multiplying by 65536 instead of
> 32767.  Here are the proposed texts:
> 
> 
> OPTION 1 (fix text only):
> 
> NEW
>      The fraction of packets lost during bursts since the beginning of
>      reception, expressed as a fixed point number with the binary point
>      immediately to the right of the leftmost bit.  This value is
>      calculated by dividing Packets Lost in Bursts by Total Packets
>      Expected in Bursts, multiplying the result of the division by
>      32767 (0x7FFF), and keeping only the integer part.  The maximum
>      value is thus 7FFF.  Representing this as a formula:
> 
>      integer-part( (Packets Lost in Bursts / Total Packets Expected in
>                    Bursts) * 0x7FFF )
> 
>      If the measurement is unavailable, the value 0x8000 MUST be
>      reported.
> END
> 
> 
> OPTION 2 (fix text and multiply by 32768):
> 
> NEW
>      The fraction of packets lost during bursts since the beginning of
>      reception, expressed as a fixed point number with the binary point
>      immediately to the right of the leftmost bit.  This value is
>      calculated by dividing Packets Lost in Bursts by Total Packets
>      Expected in Bursts, multiplying the result of the division by
>      32768 (0x8000), and keeping only the integer part.  The maximum
>      value is thus 0x8000.  Representing this as a formula:
> 
>      integer-part( (Packets Lost in Bursts / Total Packets Expected in
>                    Bursts) * 0x8000 )
> 
>      If the measurement is unavailable, the value 0xFFFF MUST be
>      reported.
> END
> 
> 
> OPTION 3 (fix text and multiply by 65536):
> 
> NEW
>      The fraction of packets lost during bursts since the beginning of
>      reception, expressed as a fixed point number with the binary point
>      at the left edge of the field.  This value is calculated by
>      dividing Packets Lost in Bursts by Total Packets Expected in
>      Bursts, multiplying the result of the division by 65536 (0x10000),
>      limiting the maximum value to 65535 (to avoid overflow),
>      and keeping only the integer part.  The maximum value is thus
>      0xFFFF.
> 
>      integer-part( min(Packets Lost in Bursts / Total Packets Expected
>                    in Bursts) * 0x10000 )
> 
>      This field MUST be populated and MUST be set to zero if no packets
>      have been received.
> END
> 
> 
> Notes:
> 
> For option 1, this is just clarifying the text and not changing the
> algorithm, so there will be no effect on implementations, and the
> working group has already agreed to the algorithm.  On the other hand,
> the bit about the binary point isn't really correct because of the odd
> multiplier.
> 
> For option 2, the change in the multiplier makes the binary point
> accurate.  Because it's a change in the algorithm, it will make
> existing implementations slightly wrong and will require the working
> group to approve the change.  The degree of "wrong" is so small as to
> not really be significant, but the value for "unavailable" changes.
> 
> For option 3, the change in the multiplier makes the binary point
> accurate except in the case of total packet loss, and there's another
> bit of granularity in the value.  Because it's a change in the
> algorithm, it will make existing implementations slightly wrong and
> will require the working group to approve the change.  The degree of
> "wrong" is significant and the value for "unavailable" changes and is
> no longer distinguishable from "no packet loss".
> 
> Do I have the proposed text options correct?
> Which option are we going with (any of the three are OK with me)?
> Has the working group been consulted, and does it approve?
> 
> Barry