Halaman

Sabtu, 02 Februari 2013

NGINX CPU AFINITY

. Sabtu, 02 Februari 2013 .

Bind worker processes to the sets of CPUs.
When set to 'auto', Tengine will automatically bind each worker process to a specific CPU. If the number of worker processes is larger than the number of your CPUs, then the rest of worker processes will be bond in descendant order. For example, if there are 8 CPUs in your system:
  • When the process number set to 4, the binding bitmap will be:
    10000000 01000000 00100000 00010000
  • When the process number set to 8, the binding bitmap will be:
    10000000 01000000 00100000 00010000 00001000 00000100 00000010 00000001
  • When the process number set to 10, the binding bitmap will be:
    10000000 01000000 00100000 00010000 00001000 00000100 00000010 00000001 10000000 01000000
When set to 'off', Tengine will disable the CPU affinity.
Syntax: request_time_cache [on | off]
Default: request_time_cache on
Context: http, server, location
When set to 'off', tengine will get a more exact time on $request_time, $request_time_msec, $request_time_usec because it does not use time cache.

0 komentar:

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Posting Komentar

 
{nama-blog-anda} is proudly powered by Blogger.com | Template by Agus Ramadhani | o-om.com