Re: [EXT] [PATCH] cryptodev: add a simple mapping cache to speed up ops pool create

2024-02-06 Thread Boyer, Andrew
On Feb 6, 2024, at 9:24 PM, Morten Brørup wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. From: Akhil Goyal [mailto:gak...@marvell.com] Sent: Tuesday, 6 February 2024 15.25 Cache the most recent VA

RE: [EXT] [PATCH] cryptodev: add a simple mapping cache to speed up ops pool create

2024-02-06 Thread Morten Brørup
> From: Akhil Goyal [mailto:gak...@marvell.com] > Sent: Tuesday, 6 February 2024 15.25 > > > Cache the most recent VA -> PA mapping found so that we can skip > > most of the system calls. With 4K pages this reduces pool create > > time by about 90%. > > > > Signed-off-by: Andrew Boyer > > I beli

RE: [EXT] [PATCH] cryptodev: add a simple mapping cache to speed up ops pool create

2024-02-06 Thread Akhil Goyal
> Cache the most recent VA -> PA mapping found so that we can skip > most of the system calls. With 4K pages this reduces pool create > time by about 90%. > > Signed-off-by: Andrew Boyer I believe there should be a generic solution for this in mempool if it is not there already. Here, you are