[tor-bugs] #11332 [Tor]: Get a fresh set of relay/exit profiles on 0.2.5.4-alpha or later; optimize accordingly.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 28 00:09:57 UTC 2014


#11332: Get a fresh set of relay/exit profiles on 0.2.5.4-alpha or later; optimize
accordingly.
------------------------+-----------------------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay performance 025-triaged
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-----------------------------------------------

Comment (by nickm):

 Here are the maximally simple instructions as I understand them.

  * Run Linux. Install perf.
  * (For call graphs only) Build Tor with -fno-omit-frame-pointer
  * Start a Tor server with DisableDebuggerAttachment 0 set
  * Wait for the server to get load
  * Find the PID of the Tor process; call it PID.
  * Run "perf record -p $PID"
    * (For call graphs only) Instead you might need something like "perf
 record --call-graph fp -a -g -p $PID"
  * After a while (an hour or so?), ctrl-C the 'perf record' command.  It
 will have written its results into perf.data.
  * Run "perf report --stdio > results".  Gzip that file and send it to
 nick.
    * (For call graphs only) You might need "perf report --call-graph -G
 --stdio > results".

 These instructions probably suck!  Please help me improve them.

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


More information about the tor-bugs mailing list