[tor-bugs] #1944 [Torperf]: Set up a Torperf to a hidden service

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 25 10:23:14 UTC 2014


#1944: Set up a Torperf to a hidden service
-------------------------+----------------------
     Reporter:  arma     |      Owner:
         Type:  task     |     Status:  assigned
     Priority:  normal   |  Milestone:
    Component:  Torperf  |    Version:
   Resolution:           |   Keywords:  SponsorR
Actual Points:           |  Parent ID:  #2552
       Points:  3        |
-------------------------+----------------------

Comment (by asn):

 Great work! Thanks!
 Some thoughts from looking at the diagrams:

 a) Fetching a descriptor seems to take lots of time: it usually takes more
 time than actually receiving a 51200 bytes file over an HS circuit. BTW,
 have you checked the `HS_DESC` events that get triggered when the
 descriptor request gets launched and when it gets received? I would be
 curious to learn why descriptor fetching takes so much time, does it visit
 multiple HSDirs till it find the right one?

 b) As discussed in IRC yesterday, there is a step between "establish RP"
 and "connect to HS", which is establishing a circuit to the IP.
 Theoretically, this step should be measurable since we receive an
 INTRODUCE_ACK cell when it finishes. You told me in IRC, that sometimes
 you received RENDEZVOUS2 before INTRODUCE_ACK. Maybe the correct behavior
 in this case is that connection to the IP should be considered as finished
 when you have received either RENDEZVOUS2 or INTRODUCE_ACK? It's a pity we
 are missing this information, and it explains why the "connect to HS" step
 takes lots of time.

 c) OTOH, "connect to webserver" as expected doesn't take much time at all.
 Since the connection to the HS has been established back in "connect to
 HS".

 d) It's good to see that in the case of big files, we spend most of our
 time in "complete request". It would be very awkward if most of the time
 was spent in circuit establishment.

 However, for small files, it seems that actually fetching the file does
 not take that much time, and most of the time is spent during "fetch
 descriptor" and "connect to HS". I think small files are more interesting
 for the purposes of our research.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1944#comment:22>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list