[tor-bugs] #25265 [Core Tor/Chutney]: Set consensus parameter CircuitPriorityHalflife to enable the EWMA circuit policy

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 15 14:54:42 UTC 2018


#25265: Set consensus parameter CircuitPriorityHalflife to enable the EWMA circuit
policy
----------------------------------+--------------------
     Reporter:  dgoulet           |      Owner:  (none)
         Type:  defect            |     Status:  new
     Priority:  Medium            |  Milestone:
    Component:  Core Tor/Chutney  |    Version:
     Severity:  Normal            |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+--------------------
 So turns out that Chutney is not using EWMA policy at all for circuit
 priority which means that its been using the default policy which is round
 robin.

 I found this by working on a patch that for testing was assert()ing on the
 `cmux->policy` and it exploded.

 See `cell_ewma_set_scale_factor()` on how the EWMA policy is
 enabled/disabled.

 The real network sets: `CircuitPriorityHalflifeMsec 30000`

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


More information about the tor-bugs mailing list