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: "DSmirnov" <nginx-forum@xxxxxxxx>
- Date: Fri, 31 Aug 2012 03:04:11 -0400 (EDT)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=s33QJXDmgvp3XH/v0gb4dVYbm+Wb3/MOR7G7Lo/BlaQ=; b=ADbiVskC9Hb6ilpDRESuoixpV/Vjui1VCf6vAtWnzoyA3LAb+lr+HQHc4618EVkJcwMO4VMBmk+xNbgngVO+1jBm3NxuxWLLF0RjRiafUi2NdOvtJNNBrc67Hmf8si1I;
- In-reply-to: <352E38CF-F71C-47A2-B647-95632FF1165C@sysoev.ru>
- References: <352E38CF-F71C-47A2-B647-95632FF1165C@sysoev.ru>
Конфиг:
worker_processes 12;
worker_cpu_affinity 000001 000010 000100 001000 010000 000111 000011 000101
001001 000110 010010 010001;
worker_priority -5;
worker_rlimit_nofile 65535;
timer_resolution 100ms;
events {
use epoll;
worker_connections 16384;
accept_mutex off;
}
Результат - http://picfree.org/di-AXLM.png
Конфиг ( без аффинити ):
worker_processes 12;
worker_priority -5;
worker_rlimit_nofile 65535;
timer_resolution 100ms;
events {
use epoll;
worker_connections 16384;
accept_mutex off;
}
Результат - http://picfree.org/di-UF6Q.png
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,230327,230365#msg-230365
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|