[tor-relays] Would be good if Tor were more multithreaded.

tor at t-3.net tor at t-3.net
Fri Jan 24 18:36:57 UTC 2014


I've added "numCPUs 2" to torrc and restarted via the init script. It 
does not seem to have made a difference. I presume that's where/how it 
should have been added?

The FAQ says it doesn't do multi-core well. Seems unfortunate - 
multi-core is everywhere, now.

On 01/24/2014 07:41 PM, Sebastian Urbach wrote:> Hi,
 >
 > Did you consider the numCPUs option ?
 > --
 > Mit freundlichen Grüssen / Sincerely yours
 >
 > Sebastian Urbach
 >
 > ----------------------------------------------
 > Those who would give up essential Liberty,
 > to purchase a little temporary Safety, deserve
 > neither Liberty nor Safety.
 > ----------------------------------------------
 > Benjamin Franklin (1706 - 1790),  Inventor,
 > journalist, printer, diplomat, and statesman
 >
 >
 >
 > Here's where top hangs out on Libero. Seems it would be a better 
situation
 > if Tor would actually use the second core.
 >
 > top - 12:05:07 up 5 days, 21:35,  1 user,  load average: 0.33, 
0.43, 0.34
 > Tasks: 130 total,   2 running, 128 sleeping,   0 stopped,   0 
zombie
 > Cpu0  : 47.2%us, 21.0%sy,  0.0%ni, 17.6%id,  0.0%wa,  0.0%hi, 
13.8%si,  0.3%st
 > Cpu1  :  0.0%us,  0.3%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  
0.0%si,  0.0%st
 > Mem:   1914136k total,   718704k used,  1195432k free,   139588k 
buffers
 > Swap:  3981304k total,        0k used,  3981304k free,   116320k 
cached
 >
 >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
COMMAND
 >  1340 _tor      20   0  566m 224m  36m R 71.7 12.0   6168:37 tor
 >  9887 nobody    20   0 21644  13m  892 S  7.3  0.7   0:31.85 
scamper
 >  9889 root      20   0  102m  916  772 S  0.7  0.0   0:02.80 sed
 >  9921 root      20   0 15028 1312  992 R  0.3  0.1   0:00.19 top
 >     1 root      20   0 19232 1480 1212 S  0.0  0.1   0:00.27 init
 >     2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 
kthreadd
 >
 >
 >
 >
 > _______________________________________________
 > tor-relays mailing list
 > tor-relays at lists.torproject.org
 > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 >
 >
 >
 >
 >





More information about the tor-relays mailing list