<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Apart from your topic - what kind of internet connection do you use? :D
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 25. Oktober 2016 um 13:26 Uhr<br/>
<b>Von:</b> "D.S. Ljungmark" <ljungmark@modio.se><br/>
<b>An:</b> tor-relays@lists.torproject.org<br/>
<b>Betreff:</b> Re: [tor-relays] Rampup speed of Exit relay</div>

<div name="quoted-content">So, Now I've taken some steps to adjust the state of the relay, and<br/>
try to balance this.<br/>
<br/>
To reiterate a point previously, before I start adding more tor<br/>
daemons or servers to this, I want to know how to scale and optimise<br/>
what is already there.<br/>
<br/>
- Set up unbound in cache mode rather than use our local network unbound<br/>
- Disabled on machine firewall (stateful)<br/>
- Ensured AES acceleration worked<br/>
- Boosted amount of open files allowed even more<br/>
- Stopped doing regular reboots and only reboot on kernel change<br/>
- Bound Tor to a single core<br/>
<br/>
The exit is till this one:<br/>
<a href="https://atlas.torproject.org/#details/5989521A85C94EE101E88B8DB2E68321673F9405" target="_blank">https://atlas.torproject.org/#details/5989521A85C94EE101E88B8DB2E68321673F9405</a><br/>
<br/>
CPU utilization of a single core on the machine never goes > 22%<br/>
<br/>
Thus while it may be CPU bound, it's never maximising the CPU usage.<br/>
<br/>
CPU and network are still scaling together with each other.<br/>
<br/>
Load ( not cpu usage) is fairly stable and load1 hasn't gone > 0.2<br/>
<br/>
It's holding between 5k and 16k sockets in use, and ~3.5k sockets in<br/>
TIME_WAIT state. (Fairly high amount?)<br/>
<br/>
So far, I'm not sure _why_ it's capping itself on bandwidth, and<br/>
that's the one thing that I want to figure out before I start scaling<br/>
out horizontally.<br/>
<br/>
<br/>
<br/>
On Fri, Sep 23, 2016 at 11:28 AM, nusenu <nusenu@openmailbox.org> wrote:<br/>
>>>>>> > > > > So, how do we get tor to move past 100-200Mbit? Is it just a<br/>
>>>>>> > > > > waiting game?<br/>
>>> ><br/>
>>> > I'd say just run more instances if you still have resources left and<br/>
>>> > want to contribute more bw.<br/>
>>> > (obviously also your exit policy influences on how much your instance<br/>
>>> > is<br/>
>>> > used)<br/>
>> Mainly, I want to scale up a single exit first, before I start adding<br/>
>> more resources.<br/>
><br/>
> As Aeris, teor and me tried to explain, this is _not_ about "adding more<br/>
> resources", but since you keep ignoring that it is a bit pointless to<br/>
> state that over and over again.<br/>
><br/>
> teor gave some rather comprehensive answers and has said pretty much<br/>
> anything relevant I guess.<br/>
><br/>
> In the end it should be about optimizing exit bandwidth cost (many<br/>
> MBit/s for fewer $) no matter how many tor processes it requires to get<br/>
> the most out of your hardware, number of available IPs and uplink<br/>
> connectivity.<br/>
><br/>
>> It might well be that I've missed something, some tuning I should have<br/>
>> remembered ( Like increasing the conntrack hash table size )<br/>
><br/>
> I'm not sure I would run a stateful firewall on an dedicated exit server<br/>
> at all.<br/>
> <a href="https://www.torservers.net/wiki/setup/server" target="_blank">https://www.torservers.net/wiki/setup/server</a><br/>
><br/>
><br/>
> _______________________________________________<br/>
> tor-relays mailing list<br/>
> tor-relays@lists.torproject.org<br/>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br/>
><br/>
_______________________________________________<br/>
tor-relays mailing list<br/>
tor-relays@lists.torproject.org<br/>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a></div>
</div>
</div>
</div></div></body></html>