[tor-bugs] #8897 [Tor]: Faster curve25519 implementation for ntor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 23 05:33:35 UTC 2013
#8897: Faster curve25519 implementation for ntor
-----------------------------+----------------------------------------
Reporter: nickm | Owner: nickm
Type: enhancement | Status: needs_review
Priority: major | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-relay performance ntor
Actual Points: | Parent ID: #9662
Points: |
-----------------------------+----------------------------------------
Comment (by nickm):
This and the #9663 changes together save 28% of the runtime for the server
side of the ntor handshake when built with gcc 4.7 on my 64-bit laptop
(136 vs 175 usec); 18% when built with clang (177 vs 213 usec); and 22%
(155 vs 200 usec) when built with gcc 4.2-llvm. (yeah, yeah, I know, we
should be using CPU counters. That's another issue.)
Note that using a recent gcc gets a pretty big performance boost in and of
itself with this code.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8897#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list