[tor-bugs] #6341 [Tor Relay]: connection_or_flush_from_first_active_circuit() does wrong thing when ewma_enabled

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 8 22:22:30 UTC 2012


#6341: connection_or_flush_from_first_active_circuit() does wrong thing when
ewma_enabled
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  normal     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by robgjansen):

 I just uploaded the graphs. You can find the Tor network and client model
 described in #6401.

 There are 3 simulations here, all done with tor-0.2.3.16-alpha.

 Load distribution in vanilla Tor:
 {{{
 TYPE    #XFERS  GiB     %
 im      34735   0.033   0.075
 web     85779   26.178  59.376
 bulk    1586    7.744   17.565
 p2p     596397  9.100   20.641
 perf50k 1896    0.090   0.205
 perf1m  965     0.942   2.138
 TOTAL   721358  44.088  100.000
 }}}

 Load distribution with CircuitPriorityHalflife 30, not patched:
 {{{
 TYPE    #XFERS  GiB     %
 im      6610    0.006   0.042
 web     23264   7.100   47.495
 bulk    1451    7.085   47.397
 p2p     12919   0.197   1.319
 perf50k 585     0.028   0.187
 perf1m  545     0.532   3.560
 TOTAL   45374   14.948  100.000
 }}}

 Load distribution with CircuitPriorityHalflife 30, patched:
 {{{
 TYPE    #XFERS  GiB     %
 im      18485   0.018   0.045
 web     60669   18.515  46.973
 bulk    2770    13.525  34.315
 p2p     416375  6.353   16.119
 perf50k 1650    0.079   0.200
 perf1m  948     0.926   2.349
 TOTAL   500897  39.416  100.000
 }}}

 I have not analyzed the log file, but it looks like some crazy shit
 happened in the middle graph, when the patch was not applied. Was this
 somewhat expected? Or is this backwards, i.e. were you thinking the patch
 would make things explode?

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


More information about the tor-bugs mailing list