[tor-bugs] #9005 [Tor]: "Your computer is too slow" -> improving multithreading of "circuit creation requests"?

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jun 1 16:08:51 UTC 2013


#9005: "Your computer is too slow" -> improving multithreading of "circuit
creation requests"?
-----------------------------------------------+----------------------------
 Reporter:  elgo                               |          Owner:               
     Type:  enhancement                        |         Status:  new          
 Priority:  normal                             |      Milestone:               
Component:  Tor                                |        Version:  Tor: 0.2.3.25
 Keywords:  thread slow cpu circruit creation  |         Parent:               
   Points:                                     |   Actualpoints:               
-----------------------------------------------+----------------------------

Comment(by nickm_mobile):

 Replying to [comment:2 elgo]:
 > Replying to [comment:1 nickm]:
 > > Circuit creations are already handled in parallel.  Tor 0.2.4.x
 introduces a faster algorithm for circuit creation crypto, and an adaptive
 queue that aims to ensure a maximum queue size in time rather than in
 lenth.
 >
 > Ok, but then if the parallelism is ok, how can we explain this "top"
 extract (4 cores):

 I didn't say parallelizing was okay: I said that circuit creation (which
 is what you were asking about) was handled in parallel. Server-side
 circuit creation is approximately the ONLY thing handled in parallel,
 though. :/

 You might want to check out the other tickets related to parallelizing
 other stuff: there's one for parallelizing relay crypto (shouldn't be too
 tough) and another for parallelizing openssl stuff (likely to be
 trickier).  (Sorry for notforthose finding the numbers for those; I'm on
 my phone right now)

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


More information about the tor-bugs mailing list