<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>I think that in this case, every existing connection and
      transfers act as "best effort" (it means that used bandwidth for
      some connection aren't absolutely reserved),  the new transfer is
      making a place by reducing just a little bit the others
      connection's available speed.<br>
    </p>
    <p>If 50 active connection are using 1 MB/s each at the same time,
      with a total amount of 50 MB/s which is the maximum of a given
      server for example, then a new connection trying to get 1 MB/s
      will make the 50 Megabits divided by 51, then the usable bandwidth
      for all connection becomes 0,98 MB/s in the place of 1 MB/s</p>
    <p>When your relay is very overused and severe congestion occurs,
      then the bandwidth measurement will be very poor, this will reduce
      the weight of your relay in the consensus in order to reduce the
      congestion. The algorithm is designed to give the ideal consensus
      weight for your relay in order to be as close as possible of your
      maximum available bandwidth, without placing too much users on it
      (with too much users on it, the total used bandwidth will be at
      the maximum, but each user get a painful browsing experience
      because the available bandwidth per user becomes too weak)<br>
    </p>
    <p>Bye !</p>
    <p>Julien<br>
    </p>
    <p>PS : if the advertised bandwidth is incorrect then congestion
      will occur and the consensus weight of your relay will be
      decreased because of poor performance during measurements, that's
      how possible cheating/disturbance is avoided in this case, I
      think.</p>
    <p>I think there is some documentation on this subject, by searching
      if you have some time and want to know more on this subject.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 20/02/2017 à 18:39, Marcobr a
      écrit :<br>
    </div>
    <blockquote
cite="mid:YvImgCWF1fUNRLT7IBsPAasfSb6AcWYYgmKLjl3QS77pAMnqe53MwBtLQo1aHDf6_qIlMojB3ErHzGt3lQblK6Z8e0PiquYyIQvqMLLo9tg=@protonmail.com"
      type="cite">
      <div>Hey everyone,<br>
      </div>
      <div><br>
      </div>
      <div>as far as I know, the DAs running the bwauth scripts conduct
        hourly bandwidth measurements. Depending on the advertised
        bandwidth of the relay node, a smaller/bigger file gets
        transmitted on a custom 2-hop-circuit and the transmission time
        determines the actual bandwidth.<br>
      </div>
      <div><br>
      </div>
      <div>Now, here is my problem: Assuming that my relay node
        advertised 50MB/s, and is currently at 98% load (49 MB/s). To
        conduct the measurement, the bwauth script will send a 8MB file
        over my relay, but since it can only serve another 1MB/s, how
        will the bwauth script determine that my advertised 50MB/s is
        correct?<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
tor-relays mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>
<a class="moz-txt-link-freetext" href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>