[tor-bugs] #9664 [Tor]: Precompute ephemeral keypairs for ntor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Sep 4 15:28:22 UTC 2013
#9664: Precompute ephemeral keypairs for ntor
----------------------------------------+----------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor:
Component: Tor | 0.2.5.x-final
Keywords: tor-relay ntor performance | Version:
Parent ID: #9662 | Actual Points:
| Points:
----------------------------------------+----------------------------------
In the ntor handshake, on the server side, we need to generate a new y,Y
pair for every handshake. But there's no reason this needs to happen on
demand; instead, it could be lovely to do batches of them ahead of time,
so that we can respond to requests faster. This wouldn't lower our CPU
requirements when we were under load, but it might help us with circuit
creation latency under less-than-horrible loads.
Before we go ahead and do this, it might be clever to verify that there
are in fact times when cpuworkers are idle on busy servers.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9664>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list