Re: [lisp] Fwd: Comments about draft-cheng-lisp-shdht-01
Michael Hoefling <hoefling@informatik.uni-tuebingen.de> Fri, 27 July 2012 09:09 UTC
Return-Path: <hoefling@informatik.uni-tuebingen.de>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44C1621F855B for <lisp@ietfa.amsl.com>; Fri, 27 Jul 2012 02:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level:
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, J_CHICKENPOX_72=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QVvo5Hvk4NcG for <lisp@ietfa.amsl.com>; Fri, 27 Jul 2012 02:09:58 -0700 (PDT)
Received: from mx5.informatik.uni-tuebingen.de (mx5.Informatik.Uni-Tuebingen.De [134.2.12.32]) by ietfa.amsl.com (Postfix) with SMTP id ECAD121F850B for <lisp@ietf.org>; Fri, 27 Jul 2012 02:09:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id EEC27525F for <lisp@ietf.org>; Fri, 27 Jul 2012 11:09:54 +0200 (MEST)
X-Virus-Scanned: amavisd-new at informatik.uni-tuebingen.de
Received: from mx5.informatik.uni-tuebingen.de ([127.0.0.1]) by localhost (mx5.informatik.uni-tuebingen.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z8yhEOBJCFph for <lisp@ietf.org>; Fri, 27 Jul 2012 11:09:49 +0200 (MEST)
Received: from zcs-bs.informatik.uni-tuebingen.de (zcs-bs.Informatik.Uni-Tuebingen.De [134.2.12.62]) by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id 650F55282 for <lisp@ietf.org>; Fri, 27 Jul 2012 11:09:49 +0200 (MEST)
Received: from [134.2.11.130] (thanatos.Informatik.Uni-Tuebingen.De [134.2.11.130]) by zcs-bs.informatik.uni-tuebingen.de (Postfix) with ESMTP id B23754B77374 for <lisp@ietf.org>; Fri, 27 Jul 2012 11:09:49 +0200 (CEST)
Message-ID: <50125AFD.8070404@informatik.uni-tuebingen.de>
Date: Fri, 27 Jul 2012 11:10:21 +0200
From: Michael Hoefling <hoefling@informatik.uni-tuebingen.de>
Organization: Unversity of Tuebingen
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: lisp@ietf.org
References: <OFC04978AA.916C8EDC-ON48257A48.000FE95A-48257A48.0010AD27@zte.com.cn>
In-Reply-To: <OFC04978AA.916C8EDC-ON48257A48.000FE95A-48257A48.0010AD27@zte.com.cn>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [lisp] Fwd: Comments about draft-cheng-lisp-shdht-01
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lisp>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2012 09:09:59 -0000
Hello Li, Am 27.07.2012 05:00, schrieb cheng.li2@zte.com.cn: > In our drat, ETRs are still the authoritative source for mapping > information. > > In draft-ietf-lisp-23, according to "Map-Register Message Format" on > page 41, > there is a p bit which is called proxy-map-reply bit. When an ETR sends a > Map-Register Message requesting for the Map-Server to proxy Map-Reply, > it will > set the p bit to 1. > > In our draft, SHDHT Nodes could be considered as Map-Servers which > implement the "Proxy Map Reply" mode. If this is so then Map-Register messages with P-bit set are mandatory for SHDHT to work properly in the current status of the draft, right? > > Am 16.07.2012 11:43, schrieb cheng.li2@zte.com.cn: > > > Michael Hoefling <hoefling@informatik.uni-tuebingen.de> 写于 > 2012-07-12 > > > 22:32:36: > > > > 4. In Section 4.1 you state that a Node Routing Table lookup using a > > > > Resource ID returns the closest matching Partition ID. How > do you > > > > define "closest Partition ID"? What happens if the Node Routing > > > > Table has no match for the requested Resource ID? This case > is not > > > > covered in the document yet. > > > > > > > > > About "the closest Partition ID", please see the following > > > example(in section 3.1 of the -01 version). > > > > > > For example, for a data object whose Resource ID is 0x8213, the > > > Resource ID locates between Partition ID 0x7000 and Partition ID > > > 0x9000. As Partition ID 0x9000 is closer to Resource ID > 0x8213, the > > > data object will be stored and maintained on Node2 who is assigned > > > with the hash space segment indexed by Partition ID 0x9000. > > > > > > Consider about three Partition IDs 0x5000, 0x7000 and 0x9000. Based > on the > > > "closest" rule, hash space segments indexed by the Partition ID > 0x7000 may > > > be considered as [0x6000, 0x8000). > > > > Ok. From the text in the draft I still do not get it, but with the > > explanation in your reply, I think I might have understood it. Please > > verify whether my following own explanation is correct. > > > > If I get this right then every SHDHT node holds the same Node Routing > > Table? That is, every SHDHT node knows all Partition IDs assigned to all > > SHDHT nodes? > > > > With this assumptions I would interpret the "closest" rule as follows: > > If we have three consecutive Partition IDs a, b, and c which are the > > only Partition IDs in SHDHT for our example, then the range of each hash > > space segment is defined as follows: > > Partition ID a: [id(a)-d(c,a); id(a)+d(a,b)) > > Partition ID b: [id(b)-d(a,b); id(b)+d(b,c)) > > Partition ID c: [id(c)-d(b,c); id(c)+d(c,a)) > > with functions > > id(x): value of Partition ID x in hash space > > d(x,y): distance between Partition ID x and y in hash space > > > > Did I get this right? > > Almost correct. > > The space segment is defined as: > > Partition ID a: [id(a)-0.5*d(c,a); id(a)+0.5*d(a,b)) > Partition ID b: [id(b)-0.5*d(a,b); id(b)+0.5*d(b,c)) > Partition ID c: [id(c)-0.5*d(b,c); id(c)+0.5*d(c,a)) > with functions > id(x): value of Partition ID x in hash space > d(x,y): distance between Partition ID x and y in hash space > > Yes, my description in draft was not clear enough. I will modify it > in the next version. OK, I forgot the 0.5 while writing the mail. It would be good to include this in the draft. What happens in SHDHT if only a partition of the entire EID space is managed using SHDHT, i.e., there exist larger gaps between Partition IDs? I guess this was my initial intention to ask how the size of hash space segments are determined in SHDHT. Regards, Michael -- Dipl.-Inform. Michael Hoefling, M.Sc. University of Tuebingen Faculty of Science Department of Computer Science Chair of Communication Networks Sand 13, 72076 Tuebingen, Germany phone: (+49)-7071/29-70507, fax: (+49)-7071/29-5220 mailto: hoefling@informatik.uni-tuebingen.de http://kn.inf.uni-tuebingen.de/staff/hoefling
- [lisp] Fwd: Comments about draft-cheng-lisp-shdht… cheng.li2
- Re: [lisp] Fwd: Comments about draft-cheng-lisp-s… Noel Chiappa
- Re: [lisp] Fwd: Comments about draft-cheng-lisp-s… Michael Hoefling
- Re: [lisp] Fwd: Comments about draft-cheng-lisp-s… Michael Hoefling
- Re: [lisp] Fwd: Comments about draft-cheng-lisp-s… Noel Chiappa
- [lisp] 答复: Re: Fwd: Comments about draft-cheng-li… cheng.li2