dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.18k stars 4.72k forks source link

Support the Windows 11 I/O ring API #58752

Open teo-tsirpanis opened 3 years ago

teo-tsirpanis commented 3 years ago

As noticed in https://github.com/dotnet/runtime/issues/51985#issuecomment-913066109, Windows 11 will get a new I/O API similar to io_uring.

Since it's still in preview, documentation and details about it are scant. When more are released and if it is decided to support it in a future release, this issue will track it.

dotnet-issue-labeler[bot] commented 3 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

huoyaoyuan commented 1 year ago

The documentation is at https://learn.microsoft.com/en-us/windows/win32/api/ioringapi/ .

deeprobin commented 2 days ago

I would try implementing an sample locally for the usage of IORing in C# and measure some performance.

Are there already implemented some Win11+ only libraries in .NET? Is there a preprocessor variable for WINDOWS_11 and upwards? Or does this need some runtime checks?

teo-tsirpanis commented 2 days ago

You would need a runtime check.