On Jan 12, 2019, at 18:32, teor <teor@xxxxxxxxxx> wrote:
Here are some initial steps for troubleshooting:
https://trac.torproject.org/projects/tor/wiki/doc/MyRelayIsSlow
Hi!
I have been running a couple of relays for 4-5 years. In spite of following the advice in the link above, I still only average about 8Mb/s on both the relays, as reported by Nyx.
D76E1FDC7A3D899282BB882F74111B36A6D14B64
56DCA89A6B41ADA30E891EF65FDCC071DC05079B
Both are on 100Mb/s fiber optic lines, otherwise lightly loaded. Both have well over 99.99% uptime. They are on separate autonomous systems. One relay rarely has CPU usage above 5%. The other (on much lighter-weight hardware) approaches 40% CPU occasionally, but both have about the same reported bandwidth stats. The lines are both low-latency.
Both relay boxes can sustain file transfers at close to the full 100Mb/s (or more) for extended periods of time in testing. Packet loss between the boxes is nearly zero. Testing with iperf shows full bandwidth to even disparate parts of the internet.
One of the boxes is behind NAT, but with appropriate port forwarding. The other box sits directly on the net with a dedicated static IP.
Both boxes are running Linux Devuan ASCII, though I saw similar numbers with vanilla Debian and Ubuntu.
I haven't seen anything in the logs that indicates any problems.
I don't have any bandwidth limits set in torrc. The
metrics.torproject.org page shows "Advertised Bandwidth" of 7.45 MiB/s and 5.11 MiB/s respectively, but the bandwidth graphs are only rarely above 1 MiB/s.
Both relays are reachable net-wide on their IPv4 addresses. I have IPv6 disabled for now. Correct addresses are showing on the directory authorities. They are the only relays on their respective IP addresses (indeed, on their respective AS's). They have seven flags on the consensus health page with what I think are reasonable bandwidth numbers (I'm not 100% sure how to interpret the "bw=4600" lines, but the number is over 4000 wherever it's reported for my relays.)
So why do my relays seem to only be using about 8% of their available bandwidth?
Thanks for any insight you can provide...
--Ron
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxxhttps://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays