[GH-ISSUE #191] [FEATURE REQUEST] Experimental - Implementation of Windows IoRing to maximize SSD I/O streaming speeds. #99

Closed
opened 2026-11-04 01:39:53 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Mayorc1978 on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/191

Context:
Windows I/O Rings (IoRing) are high-performance Win32 and NT kernel APIs introduced in Windows 11 (Build 22000 / version 21H2) that provide asynchronous file input/output operations through shared submission and completion queues.

Project as https://github.com/Apolog1ze-Dev/QwFNfer uses io_uring on Linux to maximise streaming speeds from SSDs. Windows, by default, doesn't use that kind of tech, causing massive latency and overhead in the process. But IoRing could give similar efficiency to that seen on Linux machines. So I propose it as a feature to speed up everything Windows-related.

Alternative:
Since a port for QwFNfer also reports that an Unbuffered+overlapped reads could give better speeds compared to IoRing v3, it could be something to also consider.

Originally created by @Mayorc1978 on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/191 **Context:** Windows I/O Rings (_IoRing_) are high-performance Win32 and NT kernel APIs introduced in Windows 11 (Build 22000 / version 21H2) that provide asynchronous file input/output operations through shared submission and completion queues. Project as [https://github.com/Apolog1ze-Dev/QwFNfer](https://github.com/Apolog1ze-Dev/QwFNfer) uses io_uring on Linux to maximise streaming speeds from SSDs. Windows, by default, doesn't use that kind of tech, causing massive latency and overhead in the process. But IoRing could give similar efficiency to that seen on Linux machines. So I propose it as a feature to speed up everything Windows-related. **Alternative:** Since a port for QwFNfer also reports that an _Unbuffered+overlapped_ reads could give better speeds compared to IoRing v3, it could be something to also consider.
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

Thanks, noted for the backlog. It would only matter for the low-RAM mode (--mmap-experts). Unbuffered overlapped reads would be the first thing to measure, since they work on Windows 10 too.

<!-- gh-comment-id:5908113390 --> @Niko1221 commented on GitHub (Sep 30, 2026): Thanks, noted for the backlog. It would only matter for the low-RAM mode (`--mmap-experts`). Unbuffered overlapped reads would be the first thing to measure, since they work on Windows 10 too.
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

Closing as not planned for now; it only matters for the low-RAM mode. If someone measures a clear gain (unbuffered overlapped reads are the first thing to try, they work on Windows 10 too), a PR is welcome.

<!-- gh-comment-id:5910289933 --> @Niko1221 commented on GitHub (Sep 30, 2026): Closing as not planned for now; it only matters for the low-RAM mode. If someone measures a clear gain (unbuffered overlapped reads are the first thing to try, they work on Windows 10 too), a PR is welcome.
Author
Owner

@Mayorc1978 commented on GitHub (Sep 30, 2026):

Closing as not planned for now; it only matters for the low-RAM mode. If someone measures a clear gain (unbuffered overlapped reads are the first thing to try, they work on Windows 10 too), a PR is welcome.

Wait, why do you think this matters only for the low Ram mode? I think this would also matter when using bigger quants, up to Q4.

<!-- gh-comment-id:5913156528 --> @Mayorc1978 commented on GitHub (Sep 30, 2026): > Closing as not planned for now; it only matters for the low-RAM mode. If someone measures a clear gain (unbuffered overlapped reads are the first thing to try, they work on Windows 10 too), a PR is welcome. Wait, why do you think this matters only for the low Ram mode? I think this would also matter when using bigger quants, up to Q4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#99
No description provided.