Re: [PCN] PCN termination marking algorithm - consensus?

"Anna Charny (acharny)" <acharny@cisco.com> Thu, 28 February 2008 14:35 UTC

Return-Path: <pcn-bounces@ietf.org>
X-Original-To: ietfarch-pcn-archive@core3.amsl.com
Delivered-To: ietfarch-pcn-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4D52128C395; Thu, 28 Feb 2008 06:35:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.512
X-Spam-Level:
X-Spam-Status: No, score=-1.512 tagged_above=-999 required=5 tests=[AWL=-2.275, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_ORG=0.611, J_CHICKENPOX_24=0.6, J_CHICKENPOX_72=0.6, RDNS_NONE=0.1]
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 qxgKvkPiKhpe; Thu, 28 Feb 2008 06:35:08 -0800 (PST)
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 88E393A6999; Thu, 28 Feb 2008 06:35:08 -0800 (PST)
X-Original-To: pcn@core3.amsl.com
Delivered-To: pcn@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1B193A6974 for <pcn@core3.amsl.com>; Thu, 28 Feb 2008 06:35:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
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 L-yjS3QsUTHs for <pcn@core3.amsl.com>; Thu, 28 Feb 2008 06:35:02 -0800 (PST)
Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by core3.amsl.com (Postfix) with ESMTP id BBDD23A6999 for <pcn@ietf.org>; Thu, 28 Feb 2008 06:35:01 -0800 (PST)
Received: from rtp-dkim-2.cisco.com ([64.102.121.159]) by rtp-iport-2.cisco.com with ESMTP; 28 Feb 2008 09:34:54 -0500
Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [64.102.124.12]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id m1SEYsS2012327; Thu, 28 Feb 2008 09:34:54 -0500
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id m1SEYs9D000141; Thu, 28 Feb 2008 14:34:54 GMT
Received: from xmb-rtp-203.amer.cisco.com ([64.102.31.20]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 28 Feb 2008 09:34:54 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 28 Feb 2008 09:34:53 -0500
Message-ID: <BABC859E6D0B9A4D8448CC7F41CD2B070604DEFF@xmb-rtp-203.amer.cisco.com>
In-Reply-To: <75A199C5D243C741BF3D3F1EBCEF9BA503B345FA@E03MVZ1-UKDY.domain1.systemhost.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [PCN] PCN termination marking algorithm - consensus?
Thread-Index: Ach3oGcLq+pZ9d/iRpmXKw/VF5utxgA+v1bgACTdRVAAA5ND4AAzOVZwAABtUzAAAqJ58A==
From: "Anna Charny (acharny)" <acharny@cisco.com>
To: philip.eardley@bt.com, karagian@cs.utwente.nl, pcn@ietf.org
X-OriginalArrivalTime: 28 Feb 2008 14:34:54.0081 (UTC) FILETIME=[15555710:01C87A17]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=7146; t=1204209294; x=1205073294; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=acharny@cisco.com; z=From:=20=22Anna=20Charny=20(acharny)=22=20<acharny@cisco.c om> |Subject:=20RE=3A=20[PCN]=20PCN=20termination=20marking=20a lgorithm=20-=20consensus? |Sender:=20 |To:=20<philip.eardley@bt.com>,=20<karagian@cs.utwente.nl>, =20<pcn@ietf.org>; bh=AQbCZGOQwoPgfHlCiGJ1E8Wsz9mmXfdrnhHI9DR5Lxc=; b=qKQiLl9IZAXjiuUEZ4ccpLiVFSu8/8nBc8ByRNSQ2KYjYjulA9oJ6fT4bl sVt+UqcfApYpX0kperPdXjW7RVDnHEUWeL/oFRgg3G9ta7ZBXheci7UyGdFe M9mgH/gOlS;
Authentication-Results: rtp-dkim-2; header.From=acharny@cisco.com; dkim=pass ( sig from cisco.com/rtpdkim2001 verified; );
Subject: Re: [PCN] PCN termination marking algorithm - consensus?
X-BeenThere: pcn@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: PCN WG list <pcn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/pcn>, <mailto:pcn-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/pcn>
List-Post: <mailto:pcn@ietf.org>
List-Help: <mailto:pcn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcn>, <mailto:pcn-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: pcn-bounces@ietf.org
Errors-To: pcn-bounces@ietf.org

Hi all,

Sorry for coming late into the discussions. I was dealing with a
personal emergency and am now trying to sort through a really large
amount of email. 

Will comment on things as I go through and understand them.  
On this one:

>>I thought the idea was that lc-pcn would get into anna's comparison 
>>draft, ie in the same format & the same general level of understanding
>>of how it works (the latter being a pre-requisite to getting it in
there!). 

The new version of lc-pcn draft came too late to get into the comparison
draft this time.  Georgious did in fact send various short versions of
the behaviors to me before the new version of the lc-pcn draft came out,
but it was not clear still exactly how it works. Once the new lc-pcn
draft is discussed and understood by the WG, we will deal with plugging
it into the comparison draft.  

Anna 
________________________________

	From: pcn-bounces@ietf.org [mailto:pcn-bounces@ietf.org] On
Behalf Of philip.eardley@bt.com
	Sent: Thursday, February 28, 2008 8:27 AM
	To: karagian@cs.utwente.nl; pcn@ietf.org
	Subject: Re: [PCN] PCN termination marking algorithm -
consensus?
	
	

	We've got to have *one* metering function for termination (& one
for adm). 

	 

	I thought the idea was that lc-pcn would get into anna's
comparison draft, ie in the same format & the same general level of
understanding of how it works (the latter being a pre-requisite to
getting it in there!). 

	 

	Even so, I looked at the latest lc-pcn & S4.3.1 (interior node &
termination) and it says:

	The PCN-interior-nodes can measure the PHB aggregated PCN
