Hacker News new | ask | show | jobs
by dijit 1945 days ago
IOCP!

https://en.wikipedia.org/wiki/Input/output_completion_port

2 comments

Almost every time I talked to pseudo nt gurus, IOCP was mentioned as something nt did and linux don't. Now, io_uring seems to have finally closed the gap.
io_uring is more like RIO, which is better than IOCP if your packet rates are high.
You mean like epoll on Linux?
No, like io_uring which Linux got in 2019 and still doesn't cover everything yet (e.g. currently mkdirat() is being added). It also often falls back to a kernel-level thread pool, since many e.g. file systems don't implement async IO.
Annoyingly IOCP didn’t cover everything as well - for example, CreateFile of all things!
>since many e.g. file systems don't implement async IO

If we're picking on Linux here we should also mention that this issue cannot exist on Windows because it doesn't support anything else besides NTFS and a couple of options dating back to the 18th century or so.

Oh, and WinFS, of course, F being short for future which is like the horizon, or the communism, always out there just a month or two away.

You can actually for example get drivers for APFS for Windows from third party vendors.
Sure, and there are third party drivers for ext* and btrfs and god knows what else… but we're talking about official support here, I think. You can find all sorts of craziness in out-of-tree patches for the Linux kernel.
They also have ReFS - new filesystem in NT Server.