Re:io_uring_spawn: Launching New Processes with io_uring
by JoshTriplett on Wednesday September 14, 2022 @02:13PM
(#32840995)
> Yes, the average time of cloning once is 30us, but if you queue up two of them at once, how long does that take?
I'm working on a new architecture for this right now that should make this case work well.
What I missed from the presentation is some discussion about the asyncronicity of the clone calls. Yes, the average time of cloning once is 30us, but if you queue up two of them at once, how long does that take? Will it just sum or will the total time be shorter? Today there are applications that set up a thread pool by recursively open new threads, both in the original thread and in the forked ones. That is more than a little bit icky and could perhaps be simplified with this.