Re: [PATCH mlx5-next v2] RDMA/mlx5: Cleanup the synchronize_srcu() from the ODP flow

2021-02-08 Thread Jason Gunthorpe
On Tue, Feb 02, 2021 at 09:13:09AM +0200, Leon Romanovsky wrote: > From: Yishai Hadas > > Cleanup the synchronize_srcu() from the ODP flow as it was found to be a > very heavy time consumer as part of dereg_mr. > > For example de-registration of 1 ODP MRs each with size of 2M > hugepage took

[PATCH mlx5-next v2] RDMA/mlx5: Cleanup the synchronize_srcu() from the ODP flow

2021-02-01 Thread Leon Romanovsky
From: Yishai Hadas Cleanup the synchronize_srcu() from the ODP flow as it was found to be a very heavy time consumer as part of dereg_mr. For example de-registration of 1 ODP MRs each with size of 2M hugepage took 19.6 sec comparing de-registration of same number of non ODP MRs that took 172