Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2017-05-23 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
---+--
 Reporter:  teor   |  Owner:
 Type:  enhancement| Status:  closed
 Priority:  Medium |  Milestone:  Tor: unspecified
Component:  Core Tor/Tor   |Version:
 Severity:  Normal | Resolution:  fixed
 Keywords:  doc, triaged-out-20170116  |  Actual Points:  0.5
Parent ID: | Points:  0.5
 Reviewer: |Sponsor:
---+--
Changes (by teor):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This was fixed, and we opened tickets for the remaining work.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-08 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
---+
 Reporter:  teor   |  Owner:
 Type:  defect | Status:  new
 Priority:  Medium |  Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor   |Version:
 Severity:  Normal | Resolution:
 Keywords:  CoreTorTeam201611 doc  |  Actual Points:  0.5
Parent ID: | Points:  0.5
 Reviewer: |Sponsor:
---+
Changes (by nickm):

 * status:  needs_review => new
 * keywords:
 must-fix-before-0295-alpha, regression, 029-proposed,
 CoreTorTeam201611
 => CoreTorTeam201611 doc
 * milestone:  Tor: 0.2.9.x-final => Tor: 0.3.0.x-final


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-08 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
-+-
 Reporter:  teor |  Owner:
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.2.9.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  must-fix-before-0295-alpha,  |  Actual Points:  0.5
  regression, 029-proposed, CoreTorTeam201611|
Parent ID:   | Points:  0.5
 Reviewer:   |Sponsor:
-+-

Comment (by teor):

 #20604, #20605, #20606, #20607, all parented to #20534 so we remember to
 document this.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-08 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
-+-
 Reporter:  teor |  Owner:
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.2.9.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  must-fix-before-0295-alpha,  |  Actual Points:  0.5
  regression, 029-proposed, CoreTorTeam201611|
Parent ID:   | Points:  0.5
 Reviewer:   |Sponsor:
-+-

Comment (by nickm):

 wow, that is messy. this patch looks like an acceptable stopgap, though.
 So, merging it.

 Let's open tickets for an improved solution?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-07 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
-+-
 Reporter:  teor |  Owner:
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.2.9.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  must-fix-before-0295-alpha,  |  Actual Points:  0.5
  regression, 029-proposed   |
Parent ID:   | Points:  0.5
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * status:  new => needs_review
 * actualpoints:   => 0.5


Comment:

 There is no initial delay at which bootstrap works in the test network at
 exponent 4 (multiplier 3).
 This is because it takes 5-10 seconds for the initial consensus to be
 created.
 Ideally, we want relays and clients to wait 10 seconds before trying their
 first download.
 Then we want them to download with linear or low multiplier exponential
 delays starting at 0 or 1.
 But the exponential backoff code does not have this option.

 If we start with a low delay and high multiplier, by the time that
 consensus is created, the variance among the backoff times is so high that
 some clients and relays work, and others do not.

 We also can't change these schedules in Tor, because chutney explicitly
 sets them all to "0, 5". (And the exponential backoff code only uses the
 initial "0".)

 The solution is to reduce the exponent to 3 (multiplier 2), but only in
 test networks.
 (The original exponential backoff code had exponent 2 (multiplier 1), and
 with delay increments in [0, delay*multiplier]. But I chose exponent 3
 (multiplier 2) to get as close to the live network code as possible. It
 seems just as reliable. It's also worth noting that the delay increments
 are now in [1, delay*multiplier].)

 Perhaps we can make this a configurable option, but that can wait for a
 later release. Perhaps we could also stop setting these options in chutney
 as well. But this works well enough for now.

 Please see my branch `bug20597_029` on github.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-07 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
-+-
 Reporter:  teor |  Owner:
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.2.9.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  must-fix-before-0295-alpha,  |  Actual Points:  0.5
  regression, 029-proposed, CoreTorTeam201611|
Parent ID:   | Points:  0.5
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * keywords:  must-fix-before-0295-alpha, regression, 029-proposed =>
 must-fix-before-0295-alpha, regression, 029-proposed,
 CoreTorTeam201611


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #20597 [Core Tor/Tor]: Modify test network schedule start times for exponential backoff

2016-11-07 Thread Tor Bug Tracker & Wiki
#20597: Modify test network schedule start times for exponential backoff
-+-
 Reporter:  teor |  Owner:
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor: 0.2.9.x-final
Component:  Core |Version:
  Tor/Tor|   Keywords:  must-fix-before-0295-alpha,
 Severity:  Normal   |  regression, 029-proposed
Actual Points:   |  Parent ID:
   Points:  0.5  |   Reviewer:
  Sponsor:   |
-+-
 When we fixed #20499, we broke the tor test network schedules.
 They need to be tuned just like the client bootstrap authority and bridge
 client schedules.

 This should be quite an easy fix, it just involves changing the initial
 delay until bootstrap works.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs