[tor-relays] Sanity check on NumCPUs

Roman Mamedov rm at romanrm.net
Fri May 27 18:19:25 UTC 2022


On Fri, 27 May 2022 13:11:06 -0500
Thoughts <thoughts at kevinsthoughts.com> wrote:

> It was my impression from reading some older documents that tor didn't 
> multithread well.

Indeed it does not. But there's no need to hard-cap it to 2 CPUs via config,
unless the plan is that multi-instance scenario with 2 cores per instance.

> Its also been my observation, but wanted a sanity check to see if that was
> still the case.  For instance, on one quad core low-power system I had, tor
> would max out at 28% of CPU - using 100% of one core and about 12% of a
> second (for a total of 112/4 = 28% of the system).

-- 
With respect,
Roman


More information about the tor-relays mailing list