<div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="margin-left:40px"><br></div><div style="margin-left:40px"><br></div><div class="gmail_quote" style="margin-left:40px"><div class="gmail_attr">On Thu, Apr 4, 2019 at 7:06 PM teor <<a href="mailto:teor@riseup.net">teor@riseup.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ben,<br>
<br>
> On 4 Apr 2019, at 10:58, Ben Riley <<a href="mailto:blades1000@gmail.com" target="_blank">blades1000@gmail.com</a>> wrote:<br>
> <br>
> I've read over a couple of other threads regarding relays being slow, however, I can't figure out why mine is running as slow as it is.<br>
<br>
Have you read our wiki page about slow relays?<br>
<a href="https://trac.torproject.org/projects/tor/wiki/doc/MyRelayIsSlow" rel="noreferrer" target="_blank">https://trac.torproject.org/projects/tor/wiki/doc/MyRelayIsSlow</a><br>
<br>
What do you see when you follow the steps on that page?<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>Bandwidth rate: 1MiB/s</div></div><div class="gmail_quote" style="margin-left:40px"><div>Bandwidth burst: 2MiB/s</div></div><div class="gmail_quote" style="margin-left:40px"><div>Observed: 485.52 KiB/s<br></div></div><div class="gmail_quote" style="margin-left:40px"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I used to have a FAST flag and was getting a throughput of several hundred KB/sec on my relay. Now I can't remember if I upgraded TOR or just updated the OS, but I lost the flag. I figured that I'd changed something and would have to 'earn' it again after a few days, week and now months?<br>
<br>
Normally, relays with slow or high-latency connections to North America and Europe won't get used much. Since you're on the other side of the globe, that's inevitable.<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>OK, no worries.<br></div></div><div class="gmail_quote" style="margin-left:40px"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> According to NYX, my average is 6.4KB/sec. I did have the limit set to 1MB and 2MB burst for the last few months thinking that would be more than enough.<br>
> <br>
> This morning I changed those (via NYX) to 0 (default) 1GB/s and it looks like it's starting to climb.<br>
<br>
Setting a limit faster than your connection makes Tor delay or drop packets. Since you already have high latency, drops or delays are going to make your measurements worse.<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>Maybe this is what I've done in the hope of opening up more bandwidth?</div></div><div class="gmail_quote" style="margin-left:40px"><div>I have to admit I'm a little confused by the four options:</div></div><div class="gmail_quote" style="margin-left:40px"><div>BandwidthRate - 1GB</div><div>
BandwidthBurst - 1GB</div></div><div class="gmail_quote" style="margin-left:40px"><div>RelayBandwidthRate - 1MB</div></div><div class="gmail_quote" style="margin-left:40px"><div>RelayBandwidthBurst - 2 MB</div><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>I find that when I try and change these within NYX by hitting the right arrow and then editing them, that sometimes I go back out to the main screen, hit X twice to reset, that the settings go back. So I've gone in and edited the torrc file directly instead.</div><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>I've changed those lines to:</div><div><br></div><div>RelayBandwidthRate 500 KB  # Throttle traffic to 100KB/s (800Kbps)<br>RelayBandwidthBurst 600 KB # But allow bursts up to 200KB/s (1600Kbps)</div><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>Now when I restarted NYX it says:</div><div>Bandwidth (limit: 500 KB/s, burst: 600 KB/s, measured: 13.0 B/s):<br>

</div></div><div class="gmail_quote" style="margin-left:40px"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> My internet connection is on a home set up with a connection speed of about 97Mb, so plenty of speed available.<br>
<br>
Just use the speed of your connection. (And if it's asymmetric, use the minimum of your upload and download.) Careful with the difference between megabits and megabytes per second!<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>So based on a connection of about 97Mb, which means I can usually peak out my download speeds at 11Mb/sec. Are those speeds above ok? I don't want to drown my connection, but happy to give it a couple of meg :)<br></div></div><div class="gmail_quote" style="margin-left:40px"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> If you look at my previous reports on:<a href="https://metrics.torproject.org/rs.html#details/9F19251CEE17B1E05084898D164F0544CCB095DD" rel="noreferrer" target="_blank">https://metrics.torproject.org/rs.html#details/9F19251CEE17B1E05084898D164F0544CCB095DD</a> there appears to be a massive drop off in speed during Feb 2019. I'm open to suggestion.<br>
<br>
Looking at the 5 year graphs, your relay was used when the network was under heavy load for a few months in 2017/2018, and 2018/2019. Now the network isn't overloaded any more, clients don't need your relay as much, so it's back to its usual level.<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>OK, that's interesting. I didn't realise the network would change things that much.<br></div></div><div class="gmail_quote" style="margin-left:40px"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Additionally, I'm considering opening an exit port, but everyone seems to say that is a REALLY bad idea on a home set up. Plus I don't really know what I'm doing :)<br>
<br>
Don't open an exit port at home, unless you like dealing with confused police officers.<br>
<br>
If you have another IPv4 address, consider setting up a bridge relay.<br>
(Bridges on the same IP as relays are easy to censor.)<br>
<br>
If you don't, try setting up another relay instance on the same IPv4.<br>
(There's a limit of two relays per IPv4 address.)<br>
<br></blockquote><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>OK, I might leave the exit node alone then :)</div><div><br></div></div><div class="gmail_quote" style="margin-left:40px"><div>Thanks</div></div><div class="gmail_quote" style="margin-left:40px"><div>Ben.<br></div></div><div class="gmail_quote" style="margin-left:40px"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
T<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div></div></div></div>