* [PATCH] app/crypto-perf: update result granularity
@ 2025-08-05 7:14 Akhil Goyal
2025-10-01 7:47 ` Akhil Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Akhil Goyal @ 2025-08-05 7:14 UTC (permalink / raw)
To: dev; +Cc: Akhil Goyal
In cases like RSA which has low performance numbers
compared to AES, the Mops and gbps may not give accurate results.
Hence updated the number of decimal places to have meaningful
results.
The results are not updated to show Kops or mbps as the results
may be used in CI scripts which considers them as Mops/gbps and
hence all scripts will need to be updated.
Signed-off-by: Akhil Goyal <gakhil@marvell.com>
---
app/test-crypto-perf/cperf_test_throughput.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/cperf_test_throughput.c b/app/test-crypto-perf/cperf_test_throughput.c
index 13b16d9670..3a82d75f95 100644
--- a/app/test-crypto-perf/cperf_test_throughput.c
+++ b/app/test-crypto-perf/cperf_test_throughput.c
@@ -374,7 +374,7 @@ cperf_throughput_test_runner(void *test_ctx)
"Cycles/Buf");
printf("%12u%12u%12u%12"PRIu64"%12"PRIu64"%12"PRIu64
- "%12"PRIu64"%12.4f%12.4f%12.2f\n",
+ "%12"PRIu64"%12.6f%12.6f%12.2f\n",
ctx->lcore_id,
ctx->options->test_buffer_size,
test_burst_size,
@@ -394,7 +394,7 @@ cperf_throughput_test_runner(void *test_ctx)
"Cycles/Buf\n\n");
printf("%u,%u,%u,%"PRIu64",%"PRIu64",%"PRIu64",%"PRIu64","
- "%.3f,%.3f,%.3f\n",
+ "%.6f,%.6f,%.3f\n",
ctx->lcore_id,
ctx->options->test_buffer_size,
test_burst_size,
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] app/crypto-perf: update result granularity
2025-08-05 7:14 [PATCH] app/crypto-perf: update result granularity Akhil Goyal
@ 2025-10-01 7:47 ` Akhil Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2025-10-01 7:47 UTC (permalink / raw)
To: Akhil Goyal, dev
> Subject: [PATCH] app/crypto-perf: update result granularity
>
> In cases like RSA which has low performance numbers
> compared to AES, the Mops and gbps may not give accurate results.
> Hence updated the number of decimal places to have meaningful
> results.
> The results are not updated to show Kops or mbps as the results
> may be used in CI scripts which considers them as Mops/gbps and
> hence all scripts will need to be updated.
>
> Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-01 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-05 7:14 [PATCH] app/crypto-perf: update result granularity Akhil Goyal
2025-10-01 7:47 ` Akhil Goyal
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).