On Thu, 3 Oct 2024 at 16:09, Bernd Schubert <bernd.schubert@xxxxxxxxxxx> wrote: > Well, we need to search - either rbtree or xarray, please not the > existing request_find() with a list search - totally unsuitable for > large number of requests in fly (think of a ring with 32768 entries). > I.e. that points to not using req->unique, but own own index. Even then it won't add a significant overhead (that's a tight loop with ~128 iterations, with likely everything in cache). But I won't stop you from trying to improve this, if you can justify a separate index with some great performance numbers, then I'll accept that. I just think it's unlikely to be the case. Thanks, Miklos