I have a connection of 100mb/s and its going too slow, just look here: https://globe.torproject.org/#/search/query=A11BAE8F2676FF78727EE74949836E495D801D90
The relay is located in a OVH VPS
How can I use the complete bandwidth?
Thanks
Tor Stack Exchange is a question and answer site for researchers, developers, and users of Tor. It only takes a minute to sign up.
Sign up to join this communityI have a connection of 100mb/s and its going too slow, just look here: https://globe.torproject.org/#/search/query=A11BAE8F2676FF78727EE74949836E495D801D90
The relay is located in a OVH VPS
How can I use the complete bandwidth?
Thanks
Try this maillist: https://lists.torproject.org/pipermail/tor-talk/2012-August/025296.html
This is Edward Snowden.
Hi guys,
I've been running a kind-of 1gbps (voxility style 1gbps) exit server on Debian for a couple months, and while it started out very fast, it's gotten much slower over time. ....
He used 1gbps, it is 10x more than your speed. Anyway, his tuning shall help you.
*sysctl* (straight c&p [minus the nf_conntrack entries] from Moritz'
excellent guide. nf_conntrack is not currently used on my server):
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432
net.ipv4.tcp_rmem = 4096 87380 33554432
net.ipv4.tcp_wmem = 4096 65536 33554432
net.core.rmem_default = 524287
net.core.wmem_default = 524287
net.core.optmem_max = 524287
net.core.netdev_max_backlog = 300000
net.ipv4.tcp_mem = 33554432 33554432 33554432
net.ipv4.tcp_max_orphans = 30000
net.ipv4.tcp_max_syn_backlog = 300000
net.ipv4.tcp_fin_timeout = 4
vm.min_free_kbytes = 65536
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.ip_local_port_range = 1025 65530
net.core.somaxconn = 30720
net.ipv4.tcp_max_tw_buckets = 2000000
net.ipv4.tcp_timestamps = 0
Have you read the lifecycle of a new tor relay? In particular:
So that's phase one: your new relay gets basically no use for the first few days of its life because of the low 20KB cap, while it waits for a threshold of bwauths to measure it.
TorServers.net has an excellent wiki entry on setting up exit relays. I'll write some additional hints below:
DirPort
option and thus sharing directory data might help to attract more bandwidth.