[tor-bugs] #7743 [Tor]: Avoid needless wasted space in cells

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 18 20:24:52 UTC 2012


#7743: Avoid needless wasted space in cells
-----------------------------------------------------+----------------------
 Reporter:  nickm                                    |          Owner:  nickm             
     Type:  defect                                   |         Status:  needs_review      
 Priority:  critical                                 |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                                      |        Version:                    
 Keywords:  backport-023 tor-relay regression bwbug  |         Parent:                    
   Points:                                           |   Actualpoints:                    
-----------------------------------------------------+----------------------

Comment(by nickm):

 If that helps but not enough (bug7743_024_test is just bug7743_023_alt2
 merged onto master), there are more things we can try to do in order to
 improve cell performance, including:

  * Remove the loop from connection_handle_read_impl. It doesn't seem to do
 anything useful.
  * If, when setting avail_to_package, we find that it is more than
 RELAY_PAYLOAD_SIZE, round it down to the nearest RELAY_PAYLOAD_SIZE.
  * When reading, round at_most down to avail.

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


More information about the tor-bugs mailing list