<div dir="ltr"><div><div><div><div><div>Hi Moritz,<br><br></div>im running a few high bandwidth relays, and i'm also interested in tuning the performance - at the moment i have experienced following things regarding AES-NI acceleration:<br>
<br></div>With an upgrade to ubuntu 13.10 x64 there seem to be no more support for aesni module - so it doesnt seem to be usable any more. With older ubuntu releases it works.<br>I've recognized that some configurations are running easily with an higher throughput - but could not figure out whats the reason for it.<br>
</div>My VPS'es are almost running in an KVM environment - but the 2 fastest ones running on OpenVZ hypervisor. Processor and Hardware underlying are not identical (corei7 or Xeon E3 in this case) so this doesnt seem to be a reason though for the different speed.<br>
<br><br></div>But anyway im interested on reactivating that function as it seems to really speedup relay's speed.<br><br></div><div>Thanks,<br></div>Geri<br><div><div><br><br><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-03-04 0:40 GMT+01:00 Moritz Bartl <span dir="ltr"><<a href="mailto:moritz@torservers.net" target="_blank">moritz@torservers.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 03/03/2014 11:53 PM, Felix wrote:<br>
> In case there is a strong relay ie 1Gbit/s, enough cores and RAM<br>
> so the HW is not limiting. Let's further assume only one IP.<br>
><br>
> Could a single Tor daemon on Debian be a bottle neck?<br>
> If yes, could be more performance to start two (or more) daemons and<br>
> bind the first OR Port to :443 and the second to :8080. Both at the same<br>
> 'eth' interface?<br>
> Both OR Ports are based on the same IP so they would be the same family<br>
> member.<br>
<br>
</div>Yes, you do want to run multiple Tor processes on a high bandwidth<br>
machine as Tor currently does not scale well across multiple CPU cores.<br>
You will notice that you will hit a CPU limit at ~100 Mbps (or ~300-400<br>
Mbps with a CPU that supports AES-NI crypto acceleration).<br>
<br>
But, currently, you can only run two Tor process per IP address.<br>
<br>
Relays in the same /16 IPv4 subnets are considered part of one family<br>
automatically.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Moritz Bartl<br>
<a href="https://www.torservers.net/" target="_blank">https://www.torservers.net/</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><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>
</div></div></blockquote></div><br></div>