Re: [P2PSIP] comments on draft-maenpaa-p2psip-self-tuning

Jouni Mäenpää <jouni.maenpaa@ericsson.com> Tue, 24 February 2009 07:36 UTC

Return-Path: <jouni.maenpaa@ericsson.com>
X-Original-To: p2psip@core3.amsl.com
Delivered-To: p2psip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 68FF63A6991 for <p2psip@core3.amsl.com>; Mon, 23 Feb 2009 23:36:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level:
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, 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 EuFVBRYj8hrb for <p2psip@core3.amsl.com>; Mon, 23 Feb 2009 23:36:46 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id AF17C3A6946 for <p2psip@ietf.org>; Mon, 23 Feb 2009 23:36:44 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 3430F20CB7; Tue, 24 Feb 2009 08:37:02 +0100 (CET)
X-AuditID: c1b4fb3c-aaa84bb00000127c-17-49a3a39d4dfa
Received: from esealmw128.eemea.ericsson.se (unknown [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id F29202078F; Tue, 24 Feb 2009 08:37:01 +0100 (CET)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Feb 2009 08:37:01 +0100
Received: from mail.lmf.ericsson.se ([131.160.11.50]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Feb 2009 08:37:00 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 88F402330; Tue, 24 Feb 2009 09:37:00 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 4FC7D219D3; Tue, 24 Feb 2009 09:37:00 +0200 (EET)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 0008F219D2; Tue, 24 Feb 2009 09:36:59 +0200 (EET)
Message-ID: <49A3A39C.6010303@ericsson.com>
Date: Tue, 24 Feb 2009 09:37:00 +0200
From: Jouni Mäenpää <jouni.maenpaa@ericsson.com>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
MIME-Version: 1.0
To: Roni Even <ron.even.tlv@gmail.com>
References: <49a24950.05a0660a.670e.2b86@mx.google.com>
In-Reply-To: <49a24950.05a0660a.670e.2b86@mx.google.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-OriginalArrivalTime: 24 Feb 2009 07:37:00.0648 (UTC) FILETIME=[ADF09680:01C99652]
X-Brightmail-Tracker: AAAAAA==
Cc: p2psip@ietf.org
Subject: Re: [P2PSIP] comments on draft-maenpaa-p2psip-self-tuning
X-BeenThere: p2psip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Peer-to-Peer SIP working group discussion list <p2psip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/p2psip>
List-Post: <mailto:p2psip@ietf.org>
List-Help: <mailto:p2psip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Feb 2009 07:36:47 -0000

Hi Roni,

Thanks for your comments! See below for my answers.

> The first comment I have is related to the periodic and reactive
> stabilization.  The reload base draft is section 10.2 discuss the topic
> and mention that the current approach in the reload base draft is for
> reactive and that more input is needed. Yet section 10.7.2 describes
> periodic stabilization. I think that we need to decide on the approach
> for the base reload and if it is periodic we need to see if the text
> from the self tuning draft should fold to the base draft.

My understanding is that currently, the algorithm of the reload base
draft uses reactive stabilization for the predecessor and successor
lists, and periodic stabilization for the finger table. Our draft uses
periodic stabilization in all of the cases.

> 1.       In section 4.1 the update message includes the send-id. I am
> not sure why it is needed since the sender is attached to the receiving
> peer and I assume the receiver of the updates knows this information.
> This parameter is not part of the update message in the reload base draft.

You are right, the sender_id is not really needed. We will remove it in
the next version of the draft.

> 2.       In section 4.1 the update answer has an option to send the
> predecessor or successor lists. What is the benefit for it since the
> receiver is also part of the periodic stabilization and will need to
> send it anyhow, so this may be a duplicate of messages. I can see the
> use case for the message in the reactive stabilization case.

I guess you are saying that we could optimize (get rid of messages) by
merging the successor and predecessor stabilization procedures. The
reason we chose in the draft to send different Update requests for
predecessor stabilization and successor stabilization is that the
original Chord algorithm [1] specifies the predecessor aliveness check (
check_predecessor() ) and successor stabilization ( stabilize() )
operations separately. We are using the Update request and answer sent
by peer n to its predecessor p as part of the predecessor stabilization
procedure to implement the check_predecessor() procedure. Since the
algorithm specified in the draft uses multiple predecessor pointers
(unlike the original Chord, which maintains only one predecessor), we
extended the check_predecessor() procedure by returning the predecessor
list of peer p in the Update answer. This is done so that peer n can
stabilize its predecessor list with its predecessor.

Note that in the successor and predecessor stabilization procedures, the
Update request is empty in the sense that it does not carry any
successor or predecessor lists. The idea is that the receiver of the
Update request returns the information the sender is interested in in
the Update answer.

> 3.       I am not sure how a peer knows which topology is used in the
> overlay, is this a different overlay algorithm type that need to be
> registered in the IANA section.

Good point. It's a new overlay algorithm type. We will add the new type
to the IANA section in the next version of the draft.

> 4.       This draft defines  different parameters for update and update
> answer but uses the same message code name and I assume the same code
> value. Is that the approach and the peer knows the parameters based on
> the overlay algorithm type or should we have another code name and code
> value.

I would like to hear the opinions of the RELOAD authors on this. So far
we have been assuming that peers know the parameters based on the
overlay algorithm type.

Regards,
Jouni Mäenpää

[1] Stoica, I., Morris, R., Liben-Nowell, D., Karger, D., Kaashoek, M.,
Dabek, F., and H. Balakrishnan, "Chord: A Scalable Peer-to-peer Lookup
Service for Internet Applications", IEEE/ACM Transactions on Networking
Volume 11, Issue 1, 17-32, Feb 2003.