You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/13 02:23:09 UTC

[GitHub] [apisix] tzssangglass commented on a diff in pull request #8074: change: update the default value about enable_cpu_affinity

tzssangglass commented on code in PR #8074:
URL: https://github.com/apache/apisix/pull/8074#discussion_r994048496


##########
conf/config-default.yaml:
##########
@@ -167,7 +167,7 @@ nginx_config:                     # config for render the template to generate n
   error_log: logs/error.log
   error_log_level:  warn          # warn,error
   worker_processes: auto          # if you want use multiple cores in container, you can inject the number of cpu as environment variable "APISIX_WORKER_PROCESSES"
-  enable_cpu_affinity: true       # enable cpu affinity, this is just work well only on physical machine
+  enable_cpu_affinity: false       # enable cpu affinity, this is just work well only on physical machine

Review Comment:
   ```suggestion
     enable_cpu_affinity: false       # disable CPU affinity by default, if APISIX is deployed on a physical machine, it can be enabled and work well.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org