Skip to content

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

Notifications You must be signed in to change notification settings

CarterLi/nginx-io_uring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-io_uring

This repo tries to improve preformance of Nginx using io_uring event model.

Kernel requirement

Linux 5.13.0+ and liburing HEAD ( for IORING_POLL_ADD_MULTI support ).

Contribute

This project is highly experimental and unstable currently, any contributions are welcome. The modification is basically 1 to 1 changes, mainly comes from src/event/modules/ngx_epoll_module.c

To debug it, compile nginx with --with-file-aio --with-debug:

# nginx.conf
master_process off;
daemon off;
error_log  stderr debug;

http {
  aio on;
  sendfile off;
}

About

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.8%
  • Vim Script 2.5%
  • Other 0.7%