Learn about Centmin Mod LEMP Stack today
Register Now

Nginx nginx worker_cpu_affinity ?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Jan 23, 2020.

  1. rdan

    rdan Well-Known Member

    5,073
    1,251
    113
    May 25, 2014
    Ratings:
    +1,903
    Local Time:
    4:10 PM
    Mainline
    10.2
    @eva2000 Why is it some new install have worker_cpu_affinity auto set some new install don't have?

     
  2. eva2000

    eva2000 Administrator Staff Member

    47,008
    10,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,533
    Local Time:
    6:10 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    due to change made at https://community.centminmod.com/th...ss-auto-tuning-routine-in-123-09beta01.17344/

    It's based on cpu thread counts >12 get worker_cpu_affinity = auto enabled. Specifically it's based on physical cpu core counts so if cpu threads >12 which means if cpu cores 12/2 = greater than 6
     
    Last edited: Jan 23, 2020