Home › Forums › PeerfactSim Forum › About Pastry
- This topic has 3 replies, 1 voice, and was last updated 9 years, 4 months ago by Thim Strothmann.
-
AuthorPosts
-
May 21, 2015 at 8:44 pm #968Jin XuGuest
I used pastry.xml as the configuration and run the simulation.But when
I looked at the lookups.dat in output dir,values of Lookup hops are
all 0,what’s wrong with these?How to figure this problem?May 21, 2015 at 8:44 pm #969KalmanGuestDear Jin Xu,
please provide a little bit more information, which pastry.xml did you
use, could you paste your lookups.dat …
The question is: which application did induce events in the pastry
overlay, how is the workload. Were there some lookups initiated?Best regards
May 21, 2015 at 8:45 pm #970Jin XuGuestDear Kalman,
Thanks for your reply.
I just used the default pastry.xml in config dir,I found that there is
no lookup operation in the whole simulation.Here is my lookups.dat:
#time[s]
#time[min]
#PRESENT Peers
#TO_JOIN Peers
#CHURN Peers
#NumOfLookups
#Lookup hops(avg)
#Lookup hops(st.Dev.Minus)
#Lookup hops(st.Dev.Plus)
#Lookup hops(median)
0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0
60 1 100 0 0 0 0.0 0.0 0.0 0.0 0.0
120 2 100 0 0 0 0.0 0.0 0.0 0.0 0.0
180 3 100 0 0 0 0.0 0.0 0.0 0.0 0.0
240 4 100 0 0 0 0.0 0.0 0.0 0.0 0.0
300 5 100 0 0 0 0.0 0.0 0.0 0.0 0.0
360 6 100 0 0 0 0.0 0.0 0.0 0.0 0.0
420 7 100 0 0 0 0.0 0.0 0.0 0.0 0.0
480 8 100 0 0 0 0.0 0.0 0.0 0.0 0.0
540 9 100 0 0 0 0.0 0.0 0.0 0.0 0.0
600 10 100 0 0 0 0.0 0.0 0.0 0.0 0.0
660 11 100 0 0 0 0.0 0.0 0.0 0.0 0.0
720 12 100 0 0 0 0.0 0.0 0.0 0.0 0.0
780 13 100 0 0 0 0.0 0.0 0.0 0.0 0.0
840 14 100 0 0 0 0.0 0.0 0.0 0.0 0.0
900 15 100 0 0 0 0.0 0.0 0.0 0.0 0.0
960 16 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1020 17 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1080 18 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1140 19 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1200 20 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1260 21 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1320 22 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1380 23 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1440 24 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1500 25 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1560 26 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1620 27 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1680 28 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1740 29 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1800 30 100 0 0 0 0.0 0.0 0.0 0.0 0.0
1800 30 100 0 0 0 0.0 0.0 0.0 0.0 0.0And where can I initial some random lookups?I have read the src of
Chord and Pastry,but I didn’t find any function that initial the
lookups.Best regards,
May 21, 2015 at 8:45 pm #971Thim StrothmannGuestDear Jin Xu,
you could try two things, the first is add a filesharing application
to the xml-file, this should generate some lookups.
The second thing is that you initiate some lookups randomly. The
easiest way to do this is by taking a look at some other action diles
than pastry (I think napster does this).
(A third way would be a randomLookupGenerator, but sadly only Chord
has one at the moment)Best regards,
Thim -
AuthorPosts
- You must be logged in to reply to this topic.