[chord] Some questions
Emil Sit
sit at MIT.EDU
Fri Nov 3 11:25:34 EST 2006
On Wed, 01 November 2006 at 00:08 (+0900), Hai Dao Le wrote:
> 1. How does 'findroute' work? I run this command in some nodes and get
> very similar results.
findroute simply asks the node to do a lookup.
> 2. Do you think I can use these results for calculating the path length,
> or even the stretch?
findroute should give you the path length. and from that, if you
have the pairwise latency matrix, you can calculate the stretch.
> 3. Where is the source code of lookup?
It's a little complicated and depends on which lookup
method you are using. You could start by looking in
route_chord.C. Ignore anything you see about upcalls
which are currently not used.
--
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/
More information about the chord
mailing list