Re: [PATCH 00/29] RFC: iov_iter: Switch to using an ops table

From: Linus Torvalds
Date: Sat Nov 21 2020 - 13:23:37 EST


On Sat, Nov 21, 2020 at 6:13 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Can someone recommend a good way to benchmark this properly? The problem
> is that the difference this makes relative to the amount of time taken to
> actually do I/O is tiny.

Maybe try /dev/zero -> /dev/null to try a load where the IO itself is
cheap. Or vmsplice to /dev/null?

Linus