[tor-bugs] #23777 [Core Tor/Tor]: tor spends a lot of time in malloc/free

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 24 18:02:01 UTC 2018


#23777: tor spends a lot of time in malloc/free
--------------------------+------------------------------------
 Reporter:  Hello71       |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 Circling around to this ticket again now that 0.3.3 is feature-frozen.

 The biggest offender seems to have been
 `channel_rsa_id_group_set_badness`, which should have been fixed a lot bug
 #24119.  So that's good.

 There are some things I'm surprised to see in the profile:
   * onion_skin_server_handshake (19.22%)
   * protocol_list_supports_protocol (10.95%)
   * outbuf_table_add (3.5%)

 Let's have a look and see how much we can do there.

 Another improvement on this area would be to see about making cell-handing
 inside Tor involve fewer copies; but that might be better handled as part
 of our Rust work.

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


More information about the tor-bugs mailing list