3 ms·
Yes, it is nearly a 1:1 copy of io_uring, but unlike io_uring which applies to a single function, all I/O in the NT kernel is asynchronous. IOCP acts on file, n
by nullindividual 2y ago
Yes, it is nearly a 1:1 copy of io_uring, but unlike io_uring which applies to a single function, all I/O in the NT kernel is asynchronous. IOCP acts on file, network, mail slot, pipes, etc.
IoRing/io_uring is for files only. RegisteredIO is network only.
While Windows userland itself may be a 'mess' and archaic in it's own way (among the other anti-consumer bits), the NT kernel is technically quite advanced, not only for it's time, but at the present time.
David Cutler's team got the kernel architecture correct the first time. Linux still has a ways to catch up in certain aspects.
- lmz 2y agoA free sample chapter from Windows Internals about the I/O system for the curious: https://www.microsoftpressstore.com/articles/article.aspx?p=2201309&seqNum=3 https://www.microsoftpressstore.com/articles/article.aspx?p=...
- nullindividual 2y agoThanks, but I've been referring people like you who lack an understanding of Windows I/O (and VMM) to this book since at least the 4th edition. I've had my copy of the 7th since it came out.
- lmz 2y agoIt wasn't for your benefit somce you obviously are familiar with the topic, but for passers-by who may be interested in the topic.