On Tue, Aug 18, 2020 at 1:40 PM John Dorminy <jdorminy@xxxxxxxxxx> wrote: > > The summary (for my FIO workloads focused on > parallelism) is that offloading is useful for high IO depth random > writes on SSDs, and for long sequential small writes on HDDs. Do we have any non-microbenchmarks that might be somewhat representative of something, and might be used to at least set a default? Or can we perhaps - even better - dynamically notice whether to offload or not? I suspect that offloading is horrible for any latency situation, particularly with any modern setup where the SSD is fast enough that doing scheduling to another thread is noticeable. After all, some people are working on polling IO, because the result comes back so fast that taking the interrupt is unnecessary extra work. Those people admittedly have faster disks than most of us, but .. At least from a latency angle, maybe we could have the fairly common case of a IO depth of 1 (because synchronous reads) not trigger it. It looks like you only did throughput benchmarks (like pretty much everybody always does, because latency benchmarks are a lot harder to do well). Linus