[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] forwarding of p2p queries

From: Glenn McGrath
Subject: [GNUnet-developers] forwarding of p2p queries
Date: Tue, 29 Apr 2003 23:45:01 +1000

Im trying to track down what i see as an excessive amount of p2p queries
initiated from my node.

To track it down i setup 3 fresh nodes isolated from the rest of the
net, let them idle for a while and made sure they knew about each other,
then restarted them to reset the stats.

node 1: no content, initiate search, and let it go for 40 minutes.
node 2: has content that is searched for.
node 3: no content, observer node.

I do a search request from node1, look for content i know is on node2,
these are the results.

Test A uses both udp and tcp transport.

node 1:
# p2p queries sent     : 7
# p2p queries received : 14

node 2:
# p2p queries sent     : 7
# p2p queries received : 15

node 3:
# p2p queries sent     : 7
# p2p queries received : 14

Test B uses only tcp transport, and only went for 1/2 as long.

node 1:
# p2p queries sent     : 6
# p2p queries received : 10

node 2:
# p2p queries sent     :  6
# p2p queries received : 11

node 3:
# p2p queries sent     :  5
# p2p queries received : 12

Firstly, these numbers dont simply add up.

Test A:
Total of 21 p2p queries sent, 43 recieved.

Test B:
Total of 17 p2p queries sent, 33 recieved.

In both tests there were about twice as many recieved queries as sent
queries, where did the extra queries come from ?

I initialy suspected that the queries were being sent on tcp and udp
(hence the 2 tests), but that is shown to be not the case.

The only other thing i can think of is that 1 p2p query sent is like a
mutlicast that is recived by both the other nodes, doesnt sonnd right

The other unexplained behaviour is that the observer node behaved the
same as the node doing the query in the first test, but not in the
second. But maybe that was just a timing error.

Is the routing method described in one of the papers. i had a quick look
and didnt see it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]