Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add NGINX_IOURING_PATCH variable support in 123.09beta01
- For Nginx 1.17.0+ and Linux Kernel 5.1 usage only when NGINX_IORURING_PATCH='y' is enabled via persistent config file /etc/centminmod/custom_config.inc setting prior to centmin.sh menu option 4 nginx compiles (disabled by default), apply patch to allow Nginx AIO https://nginx.org/en/docs/http/ngx_http_core_module.html#aio to use Linux Kernel 5.1's new io_uring interface to support more efficient buffered AIO with less system calls https://lwn.net/Articles/776703/ & https://hub.packtpub.com/linux-5-1-out-with-io_uring-io-interface-persistent-memory-new-patching-improvements-and-more-2/ - Obviously, if you remove/downgrade Linux Kernel from 5.1, need to set NGINX_IORURING_PATCH='n', and recompile Nginx via centmin.sh menu option 4 to remove the patch - Once patched in /usr/local/nginx/conf/nginx.conf need to disable sendfiles and enable aio. The centmin.sh menu option 4 routine will attempt to do this automatically so you can verify if the following is set in nginx.conf when NGINX_IORURING_PATCH='y' enabled. When NGINX_IORURING_PATCH='n' set, centmin.sh menu option 4 routine will attempt to remove aio on and turn sendfile on again. sendfile off; aio on;
- Loading branch information
Showing with 545 additions and 15 deletions.
There are no files selected for viewing
Oops, something went wrong.