Re: [IPFIX] Export of long lived flow information

Paul Aitken <paitken@cisco.com> Wed, 24 October 2012 09:39 UTC

Return-Path: <paitken@cisco.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2601221F8A89 for <ipfix@ietfa.amsl.com>; Wed, 24 Oct 2012 02:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.519
X-Spam-Level:
X-Spam-Status: No, score=-10.519 tagged_above=-999 required=5 tests=[AWL=0.080, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 qAxarHVA8+CB for <ipfix@ietfa.amsl.com>; Wed, 24 Oct 2012 02:39:45 -0700 (PDT)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by ietfa.amsl.com (Postfix) with ESMTP id 4568B21F8A62 for <ipfix@ietf.org>; Wed, 24 Oct 2012 02:39:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=961; q=dns/txt; s=iport; t=1351071585; x=1352281185; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=Mv+R0lAVUP7TMUeEmTBwjBCHBEII/BFnNB4fB1Jenws=; b=bh+O9bhaRea61K2dwfFZhRSGl78YLwBYWLyVHCv1GGDeG/XV+zk4Lpkx 3mwPk0VDL+ldUg83RpB/+lr1u2kTIai6tIQq1yBm2oXP3VyGFku3YCk1t GNKytQ5JGEdGF3N9dU+mJ4Rw69MDBoKHdg+q8S1cIL4eDn5eehGy/hRIj c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABW2h1CQ/khR/2dsb2JhbABEwXyBCIIeAQEBAwESASVAAQULCyEWDwkDAgECAUUGDQEHAQEeh1wGmx6gAJJLA5VzhWSIaoFrgnA
X-IronPort-AV: E=Sophos;i="4.80,639,1344211200"; d="scan'208";a="77710362"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-2.cisco.com with ESMTP; 24 Oct 2012 09:39:44 +0000
Received: from [144.254.153.39] (dhcp-144-254-153-39.cisco.com [144.254.153.39]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q9O9dhV1007491; Wed, 24 Oct 2012 09:39:44 GMT
Message-ID: <5087B761.9090405@cisco.com>
Date: Wed, 24 Oct 2012 10:39:45 +0100
From: Paul Aitken <paitken@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: Brian Trammell <trammell@tik.ee.ethz.ch>
References: <OF96D061AA.F7F6CDD4-ONCA257AA0.00772818-4A257AA0.0078DF60@au1.ibm.com> <D50FAC55-C109-4A96-A471-538F27F9C2D9@tik.ee.ethz.ch> <OF30095AE1.689CF5C8-ONCA257AA1.001FB2C7-4A257AA1.00211D2B@au1.ibm.com> <26E338E1-DB5E-4270-BE24-9E6294A0FE68@tik.ee.ethz.ch>
In-Reply-To: <26E338E1-DB5E-4270-BE24-9E6294A0FE68@tik.ee.ethz.ch>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: John Court <johnwcrt@au1.ibm.com>, ipfix@ietf.org
Subject: Re: [IPFIX] Export of long lived flow information
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipfix>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Oct 2012 09:39:46 -0000

Brian,

> In your case, if you've _already got_ a persistent cache for other 
> reasons, then by all means use it. :) In that case you just need an 
> extra timestamp, to keep track of the time of the first packet 
> observed after the last export, in addition to the first "real" 
> packet, if you want to export "complete" (delta) flows.

A collector can obtain delta counts from a series of total counts.

It may be a little inaccurate if observations were not evenly 
distributed throughout the interval between total count reports. However 
this may not matter if the collector is simply reporting aggregates or 
averages within an interval.

eg, if the collector produces hourly reports, it can simply calculate 
the delta between the current packetTotalCount and the packetTotalCount 
an hour ago, without being concerned whether the packets arrived at the 
beginning of the hour, throughout the hour, or at the end of the hour.

P.