[tor-bugs] #7291 [Tor]: Investigate making MaxOnionsPending time-based

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 27 03:18:11 UTC 2012


#7291: Investigate making MaxOnionsPending time-based
-------------------------+--------------------------------------------------
 Reporter:  mikeperry    |          Owner:                    
     Type:  enhancement  |         Status:  needs_review      
 Priority:  major        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:                    
 Keywords:  tor-relay    |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 I've got an incomplete patch series in time_based_onionqueue, in need of
 review.  It is less huge than it seems, since it is based on the ntor
 branch.  See comments and commit messages there for more info.

 The "incomplete" part is:
    * We need to handle jumping forward in time more gracefully.  In 0.2.5
 or something we might grow a monotonic clock, but right now, jumping in
 time really needs to keep us from believing that NOW -
 TIME_WHEN_WE_STARTED_X is the amount of time that X took.  This problem is
 especially ouchy for the onionskin timing code.
    * I want a message that measures overhead -- how much time is used up
 by sending and receiving an onionskin from a cpuworker on top of its real
 processing time.  I hope this is low, but you never know.

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


More information about the tor-bugs mailing list