[tor-bugs] #9683 [Tor]: circuit_unlink_all_from_channel() is a performance bottleneck?

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 11 11:37:00 UTC 2014


#9683: circuit_unlink_all_from_channel() is a performance bottleneck?
------------------------+------------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  major   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay 024-backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+------------------------------------

Comment (by andrea):

 I think it's safe to do this; we immediately exit handling any cells in
 relay.c if a circuit is marked for close - see
 append_cell_to_circuit_queue() and circuit_receive_relay_cell().  Probably
 best to patch circuit_mark_for_close() to null out n_chan/p_chan and test
 it a few days as a relay to see if it blows up, just to be sure.

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


More information about the tor-bugs mailing list