[tor-talk] NumCPUs

grarpamp grarpamp at gmail.com
Tue Feb 12 09:16:44 UTC 2013


If I specify 'numcpus' greater than zero, should tor bypass
all auto compute and fork or thread the given number
regardless? I tell it 2 and get 1, so somewhere I'm
missing another auto or hardware sanity check in the code
besides src/or/config.c get_num_cpus and the CPUWORKER
defines?
SMP on the box is working fine. Does this work if compiled static?

orconfig.h:#define ENABLE_THREADS 1
orconfig.h:/* #undef HAVE_PTHREAD_CREATE */
orconfig.h:#define HAVE_PTHREAD_H 1

NumCPUs num
 How many processes to use at once for decrypting onionskins and
 other parallelizable operations.

Does makeing many HS connections get parallelized?


More information about the tor-talk mailing list