|
@Cor3ntin | |||||
|
A Universal I/O Abstraction for C++
New blog post about executors, asynchronous I/O, io_uring, coroutines and more !
➡️ cor3ntin.github.io/posts/iouring/ ⬅️ pic.twitter.com/orSvys0cdo
|
||||||
|
||||||
|
Jens Axboe
@axboe
|
31. sij |
|
A few questions/comments:
"a single system io_uring_enter" - missing "call"?
And any reason for the dummy read rather than a NOP?
|
||
|
|
||
|
Corentin
@Cor3ntin
|
31. sij |
|
Missing call indeed
the read reads from an eventfd descriptor, which is written to from an arbitrary thread - it's just to avoid a lock around the sqe handling - as apparently eventfd is a bit cheaper than a futex.
|
||
|
|
||
|
Nagy-Egri Máté
@nagyegrimate
|
31. sij |
|
|
||
|
Corentin
@Cor3ntin
|
31. sij |
|
There would be a bulk_execute that runs an operation n times. But I conviniently did not talk about the things I do not understand...
I know that @__simt__ ultimately wants GPUs to just work with regular c++ but I have no clue how.
|
||
|
|
||
|
Matheus Catarino
@TheuCatarino
|
1. velj |
|
Interesting, although I was not able to completely abstract the information on this subject.
Thank you for sharing this very robust and also complex explanation.
|
||
|
|
||