Skip to content
Advertisement

Tag: aio

Why io_submit(…, nr, …) might submit less requests than nr?

I’m using io_submit(…, nr, …) with nr up to 128 but I usually get fewer requests submitted. According to the manual IO_SUBMIT(2), this is legit but I wonder: why? Also, is there a way to know which request was submitted right away – without checking io_getevents()? From the manual: On success, io_submit() returns the number of iocbs submitted (which may

“Linux aio” and “Linux native aio” are the same thing?

I’m recently digging into linux io model, and I frequently hear that like windows IOCP, linux has its own aio model implementation: Glibc aio and kernel aio. Question: (1) when people say “linux native aio”, which model is indicated? (2) I hear 2 different terms, “linux aio” and “linux native aio”. Are they the same thing, or indicating different implementations?

Advertisement