[tor-bugs] #18859 [Core Tor]: A new SOCKS connection should use a pre-built circuit for its first stream

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 5 18:04:29 UTC 2016


#18859: A new SOCKS connection should use a pre-built circuit for its first stream
-----------------------------+---------------------
 Reporter:  arthuredelstein  |          Owner:
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Core Tor         |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+---------------------

Comment (by arthuredelstein):

 Replying to [comment:7 nickm]:
 > Removing myself as owner. I can't do anything here until we have an
 analysis of what to actually try.
 >
 > > what determines the rate at which pre-built circuits are built, and
 could we make a performance improvement if we increased that rate?
 >
 > The code is in circuit_predict_and_launch_new, which is called once once
 per second.  We could ramp that up, but it's not a super-cheap function.
 We could also schedule it to get invoked shortly after the first time any
 clean circuit becomes dirty.

 Thanks for point out this function. I'll try logging from that function
 and see if I can understand what is happening.

 I doubt that increasing the rate of `circuit_predict_and_launch_new` calls
 to more than once per second will help, as I wasn't browsing to new sites
 more than once every several seconds. I think the issue is more likely
 related to the algorithm in that function that decides whether a new
 circuit is needed.

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


More information about the tor-bugs mailing list