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

Re: [tor-relays] excessive bandwidth assigned bandwidth-limited exit relay



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

Don't cap the speed if you have bandwidth limits. The better way to do
it is using AccountingMax in torrc. Just let it run at its full speed
less of the time and Tor will enter in hibernation once it has no
bandwidth left.

Example:
remove RelayBandwidthRate, RelayBandwidthBurst and
TokenBucketRefiillInterval or any other strange and unnecessary
settings you might have for bandwidth limiting. Add the following:

AccountingMax 96 TBytes
AccountingStart month 1 00:00

Search for 'accounting' here:
https://www.torproject.org/docs/tor-manual.html.en

Thanks for running an exit! More to come ;)

On 10/1/2015 3:33 PM, Dhalgren Tor wrote:
> Have a new exit running in an excellent network on a very fast
> server with AES-NI.  Server plan is limited to100TB so have set a
> limit slightly above this (18000000 bytes/sec) thinking that
> bandwidth would run 80-90% of the maximum and average to just below
> the plan limit. After three days the assigned bandwidth for the
> relay is going up instead of moderating--looks like the measurement
> system has a problem in this case.  Just dropped the limit to
> 16500000 to stay below 100TB with maximum load.
> 
> A good number appears to be around 65000 to 70000, but 98000 was
> just assigned.
> 
> What can be done to extract proper rating from measurement system? 
> Tried setting TokenBucketRefillInterval to 10 milliseconds for
> more exact control but this has not helped.  Should an IPTABLES 
> packet-dropping limit be established?  Can the rating system be
> fixed?
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBCAAGBQJWDSnkAAoJEIN/pSyBJlsRbjsIAMJy2FuqqF53oOPVm7DSVS8x
h6EPMGBhfMXBOVQdFMppv5VZhf92sLkUsSzN+OSQPY1l4uatXX6kalBxzdIRXCsT
rDeJ6EjdyR1ll2efamEhZOypkxmON5SsgCpMLs8WvKCDOGpCGkil52QMnVy7LpqC
yfVTRWiuShwegxebEus/gdWMvKlf6B8/3l2xgBbyKD2V1eGuEaGVlM2RzvwpBtg0
NnUFwFPYcFs3pcqZlX/k7bpdYyIDcwTz35zpGhUjCwJIyB8zrnmcz+LjPxtipLjg
q0Jd8EJNIJa9G7ttyO3QYo7UOF/jChplhvfyIuDJw2XwKRMbhwePdgMClAt0j3c=
=XU5L
-----END PGP SIGNATURE-----
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays