hi i read about it ! ============= # SMP support disabled. # TAG: cpu_affinity_map # Usage: cpu_affinity_map process_numbers=P1,P2,... cores=C1,C2,... # # Sets 1:1 mapping between Squid processes and CPU cores. For example, # # cpu_affinity_map process_numbers=1,2,3,4 cores=1,3,5,7 # # affects processes 1 through 4 only and places them on the first # four even cores, starting with core #1. # # CPU cores are numbered starting from 1. Requires support for # sched_getaffinity(2) and sched_setaffinity(2) system calls. # # Multiple cpu_affinity_map options are merged. # # See also: workers #Default: ================================= it says that the core start with number 1 !! why i cant user core # 0 ??? here is mpstat from my server : ========================================================================= root@drx:~$ mpstat -P ALL Linux 3.3.8-1-amd64-vyatta (vyatta) 10/26/13 _x86_64_ (24 CPU) 23:27:21 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 23:27:21 all 3.23 0.00 2.68 1.67 0.00 1.40 0.00 0.00 91.02 23:27:21 0 11.83 0.00 11.29 8.16 0.00 0.91 0.00 0.00 67.81 23:27:21 1 6.12 0.00 5.82 3.08 0.00 4.27 0.00 0.00 80.71 23:27:21 2 9.56 0.00 6.77 4.32 0.00 6.72 0.00 0.00 72.63 23:27:21 3 2.61 0.00 2.47 1.59 0.00 0.07 0.00 0.00 93.27 23:27:21 4 10.03 0.00 6.43 3.86 0.00 7.39 0.00 0.00 72.29 23:27:21 5 1.95 0.00 2.09 1.35 0.00 0.01 0.00 0.00 94.59 23:27:21 6 10.04 0.00 6.23 3.59 0.00 7.26 0.00 0.00 72.88 23:27:21 7 1.77 0.00 1.97 1.23 0.00 0.01 0.00 0.00 95.02 23:27:21 8 9.79 0.00 6.07 3.35 0.00 7.20 0.00 0.00 73.59 23:27:21 9 1.65 0.00 1.89 1.11 0.00 0.01 0.00 0.00 95.34 23:27:21 10 4.39 0.00 2.93 3.63 0.00 0.02 0.00 0.00 89.03 23:27:21 11 1.62 0.00 1.97 0.99 0.00 0.01 0.00 0.00 95.41 23:27:21 12 0.53 0.00 0.52 0.31 0.00 0.00 0.00 0.00 98.64 23:27:21 13 0.41 0.00 0.45 0.08 0.00 0.00 0.00 0.00 99.06 23:27:21 14 0.86 0.00 1.16 0.56 0.00 0.01 0.00 0.00 97.42 23:27:21 15 2.21 0.00 3.31 0.21 0.00 0.01 0.00 0.00 94.26 23:27:21 16 0.39 0.00 0.47 0.44 0.00 0.00 0.00 0.00 98.70 23:27:21 17 0.57 0.00 0.81 0.10 0.00 0.00 0.00 0.00 98.51 23:27:21 18 0.27 0.00 0.29 0.57 0.00 0.00 0.00 0.00 98.87 23:27:21 19 0.27 0.00 0.37 0.19 0.00 0.00 0.00 0.00 99.17 23:27:21 20 0.24 0.00 0.25 0.59 0.00 0.00 0.00 0.00 98.92 23:27:21 21 0.24 0.00 0.33 0.22 0.00 0.00 0.00 0.00 99.20 23:27:21 22 0.22 0.00 0.25 0.57 0.00 0.00 0.00 0.00 98.96 23:27:21 23 0.22 0.00 0.30 0.22 0.00 0.00 0.00 0.00 99.25 ========================================= my corse start with 0 not with 1 ????!!! why 0 is not allowed?? regards ----- Dr.x -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/question-in-cpu-affinity-map-directive-tp4662917.html Sent from the Squid - Users mailing list archive at Nabble.com.