Welcome to Centmin Mod Community
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,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    5:26 AM
    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

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    7:26 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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