DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] app/eventdev: increase default queue depth for cryptodev
@ 2024-06-27  5:15 Aakash Sasidharan
  2024-06-27 12:04 ` Gujjar, Abhinandan S
  0 siblings, 1 reply; 2+ messages in thread
From: Aakash Sasidharan @ 2024-06-27  5:15 UTC (permalink / raw)
  To: Jerin Jacob
  Cc: gakhil, anoobj, vvelumuri, asasidharan, abhinandan.gujjar, dev

With crypto adapter, larger queue depths are desirable since same queue
could be used from multiple cores at the same time. With devices that
are capable of doing large bursts, larger queues would help in multi
core management of same queue.

Increase default queue depth in cryptodev to cater to such use cases.

Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
---
 app/test-eventdev/test_perf_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c
index db0f9c1f3b..66d22cd559 100644
--- a/app/test-eventdev/test_perf_common.c
+++ b/app/test-eventdev/test_perf_common.c
@@ -6,7 +6,7 @@
 
 #include "test_perf_common.h"
 
-#define NB_CRYPTODEV_DESCRIPTORS 1024
+#define NB_CRYPTODEV_DESCRIPTORS 4096
 #define DATA_SIZE		512
 #define IV_OFFSET (sizeof(struct rte_crypto_op) + \
 		   sizeof(struct rte_crypto_sym_op) + \
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] app/eventdev: increase default queue depth for cryptodev
  2024-06-27  5:15 [PATCH] app/eventdev: increase default queue depth for cryptodev Aakash Sasidharan
@ 2024-06-27 12:04 ` Gujjar, Abhinandan S
  0 siblings, 0 replies; 2+ messages in thread
From: Gujjar, Abhinandan S @ 2024-06-27 12:04 UTC (permalink / raw)
  To: Aakash Sasidharan, Jerin Jacob; +Cc: gakhil, anoobj, vvelumuri, dev

Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>

> -----Original Message-----
> From: Aakash Sasidharan <asasidharan@marvell.com>
> Sent: Thursday, June 27, 2024 10:45 AM
> To: Jerin Jacob <jerinj@marvell.com>
> Cc: gakhil@marvell.com; anoobj@marvell.com; vvelumuri@marvell.com;
> asasidharan@marvell.com; Gujjar, Abhinandan S
> <abhinandan.gujjar@intel.com>; dev@dpdk.org
> Subject: [PATCH] app/eventdev: increase default queue depth for cryptodev
> 
> With crypto adapter, larger queue depths are desirable since same queue could
> be used from multiple cores at the same time. With devices that are capable of
> doing large bursts, larger queues would help in multi core management of same
> queue.
> 
> Increase default queue depth in cryptodev to cater to such use cases.
> 
> Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
> ---
>  app/test-eventdev/test_perf_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/test-eventdev/test_perf_common.c b/app/test-
> eventdev/test_perf_common.c
> index db0f9c1f3b..66d22cd559 100644
> --- a/app/test-eventdev/test_perf_common.c
> +++ b/app/test-eventdev/test_perf_common.c
> @@ -6,7 +6,7 @@
> 
>  #include "test_perf_common.h"
> 
> -#define NB_CRYPTODEV_DESCRIPTORS 1024
> +#define NB_CRYPTODEV_DESCRIPTORS 4096
>  #define DATA_SIZE		512
>  #define IV_OFFSET (sizeof(struct rte_crypto_op) + \
>  		   sizeof(struct rte_crypto_sym_op) + \
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-27 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-27  5:15 [PATCH] app/eventdev: increase default queue depth for cryptodev Aakash Sasidharan
2024-06-27 12:04 ` Gujjar, Abhinandan S

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).