I'm so sorry.. I follow a little, how do I convert that into the value used by BandwidthRate


On Sat, Sep 14, 2013 at 3:27 PM, Martin Weinelt <tor@linuxlounge.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14.09.2013 21:47, Jonathan W wrote:
> I am about to run a relay, but I don't want it using more than
> 1000GB a month.  I prefer to manage this using the *BandwidthRate**
> *but I don't know the math* *to constrain it over a 1000GB a
> month. * * I also want to relay the directory.  Is there a way to
> also use vidalia to interface?  I'll be relaying on a linux
> (ubuntu) server remotly, and I'm using a windows system to set it
> all up.  I'll be using SSH to shell in, but I'd love to use
> vidalia.
>
>
> Thanks, Jon
>
>
>
> _______________________________________________ tor-relays mailing
> list tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>

Hello Jon,

this is quite easy to determine.

We have a known time frame of a month, lets say the average month has
30 days. Then:
   Timeframe = ~30 days
             = 30 * 24 * 60 * 60 seconds
             = 30 * 86400 seconds
             = 2592000 seconds

Since Tor specifies Bandwidth in kB (per second) lets convert your
traffic limit to that.

   Traffic-Limit = 1000 GB
                 = 1000 * 1024 MB
                 = 1000 * 1024 * 1024 kB
                 = 1048510000 kB

- From that we can derive the average speed to reach (or stay below)
your traffic limit. Depending on whether your provider counts TX+RX or
just TX you may or may not have to half the bandwidth.

   Avg. Bandwidth = Traffic-Limit / Timeframe
                  = 1048510000 kB / 2592000 seconds
                  = 404,517746914 kB / s

Cheers!

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSNMazAAoJEL1KoFKPY/F+kacH/2anBFcoXjgwSdT/TPj2mYnN
IrVo9+wKTM40PjiaB5UoHpIFQm31EjdJk6iQ3mzv71UmtrXXBiEN+Vzp7e/NCZVO
SMiQoGqrU1yA6ebmAxKXVK4HrMR+YqSunmn9xhbt7PlZQLwvjMU1S1PyQWR/29Tb
AiCPTlCsYHSm7McKnRxEU8jlKRHt5QEa7Bu7jcAx68Asdy+w7PEqOXxgT5ixK1En
U2MFIpTz60Ke4iZNDEXQ5KgC4XsML+gyBMeiTEt2jUsfbx5q4OIFE0kfbKjNVeJ/
ADvY1e8RyYNX9sbne2gEeJD1XQ6fG+t8uFJLfp7XigPAtZeiizCr9EdA/jZPvds=
=C9CB
-----END PGP SIGNATURE-----
_______________________________________________
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays