Mellanox / SparkRDMA

This is archive of SparkRDMA project. The new repository with RDMA shuffle acceleration for Apache Spark is here: https://github.com/Nvidia/sparkucx
Apache License 2.0
241 stars 70 forks source link

Use default numCompletionVectors if disni returns negative. #32

Open petro-rudenko opened 5 years ago

petro-rudenko commented 5 years ago

Fixes #31 For some reason on the user's system ibv_context->num_comp_vectors returns negative number (probably not initialized). To prevent DivisionByZeroException we can use the default value of 1, to assign CQ processing at least to 1 CPU.