[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #27135 [Core Tor/sbws]: Write descriptor bandwidths average in raw results



#27135: Write descriptor bandwidths average in raw results
---------------------------+-------------------------------------
 Reporter:  juga           |          Owner:  juga
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:  sbws 1.0 (MVP must)
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #27108         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-------------------------------------

Comment (by juga):

 > 1. Set the decay constant (R) to a number in (0, 1).
 >
 >     We get a descriptor every 12-18 hours, and there is a daily cycle in
 Tor bandwidths.

 If i just get the descriptor every 12h, after 5 days will have 10 values
 for it, and if it changes, then i think would be enough to get the mean of
 them.

 > So we want to average over a few days, to smooth out spikes. A good
 value for R is 0.98 every hour, because the decaying average for 15 hour
 bandwidths is 26% B1 + 19% B2 + 14% B3 + 11% B4 + 30% B5-10. (B11 is less
 than 1%.)

 Where these numbers (0.98, 26, 19,...) are coming from?. Mathematics might
 help

 > 4. When voting:

 By when voting you mean when we generate the bandwidth list file?

 > > btw, it seems that the answer to my question in [1] is that 1/45 ~=
 1/e
 >
 > Can you explain what you mean by `e`?
 >
 > The base of the natural logarithm is `e ~= 2.72`, so `1/e ~= 0.37`.

 i meant the natural logarithm, exactly that ^

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27135#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs