About Pastry

Home Forums PeerfactSim Forum About Pastry

This topic contains 3 replies, has 1 voice, and was last updated by  Thim Strothmann 2 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #968

    Jin Xu

    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?

    #969

    Kalman

    Dear 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

    #970

    Jin Xu

    Dear 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.0

    And 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,

    #971

    Thim Strothmann

    Dear 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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Comments are closed