[tor-bugs] #12169 [Tor]: Improve speed by fixing tor_memeq performance, bottleneck(s)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 1 18:12:06 UTC 2014


#12169: Improve speed by fixing tor_memeq performance, bottleneck(s)
------------------------+-----------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay performance
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-----------------------------------
Changes (by nickm):

 * status:  new => needs_review


Comment:

 Branch "bug12169_relay_check" fixes code in relay_digest_matches not to
 call tor_memneq().

 Branch "bug12169_faster_memeq" makes tor_memeq() much much faster by
 taking inputs 4 bytes at a time. It includes a benchmark.

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


More information about the tor-bugs mailing list