Re: [PATCH v2 10/10] nvmet: Optionally use PCI P2P memory

From: Stephen Bates
Date: Thu Mar 01 2018 - 18:36:27 EST


> No, locality matters. If you have a bunch of NICs and bunch of drives
> and the allocator chooses to put all P2P memory on a single drive your
> performance will suck horribly even if all the traffic is offloaded.

Sagi brought this up earlier in his comments about the _find_ function. We are planning to do something about this in the next version. This might be a randomization or a "user-pick" and include a rule around using the p2p_dev on the EP if that EP is part of the transaction.

Stephen