On Wed, Nov 13, 2013 at 2:23 PM, Gabriele Svelto
<[email protected]> wrote:
> On 12/11/2013 11:31, Anuj Kalia wrote:
>>
>> I believe the atomic operations would be a lot more expensive than
>> reads/writes. I'm targetting maximum performance so I don't want to
>> look that way yet.
>
>
> This sounds like premature optimization to me which as you know is the root
> of all evil :)
> Try using the atomic primitives, they have been designed specifically for
> this kind of scenario, and then measure their performance in the real world
> before spending time on optimizing something that might just be fast enough
> for your purposes (and far more robust). If you're already polling your CQs
> those operations will be *very* fast.
>

I'm working on a project where I'm trying to extract the maximum IOPS
from a server for an application. If atomic operations are even 2-X
slower than RDMA writes (which I'd expect because they involve a read
and a write), I can't use them. However, it would be interesting to
find their performance. I'll try that.

Thanks!
>  Gabriele
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to