Hello, Here a first experimentation of IO_URING on certificate loading. It targets heavy users of certificates (several thousands), most likely public hosting operators. I believe it could be a post v2.2 material if people are interested. I tried to make it the less invasive possible in ssl_sock.c to it remains maintainable.
Other experimentation are ongoing around epoll operations (I'm thinking about alternative way for busy polling) but that something that I want to extend later with more serious testing. I also recently got some crazy ideas around traffic duplication to make use of async, but that's another story. see also https://kernel.dk/io_uring.pdf for more info about io_uring. William Dauchy (1): MEDIUM: ssl: add alternative way to load certificates with io_uring Makefile | 10 +- doc/io_uring.txt | 18 +++ include/proto/ssl_load.h | 23 ++++ include/types/ssl_load.h | 38 ++++++ include/types/ssl_sock.h | 7 + src/ssl_load.c | 274 +++++++++++++++++++++++++++++++++++++++ src/ssl_sock.c | 32 ++++- 7 files changed, 395 insertions(+), 7 deletions(-) create mode 100644 doc/io_uring.txt create mode 100644 include/proto/ssl_load.h create mode 100644 include/types/ssl_load.h create mode 100644 src/ssl_load.c -- 2.26.2