traffic
	   that exceeds a configured-admissible-rate and mark this
excess PCN

	   traffic

	 

	which is exactly what the email below does.

	                          

	Please explain what youre concerned about!

	thanks.

	 

	Phil/

	 

	-----Original Message-----
	From: Georgios Karagiannis [mailto:karagian@cs.utwente.nl] 
	Sent: 28 February 2008 13:08
	To: Eardley,PL,Philip,CXR9 R; pcn@ietf.org
	Subject: RE: [PCN] PCN termination marking algorithm -
consensus?

	 

	Hi Phil

	 

	I am not in favour of using the token bucket as the only
metering function that can be used in PCN!

	Regarding the comparison, I think that if you want to base any
decission on it, then 

	the LC-PCN algorithm should also be included in this comparison!

	 

	Best regards,

	Georgios

	 

	 

	 

	 

	 

		 

		________________________________

				From: pcn-bounces@ietf.org
[mailto:pcn-bounces@ietf.org] On Behalf Of philip.eardley@bt.com
		Sent: woensdag 27 februari 2008 14:13
		To: pcn@ietf.org
		Subject: [PCN] PCN termination marking algorithm -
consensus?

		Here also is an attempt for consensus on the termination
marking behaviour.

		 

		 

		 If an interface of the PCN-domain performs PCN
Admission Marking then it performs three functions, which are outlined
in draft-ietf-pcn-architecture as follows:

		 
		   o  Packet classify - decide whether an incoming
packet is a PCN-
		      packet or not.  Another PCN WG document will
specify encoding,
		      using the DSCP and/or ECN fields.
		 
		   o  PCN-meter - measure the 'amount of PCN-traffic'.
The measurement
		      is made as an aggregate of all PCN-packets, and
not per flow.
		 
		   o  PCN-mark - algorithms determine whether to
PCN-mark PCN-packets
		      and what packet encoding is used (as specified in
another PCN WG
		      document).

		 

		These functions are now described in more detail.

		Note: The PCN-node MAY implement these three functions
on either its ingoing or outgoing interfaces. The same choice MUST be
made for every PCN-node in one PCN-domain. 

		[Lars has commented: do we need to allow this choice?]

		 

		Classify function:

		If a packet's ECN/DSCP fields have the value PCN, as
defined in [RFC-encoding], then it MUST be classified as a PCN-packet.
However, if the PCN-packet is already "termination marked", as defined
in [RFC-encoding], then the Meter function SHOULD NOT be performed. (*)

		If a packet's ECN/DSCP fields do not have the value PCN,
as defined in [RFC-encoding], then it MUST NOT be classified as a
PCN-packet.

		 

		Meter function:

		Note: The meter is described as a 'token bucket',
however the implementation is not standardised.

		 

		A packet classified as a PCN-packet MUST be metered as
follows. 

		The interface MUST have:

		[1] a configured bit rate, termed PCN-upper-rate

		[2] a meter for PCN-packets, which MUST have the
following behaviour:

		 

		a token bucket, operating in bits: 

		1A tokens are added at the PCN-upper-rate, to a maximum
TB.size

		1B tokens are removed equal to the size in bits of the
PCN-packet, to a minimum TB.size=0

		2 if TB.fill = 0, then the meter indicates "termination
mark" to the Mark function

		 

		Note: Step 1A can be triggered by a packet and so can be
done at the same time as Step 1B.

		Note: Step 2 can be performed before or after step 1

		 

		The following SHOULD be done (**) instead of Step 2
above (Step 2 is then superfluous).

		if TB.fill < maximum size of PCN-packet, then the meter
indicates "termination mark" to the Mark function

		The "maximum size of PCN-packet" is the MTU in bits of
any PCN-packets in the PCN-domain. 

		Note: Step 1B above is still performed. 

		 

		 

		Mark function:

		If the meter indicates to "termination mark" a
PCN-packet, then:

		the PCN-packet's ECN/DSCP fields MUST be set to the
codepoint "termination marked", as defined in [RFC-encoding]

		 

		 

		(*) Explanation: for CL termination (ie the termination
based on rates, rather than the 3SM termination based on marked pkts),
if the meter counts pkts that are already termination marked then
there'll be over-termination in the event of multiple bottlenecks.
However, since this option is probably more complicated to implement
than a normal classifier (?), I suggest it is a SHOULD.

		 

		(**) Explanation: this captures the point that Michael
makes in
http://www3.informatik.uni-wuerzburg.de/staff/menth/Publications/Menth08
-PCN-MFT.pdf
<http://www3.informatik.uni-wuerzburg.de/staff/menth/Publications/Menth0
8-PCN-MFT.pdf>  & Bob makes in
http://www.ietf.org/internet-drafts/draft-briscoe-tsvwg-byte-pkt-mark-02
.txt
<http://www.ietf.org/internet-drafts/draft-briscoe-tsvwg-byte-pkt-mark-0
2.txt>  Otherwise flows with big pkts get marked more than flows with
small pkts. However, since this option is more complicated to implement
than a normal token bucket, I suggest it is a SHOULD.

		 

		we could also add an example algorithm, such as that in
http://www.ietf.org/internet-drafts/draft-charny-pcn-comparison-00.txt
Fig 10.1
<http://www.ietf.org/internet-drafts/draft-charny-pcn-comparison-00.txt%
20Fig%2010.1>  on page 21.

		 

		Comments?

		phil

_______________________________________________
PCN mailing list
PCN@ietf.org
https://www.ietf.org/mailman/listinfo/pcn