logoalt Hacker News

bawolfftoday at 5:26 AM1 replyview on HN

Really stupid question from someone who doesnt know much about io_uring. Wouldn't doing all this i/o async make the latency measurements less accurate? How do you know when the i/o starts if you are submitting it async in batches of 2048?


Replies

dijittoday at 6:44 AM

Its not a stupid question.

Normally when I have run latency calculations in the past I run them from the perspective of the caller, not the server.

In most cases this is over the network, a named pipe or sock file.

I guess it should be possible to run multiple runtimes inside a program that run independently.