: , , . arsane, sched_set_affinity(), pthread_setaffinity_np() pthreads.
, ( .)
, . , (, 32 ), == 1, 1. == 1, 2. ..
, = 1... 111 (32 ). , " 1, 2, 3,..., 32." , 2 , 30 .
, : 0... 010, " 2".
Which also explains why the maximum number of processors supported by linux is 32. (out of the box without configuration, x86, on most of the common hardware, without clustering, etc. etc.).
source
share