[tor-bugs] #8897 [Tor]: Faster curve25519 implementation for ntor

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 9 16:23:46 UTC 2015


#8897: Faster curve25519 implementation for ntor
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:           |     Status:  needs_revision
  enhancement            |  Milestone:  Tor: 0.2.7.x-final
     Priority:  major    |    Version:
    Component:  Tor      |   Keywords:  tor-relay, performance, ntor,
   Resolution:           |  026-triaged-0, 027-triaged-1-in
Actual Points:           |  Parent ID:  #9662
       Points:           |
-------------------------+-------------------------------------------------

Comment (by nickm):

 I think I benchmarked this stuff a tiny bit, long long ago.  I think
 32-bit performance is mostly nice-to-have, but not critical. A performance
 improvement that only helps with 64 bit is fine.

 The numbers you give for the `-m64` cases seem like they're a 7-10%
 improvement in curve25519 processing time. I agree that's not necessarily
 low-hanging fruit for 0.2.7, but it doesn't mean we should write it off
 permanently. 7% here and 7% there can add up to real savings in the long
 run.

 That said, I'm not going to call this a critical optimization. :)

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


More information about the tor-bugs mailing list