[tor-bugs] #14175 [Chutney]: chutney verify: report client, bridge, and HS performance

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 6 07:14:11 UTC 2015


#14175: chutney verify: report client, bridge, and HS performance
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  teor
         Type:           |     Status:  needs_review
  enhancement            |  Milestone:
     Priority:  normal   |    Version:
    Component:  Chutney  |   Keywords:  tor-perf SponsorR SponsorS tor-hs
   Resolution:           |  tor-client tor-bridge
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------
Changes (by teor):

 * status:  assigned => needs_review


Comment:

 I've refactored the code, added environmental variables to configure the
 options, and split it into commits:

 '''Branch:''' feature14175-chutney-performance-v2
 '''Repository:''' https://github.com/teor2345/chutney.git

 I've also added code to set the environmental variables from command-line
 arguments to `tor/src/test/test-network.sh`

 '''Branch:''' feature14175-chutney-performance-v2
 '''Repository:''' https://github.com/teor2345/tor.git

 The available options are (env variable for chutney, argument for test-
 network.sh):

   CHUTNEY_DATA_BYTES=n        sends n bytes per test connection (10
 KBytes)
   --bytes n

   CHUTNEY_CONNECTIONS=n       makes n test connections per client (1)
   --connections n

   CHUTNEY_HS_MULTI_CLIENT=1   makes each client connect to each HS (0)
   --hs-multi-client 1

 When enough data is transmitted, chutney verify reports:

   Single Stream Bandwidth: the speed of the slowest stream, end-to-end

   Overall tor Bandwidth: the sum of the bandwidth across each tor instance
   This approximates the CPU-bound tor performance on the current machine,
   assuming everything is multithreaded and network performance is
 infinite.

 Note: using --connections 7 or greater on a HS will trigger a verification
 failure due to #15937.

 These branches cover this task and all child tasks.

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


More information about the tor-bugs mailing list