ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: 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


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Нагрузочное тестирование и cpu affinity
  • From: Валентин Бартенев <ne@xxxxxxxx>
  • Date: Fri, 31 Aug 2012 16:23:13 +0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=vbart.ru; s=mail; h=Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Date:Subject:To:From; bh=Klu9MKuOCu90j7vASUqsiPZlLqJ0eIDVxyaQUH/mffE=; b=Lw/hrNrKgX0so+9zhCTPjmonkR6sQyY2oFL5jnavZ750b6hMxv2o/JaITQAH7B7zU56Mr4V7mzAzwy11Rt2SaFiNLxCNlZ4XK/4maGIQwS7iVnLXHEPMFGLAupOcbvIhHfzQFP1YsQlsemey72JnEwuu5mydjgwzAALHDhZsSHPuwTI06/jGM5a6ZG+ETGVtUqR3Wq+rlzgLO8V/ql/XRrSDqqdSfC1qm0qCYffvfCxnrUXPuYWOCwLo0Dn70LAdDrKE++zjbXlLv4MLlO8IChy3GvAnL8XsCKqtshGv3JJDWoJxowSDgD3ekaR85upZgQF/g4rD0veMDIF4jaumwg==;
  • In-reply-to: <cc3406af75a4359d4781d6c4716aed0c.NginxMailingListRussian@forum.nginx.org>
  • References: <504095AB.6040502@mail.ru> <cc3406af75a4359d4781d6c4716aed0c.NginxMailingListRussian@forum.nginx.org>

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


 




Copyright © Lexa Software, 1996-2009.