Join the community 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,064
    1,249
    113
    May 25, 2014
    Ratings:
    +1,894
    Local Time:
    6:03 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

    46,863
    10,629
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,499
    Local Time:
    8:03 AM
    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