You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UV_USE_IO_URING=1 enables epoll batching and sqpoll
No UV_USE_IO_URING enables epoll batching but not sqpoll
The loop flag works like (2)
The flag should have taken a boolean as an argument, in hindsight, but eh, live and learn.
Alternatively, we could leave epoll batching as an always-on thing and make the environment variable and loop flag only affect sqpoll. Because honestly, it's a pretty good optimization.
Alternatively, we could leave epoll batching as an always-on thing and make the environment variable and loop flag only affect sqpoll. Because honestly, it's a pretty good optimization.
I think this is where the consensus is? @saghul was with me on this one, at least :)
Alternatively, we could leave epoll batching as an always-on thing and make the environment variable and loop flag only affect sqpoll. Because honestly, it's a pretty good optimization.
I think this is where the consensus is? @saghul was with me on this one, at least :)
I have it pretty much finished already, the only thing we need to decide on is what gets highest priority: the environment variable, or the UV_LOOP_ENABLE_IO_URING_SQPOLL flag. I can see an argument for either.
I'm thinking that it should work like this:
UV_USE_IO_URING=0
disables io_uring completelyUV_USE_IO_URING=1
enables epoll batching and sqpollUV_USE_IO_URING
enables epoll batching but not sqpollThe flag should have taken a boolean as an argument, in hindsight, but eh, live and learn.
Alternatively, we could leave epoll batching as an always-on thing and make the environment variable and loop flag only affect sqpoll. Because honestly, it's a pretty good optimization.
Originally posted by @bnoordhuis in #4598 (comment)
The text was updated successfully, but these errors were encountered: