[chord] running dhash/chord on very few nodes (<10)
Alex Tumanov
atumanov at yahoo.com
Tue Jan 29 10:28:30 EST 2008
Thanks a lot for your reply, Emil. Unfortunately, I couldn't get the framework up as you suggested:
$ cat ./dhash.conf
dhash.efrags 3
dhash.dfrags 1
$ netstat -na |grep 10000
$ ./start-dhash --bindir /home/atumanov/build/chord --root /tmp/atumanov/dht/ --maintmode passingtone -O ./dhash.conf -v 16 -j myhost:10000 -p 10000
RUNNING: /home/atumanov/build/chord/lsd/adbd adbd -d ./db -S ./adbd-sock -q 0
RUNNING: /home/atumanov/build/chord/maint/maintd maintd -d ./maintdata -m passingtone -C ./maint-sock
RUNNING: /home/atumanov/build/chord/lsd/lsd lsd -d ./adbd-sock -S ./dhash-sock -R ./maint-sock -C ./lsd-sock -O ./dhash.conf -j myhost:10000 -p 10000
REAPED lsd (22212): exited with status 1
REAPED adbd (22198): exited normally
REAPED maintd (22199): exited normally
It immediately exits. I tried with the specification of -v {1,2,3,16} as well. Am I doing something wrong?
Incidentally, is there any way to make this all part of one daemon? Having multiple daemons is a big deterrent for deployment. I did read through the rationale and performance concerns, but still would much prefer having to deal with only one daemon responsible for all aspects of DHT functionality. After all, you could have multiple threads in the same process talking to each other via sockets - that would be pretty close (although, admittedly, not identical) to current multi-daemon behavior.
Thanks again for your time.
Alex.
P.S. same specs as before: 20071115 snapshot, sfslite 0.8.16, glibc: 2.5 & 2.6, kernel : 2.6.18, 2.6.21
----- Original Message ----
From: Emil Sit <sit at MIT.EDU>
To: Alex Tumanov <atumanov at yahoo.com>
Cc: Chord Maillist <chord at amsterdam.lcs.mit.edu>
Sent: Friday, January 25, 2008 5:28:57 PM
Subject: Re: [chord] running dhash/chord on very few nodes (<10)
On
Thu,
24
January
2008
at
00:14
(-0800),
Alex
Tumanov
wrote:
>
Is
it
possible
to
use
Chord/Dhash
on
just
two
nodes?
This
may
sound
This
should
work,
though
it
may
not
with
the
default
shipped
configuration
at
the
moment.
(Which
suggests
perhaps
that
the
default
configuration
should
be
changed...)
If
you
create
a
file
(e.g.,
dhash.conf)
with
dhash.efrags
3
dhash.dfrags
1
and
run
start-dhash
with
"--maintmode
passingtone",
and
"-O
dhash.conf",
you
should
be
able
to
run
with
1
(or
2
or
3)
vnodes
per
process.
>
P.S.
May
I
suggest
a
minor
change
to
start-dhash
script?
Dying
on
>
non-existent
directories
in
the
PATH,
IMHO,
is
unnecessary:
Yes,
this
is
probably
true,
thanks.
--
Emil
Sit
/
MIT
CSAIL
PDOS
/
http://pdos.csail.mit.edu/chord/
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the chord
mailing list