<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Sorry, I didn't read on....</p>
<p>No CPU masking in place. Then too, its hard to tell if this is 2
CPUs or hyperthreading. <br>
</p>
<p>As you suggest, I will try commenting out CPUsNum 2. <br>
</p>
<p>Sorry about two emails.</p>
<p>Larry B<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/29/2017 6:11 PM, teor wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AA44359B-8CA6-49BD-9EF7-7C0FD0B7D53D@gmail.com">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">On 30 Jun 2017, at 04:52, Arisbe <a class="moz-txt-link-rfc2396E" href="mailto:arisbe@cni.net"><arisbe@cni.net></a> wrote:
I have a small Tor exit relay (VPS) running at +90% CPU capacity.
</pre>
</blockquote>
<pre wrap="">
What version of Tor?
Has this only happened recently?
Did you upgrade your Tor version?
Are you running a caching DNS server?
</pre>
<blockquote type="cite">
<pre wrap=""> Memory usage is negligible. I am unable to launch ARM as the single CPU cannot process both Tor and arm. Traffic is mostly high for a small node.
I have CPUsNum set at 2 in my torrc from its original setup.
</pre>
</blockquote>
<pre wrap="">
Have you tried removing this from your torrc?
</pre>
<blockquote type="cite">
<pre wrap="">However, pidstat 5 -p <pid> shows that only 1 CPU is employed. lscpu shows that the VPS is allotted 2 cpus.
</pre>
</blockquote>
<pre wrap="">
2 cores, or hyperthreading on the same core?
Do you have any CPU masking options set?
Tor uses threads, rather than using multiple processes.
</pre>
<blockquote type="cite">
<pre wrap="">CPU speed is around 2.44 M.
I'm hoping someone has some experience with this issue and can give me advice.
</pre>
</blockquote>
<pre wrap="">
This is what I'd expect for a relay.
Cryptography is expensive.
T
--
Tim Wilson-Brown (teor)
teor2345 at gmail dot com
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B
ricochet:ekmygaiu4rzgsk6n
xmpp: teor at torproject dot org
------------------------------------------------------------------------
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tor-relays mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>
<a class="moz-txt-link-freetext" href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a>
</pre>
</blockquote>
<br>
</body>
</html>