[PATCH v4 4/4] nvme: repack struct nvme_ns_head

Christoph Hellwig hch at lst.de
Thu Dec 7 07:33:51 PST 2023


On Thu, Dec 07, 2023 at 01:36:24PM +0100, Daniel Wagner wrote:
> ns_id, lba_shift and ms are always accessed for every read/write I/O in
> nvme_setup_rw. By grouping these variables into one cacheline we can
> safe some cycles.
> 
> 4k sequential reads:
> 
>            baseline   patched
> Bandwidth: 1620       1634
> IOPs       66345579   66910939

Nice:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list