Re: [PSAMP] PSAMP-INFO IE realtiveError

Paul Aitken <paitken@cisco.com> Thu, 07 August 2008 08:57 UTC

Return-Path: <psamp-bounces@ietf.org>
X-Original-To: psamp-archive@lists.ietf.org
Delivered-To: ietfarch-psamp-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 40C0B3A6B06; Thu, 7 Aug 2008 01:57:41 -0700 (PDT)
X-Original-To: psamp@core3.amsl.com
Delivered-To: psamp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 250F13A6B06 for <psamp@core3.amsl.com>; Thu, 7 Aug 2008 01:57:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.345
X-Spam-Level:
X-Spam-Status: No, score=-6.345 tagged_above=-999 required=5 tests=[AWL=0.254, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 c4jOsmW7NSFQ for <psamp@core3.amsl.com>; Thu, 7 Aug 2008 01:57:38 -0700 (PDT)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id 3FAB93A6B00 for <psamp@ietf.org>; Thu, 7 Aug 2008 01:57:38 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.31,319,1215388800"; d="scan'208";a="16465926"
Received: from ams-dkim-1.cisco.com ([144.254.224.138]) by ams-iport-1.cisco.com with ESMTP; 07 Aug 2008 08:57:27 +0000
Received: from ams-core-1.cisco.com (ams-core-1.cisco.com [144.254.224.150]) by ams-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m778vLju022653; Thu, 7 Aug 2008 10:57:21 +0200
Received: from cisco.com (mrwint.cisco.com [64.103.71.48]) by ams-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m778vLu7008314; Thu, 7 Aug 2008 08:57:21 GMT
Received: from [10.61.80.226] (ams3-vpn-dhcp4323.cisco.com [10.61.80.226]) by cisco.com (8.11.7p3+Sun/8.8.8) with ESMTP id m778vJe03391; Thu, 7 Aug 2008 09:57:20 +0100 (BST)
Message-ID: <489AB8F2.2050800@cisco.com>
Date: Thu, 07 Aug 2008 09:57:22 +0100
From: Paul Aitken <paitken@cisco.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11
MIME-Version: 1.0
To: "Zseby, Tanja" <Tanja.Zseby@fokus.fraunhofer.de>
References: <804B13F8F3D94A4AB18B9B01ACB68FA101F5A5F9@EXCHSRV.fokus.fraunhofer.de>
In-Reply-To: <804B13F8F3D94A4AB18B9B01ACB68FA101F5A5F9@EXCHSRV.fokus.fraunhofer.de>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=6477; t=1218099441; x=1218963441; c=relaxed/simple; s=amsdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=paitken@cisco.com; z=From:=20Paul=20Aitken=20<paitken@cisco.com> |Subject:=20Re=3A=20PSAMP-INFO=20IE=20realtiveError |Sender:=20; bh=AubtHcO5uqtL/ezs+TJnzCIzoV6tvEa5LgaQbZFwDDI=; b=k4w7C2+wCpdkKk681oMItJ1M42EwlOUs8nIJ+ANlJI9fHN1mtip1etGktO jK+93JL+KgwLKjdQD7nCZFhz1oyzIvZZYBrHXmv5uqpoAKjJsbEpGRRg717x wCUeO0PiJh;
Authentication-Results: ams-dkim-1; header.From=paitken@cisco.com; dkim=pass ( sig from cisco.com/amsdkim1002 verified; );
Cc: psamp <psamp@ietf.org>, Juergen Quittek <Quittek@nw.neclab.eu>
Subject: Re: [PSAMP] PSAMP-INFO IE realtiveError
X-BeenThere: psamp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This mailing list is used for discussion within the IETF packet sampling \(PSAMP\) WG" <psamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/psamp>, <mailto:psamp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/psamp>
List-Post: <mailto:psamp@ietf.org>
List-Help: <mailto:psamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/psamp>, <mailto:psamp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: psamp-bounces@ietf.org
Errors-To: psamp-bounces@ietf.org

Tanja,

> Hi Benoit and Paul,
> 
>  
> 
> here my suggestions for clarification of the error IEs in PSAMP-INFO.
> 
> -    I suggest to rename the fixedError to absoluteError

Agreed.


> -    I suggest to introduce CI limits and level to also report 
> estimation errors
> 
> -    If it is still possible I would suggest to make a few small changes 
> in PSAMP-PROTO for consistency.
> 
> -    Upper and lower CI limits can be also specified as provided 
> absolute or relative limits. So we could also add 2 more IEs (for the 
> relative CI limits)
> 
>  
> 
> New description of IEs:
> 
>  
> 
> absoluteError
> 
> This Information Element specifies the maximum possible measurement 
> error of the reported value for a given Information Element. The 

We should indicate how to connect the *Error values to specific fields, 
eg by using an option with the specific field as scope. Else, someone 
may put the *Error elements adjacent to the relative fields in the data 
record - which could work, but is open to misinterpretation.


> absoluteError has the same unit as the information element it is 
> associated to. The real value of the metric can differ by absoluteError 

"with" ------^^

> (positive or negative) from the measured value. This information element 
> provides only the error for measured values. If an information element 
> contains an estimated values (from sampling) the confidence boundaries 
> and confidence level have to be provided instead.

I would name the IEs: "the confidence boundaries and confidence level 
have to be provided instead (with the upperCILimit, lowerCILimit and 
confidenceLevel).


> relativeError
> 
> This Information Element specifies the maximum possible measurement 
> error of the reported value for a given Information Element as 
> percentage of the measured value. The real value of the metric can 
> differ by relativeError percent (positive or negative) from the measured 
> value. This information element provides only the error for measured 
> values. If an information element contains an estimated values (from 
> sampling) the confidence boundaries and confidence level have to be 
> provided instead.

Again, as above, I would specifically name the IEs for this.


> upperCILimit
> 
> This Information Element specifies the upper limit of a confidence 
> interval. It is used to provide an accuracy statement for an estimated 
> value. The confidence limits define the range in which the real value is 
> assumed to be with a certain probability p. Confidence limits always 
> need to be associated with a confidence level that defines this 
> probability p. Please note that a confidence interval only provides a 
> probability that the real values lies within the limits. That means the 
> real value can lie outside the confidence limits.
>
>
>
> lowerCILimit
> 
> This Information Element specifies the lower limit of a confidence 
> interval. For further information see the description of upperCILimit.
> 
>  
> 
> confidenceLevel
> 
> This Information Element specifies the confidence level. It is used to 
> provide an accuracy statement for estimated values. The confidence level 
> provides the probability p with which the real value lies within a given 
> range. A confidence level always needs to be associated with confidence 
> limits that define the range in which the real value is assumed to be.

We should specify that upperCILimit, lowerCILimit and confidenceLevel 
are all required, and what to do if too few of them are provided.


> Changes to PSAMP-PROTO if still possible:
> 
>  
> 
> -    Rename fixedError to absoluteError
> 
> -    Slightly modify paragraph 2
> 
> OLD:
> 
> ...  The accuracy SHOULD be reported either with the fixedError 
> Information Element [PSAMP-INFO 
> <http://tools.ietf.org/html/draft-ietf-psamp-protocol-09#ref-PSAMP-INFO>], 
> or with the relativeError Information Element [PSAMP-INFO 
> <http://tools.ietf.org/html/draft-ietf-psamp-protocol-09#ref-PSAMP-INFO>].
> 
> NEW:
> 
> ... The accuracy for a measured information elelment SHOULD be reported 
> either with the fixedError Information Element [PSAMP-INFO 
> <http://tools.ietf.org/html/draft-ietf-psamp-protocol-09#ref-PSAMP-INFO>], 
> or with the relativeError Information Element [PSAMP-INFO 
> <http://tools.ietf.org/html/draft-ietf-psamp-protocol-09#ref-PSAMP-INFO>]. 
> The accuracy for an estimated information element (from sampling) SHOULD 
> be reported with confidence limits and confidence level.[PSAMP-INFO]

Agreed. I'd also like to add something indicating how this can be done, 
eg by using an option with the correct scope.


> 
>  
> 
> -    Remove the following paragraph (very important! Otherwise it would 
> lead to confusion):
> 
> For example, the accuracy of an Information Element to estimate the 
> accuracy of a sampled flow, for which the unit would be specified in 
> octets, can be specified with the relativeError Information Element with 
> the octet units.  In this case, the error interval is the Information 
> Element value +/- the value reported in the relativeError times the 
> reported Information Element value.
> 
>  
> 
> -    Avoid the term error interval
> 
> OLD:
> 
> In this case, the error interval is the Information Element value +/- 
> the value reported in the fixedError.
> 
> NEW:
> 
> In this case, the real values lies within the range of the Information 
> Element value +/- the value reported in the absoluteError.
> 
>  
> 
>  
> 
> -    Remove the following paragraph (since absolute or relative error 
> are just different representations I would not gain something if I 
> report both)
> 
> Alternatively to reporting either the fixedError Information Element or 
> the relativeError Information Element in the Accuracy Report 
> Interpretation, both Information Elements MAY be present.  This scenario 
> could help in more complex situations where the system clock drifts, on 
> the top of having its own accuracy, during the duration of a measurement.

The intention was to say that the clock is 5 minutes slow, +/- 10 
seconds - so there's both an absolute error and a relative error.


> Sorry for the late comments, I was quite busy with PSAMP-TECH before...

Thanks for your input!


-- 
Paul Aitken
Cisco Systems Ltd, Edinburgh, Scotland.
_______________________________________________
PSAMP mailing list
PSAMP@ietf.org
https://www.ietf.org/mailman/listinfo/psamp