Re: [PATCH vhost 7/7] vdpa/mlx5: Postpone MR deletion

2024-08-29 Thread Eugenio Perez Martin
On Thu, Aug 29, 2024 at 5:23 PM Dragos Tatulea wrote: > > > > On 29.08.24 17:07, Eugenio Perez Martin wrote: > > On Wed, Aug 21, 2024 at 1:42 PM Dragos Tatulea wrote: > >> > >> Currently, when a new MR is set up, the old MR is deleted. MR deletion > >> is about 30-40% the time of MR creation. As

Re: [PATCH vhost 7/7] vdpa/mlx5: Postpone MR deletion

2024-08-29 Thread Dragos Tatulea
On 29.08.24 17:07, Eugenio Perez Martin wrote: > On Wed, Aug 21, 2024 at 1:42 PM Dragos Tatulea wrote: >> >> Currently, when a new MR is set up, the old MR is deleted. MR deletion >> is about 30-40% the time of MR creation. As deleting the old MR is not >> important for the process of setting u

Re: [PATCH vhost 7/7] vdpa/mlx5: Postpone MR deletion

2024-08-29 Thread Eugenio Perez Martin
On Wed, Aug 21, 2024 at 1:42 PM Dragos Tatulea wrote: > > Currently, when a new MR is set up, the old MR is deleted. MR deletion > is about 30-40% the time of MR creation. As deleting the old MR is not > important for the process of setting up the new MR, this operation > can be postponed. > > Thi

[PATCH vhost 7/7] vdpa/mlx5: Postpone MR deletion

2024-08-21 Thread Dragos Tatulea
Currently, when a new MR is set up, the old MR is deleted. MR deletion is about 30-40% the time of MR creation. As deleting the old MR is not important for the process of setting up the new MR, this operation can be postponed. This series adds a workqueue that does MR garbage collection at a later