[PATCH] nvme-rdma: Use mr pool

Israel Rukshin israelr at mellanox.com
Tue Nov 7 07:43:25 PST 2017


On 11/6/2017 6:48 PM, Christoph Hellwig wrote:
> Do you have any performance numbers for this change?
>
> Also we shouldn't need the hack for the flush special case in
> nvme_rdma_post_send once we stop embedding the MR in struct request.

Hi Christoph,

Yes, I have some performance numbers.

Here is my results for READ/WRITE IOPs:

BS = 512B:
     32 Jobs (1 device):
         1) w/ mr pool 6.4 M / 6.2 M
         2) w/o mr pool 6.4 M / 6.2 M

     512 Jobs (8 devices at the same subsystem):
         1) w/ mr pool  8.2 M / 7.8 M
         2) w/o mr pool  8.2 M / 7.9 M

BS = 4k:
      32 Jobs (1 device):
         1) w/ mr pool  2.4 M/ 2 M
         2) w/o mr pool  2.4 M/ 2 M

     512 Jobs (8 devices at the same subsystem):
         1) w/ mr pool 2.1 M / 2.2 M
         2) w/o mr pool  2.1M / 2.1 M


You can see from the results that there is no performance degradation 
with my patch.

Regards,
Israel



More information about the Linux-nvme mailing list