There is a system call called io_setup. In librtkaio, this call gets 1024 as an argument. This results in a constant 1024, as I described, and impairs performance if there are 1024 pixels in parallel. Please note that 1024 is hard-coded.
Only calling lio_listio in lock mode will allow you to raise that 1024 bar.
source
share