[tor-bugs] #1749 [Core Tor/Tor]: Split relay and link crypto across multiple CPU cores

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 11 13:45:01 UTC 2019


#1749: Split relay and link crypto across multiple CPU cores
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:
                                                 |  chelseakomlo
     Type:  project                              |         Status:
                                                 |  assigned
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay, term-project-ideas,       |  Actual Points:
  threads, performance, 035-roadmap-master, 035  |
  -triaged-in-20180711                           |
Parent ID:                                       |         Points:  10
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by Hello71):

 I've been saying this whole time that my (admittedly very informal)
 benchmarks show that the time spent in relay crypto is not significant, as
 long as AES is hardware accelerated (e.g. AES-NI). I assume that this task
 will require a significant amount of effort to bang out the final design
 and implement it. Therefore, if someone wants to do this, it is my opinion
 that they should first make better benchmarks, or find better benchmarks
 (I heard dgoulet was doing something...) showing that with modern openssl
 and hardware accelerated AES, parallelization is required.

 Additionally: as I understand, the current design is highly single-
 threaded. In particular, the scheduler is a key component of modern Tor,
 and if I follow correctly, is sort of a bottleneck to full parallelism.

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


More information about the tor-bugs mailing list