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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 25 19:32:54 UTC 2018


#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                           |
Parent ID:                                       |         Points:  10
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by chelseakomlo):

 Replying to [comment:22 Hello71]:
 > one small thing: as I said on IRC, my informal profiling seems to show
 that a significant amount of CPU time is spent in the kernel networking
 stack, including TCP/IP and waiting for the network device. it's possible
 that that last bit is partially because of an old virtio-net though. it
 could potentially be easier to integrate recv multithreading at this
 point; or maybe not! maybe it would be easier (even in total) to just do
 crypto first, and then the other stuff.

 That is a good point- this is a separate piece of work to this specific
 task though. However, it would probably be good to open an issue for
 "Recent profiling outcomes" so that we can take a closer look and
 track/make other issues for discoveries like this.

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


More information about the tor-bugs mailing list