|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Нагрузочное тестирование и cpu affinity
On Friday 31 August 2012 15:52:11 DSmirnov wrote:
> результат:
>
> [root@vm2 ~]# taskset -p 7687
> pid 7687's current affinity mask: 1
> [root@vm2 ~]# taskset -p 7688
> pid 7688's current affinity mask: 2
> [root@vm2 ~]# taskset -p 7689
> pid 7689's current affinity mask: 4
> [root@vm2 ~]# taskset -p 7690
> pid 7690's current affinity mask: 8
> [root@vm2 ~]# taskset -p 7691
> pid 7691's current affinity mask: 10
> [root@vm2 ~]# taskset -p 7692
> pid 7692's current affinity mask: 20
> [root@vm2 ~]# taskset -p 7693
> pid 7693's current affinity mask: 40
> [root@vm2 ~]# taskset -p 7694
> pid 7694's current affinity mask: 80
> [root@vm2 ~]# taskset -p 7695
> pid 7695's current affinity mask: 100
> [root@vm2 ~]# taskset -p 7696
> pid 7696's current affinity mask: 200
> [root@vm2 ~]# taskset -p 7697
> pid 7697's current affinity mask: 400
> [root@vm2 ~]# taskset -p 7698
> pid 7698's current affinity mask: 800
>
Все верно, каждый воркер назначен на отдельное ядро.
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|
|
|