<div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">I'm running a tor relay on some older hardware that I didn't want to discard when I could still put it so good use.</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Some details of the box are:</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><div><span>-- CPU: <span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz</span></span></span></div><div><span>-- RAM: 4GB</span></div><div><span>-- ARCH: x86_64<br></span></div><div>-- HDD: 250GB</div><div>-- OS: Ubuntu 22.04.1<br></div></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">I originally configured a single Tor instance IPv4 to run as a relay only (not as an exit, nor hosting a hidden service). I am also using the iptables rules from <span><a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/Enkidu-6/tor-ddos">https://github.com/Enkidu-6/tor-ddos</a></span> to minimize DDOS overhead (please advise if there are alternatives or additions to this).<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">My original config seemed ok until I started seeing my CPU and RAM maxing out consistently so I throttled back with the following in my torrc:<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">RelayBandwidthRate 100 KB  </span><span style="color:#54ffff;background-color:#ffffff"># Throttle traffic to 100KB/s (800Kbps)</span><span style="color:#000000;background-color:#ffffff"></span><br>RelayBandwidthBurst 200 KB <span style="color:#54ffff;background-color:#ffffff"># But allow bursts up to 200KB/s (1600Kbps)</span><span style="color:#000000;background-color:#ffffff"></span><br>MaxAdvertisedBandwidth 1 MB<br><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">My RAM usage now is only about 50% or marginally less of my total available.<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Here's how the metrics look lately:</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><span><a target="_blank" rel="noreferrer nofollow noopener" href="https://metrics.torproject.org/rs.html#details/38939B45237BA84941C74836349C152473F84C56">https://metrics.torproject.org/rs.html#details/38939B45237BA84941C74836349C152473F84C56</a></span></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">As you can see, the throughput rated dropped in half (that's when the graph drops on 2023-02-09). However, the volume continued to decline.</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Additionally, I'm unclear why my Middle Probability and Consensus Weight have both dropped to near 0%. Are those, in fact, where I want them?</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">I'm monitoring with nyx and see I get some traffic through with no apparent errors or warnings. I am NOT seeing the CPU spikes any longer but I don't think I'm giving the most with my hardware.<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Questions:</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">1.) Is my tor service now misconfigured and not utilizing my hardware as best it could?</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">2.) Should my Consensus Weight and/or Middle Probability be higher? <br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">3.) Should I consider running two tor instances?<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Nyx log snippet:</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><span style="font-family:monospace"><span style="color:#18b218;background-color:#ffffff">07:59:32 [NOTICE] Heartbeat: DoS mitigation since startup: 7 circuits killed with too many cells, 591 circuits rejected, 2 marked addresses, 0 marked addresses for max queue, 0 same address concurrent</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">connections rejected, 0 connections rejected, 0 single hop clients refused, 19166 INTRODUCE2 rejected.</span><span style="font-weight:bold;color:#54ff54;background-color:#ffffff"> [1 duplicate hidden]</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">07:59:32 [NOTICE] Since startup we initiated 0 and received 0 v1 connections; initiated 0 and received 0 v2 connections; initiated 0 and received 0 v3 connections; initiated 0 and received 57982 v4</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">connections; initiated 116266 and received 356623 v5 connections.</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">07:59:32 [NOTICE] Circuit handshake stats since last time: 3/3 TAP, 44849/44849 NTor.</span><span style="font-weight:bold;color:#54ff54;background-color:#ffffff"> [1 duplicate hidden]</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">07:59:32 [NOTICE] While not bootstrapping, fetched this many bytes: 194128391 (server descriptor fetch); 7140 (server descriptor upload); 17539422 (consensus network-status fetch); 1794 (authority cert</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">fetch); 2111765 (microdescriptor fetch)</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">07:59:32 [NOTICE] Heartbeat: Tor's uptime is 10 days 23:58 hours, with 179 circuits open. I've sent 34.83 GB and received 35.63 GB. I've received 444762 connections on IPv4 and 0 on IPv6. I've made</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">254336 connections with IPv4 and 0 with IPv6.</span><span style="font-weight:bold;color:#54ff54;background-color:#ffffff"> [1 duplicate hidden]</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">01:59:32 [NOTICE] Since startup we initiated 0 and received 0 v1 connections; initiated 0 and received 0 v2 connections; initiated 0 and received 0 v3 connections; initiated 0 and received 56651 v4</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">connections; initiated 114326 and received 347071 v5 connections.</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│ </span><span style="color:#18b218;background-color:#ffffff">01:59:32 [NOTICE] While not bootstrapping, fetched this many bytes: 189431170 (server descriptor fetch); 7140 (server descriptor upload); 17131743 (consensus network-status fetch); 1794 (authority cert</span><span style="color:#000000;background-color:#ffffff"></span><br><span style="color:#ffffff;background-color:#000000"> </span><span style="color:#000000;background-color:#ffffff">│   </span><span style="color:#18b218;background-color:#ffffff">fetch); 2068377 (microdescriptor fetch)</span><br><span style="color:#000000;background-color:#ffffff"></span><br></span>Thanks.</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">Relayer1974<br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><br></div>