5 Star 1 Fork 11

OpenCloudOS Stream/openssl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
turbo-recommend-8-async_jobs.patch 935 Bytes
一键复制 编辑 原始数据 按行查看 历史
abushwang 提交于 2024-08-12 20:11 . turbo: enable support for QAT engine
From 35d1dd82996f97b45157fa615c637b434c0e9bf7 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Tue, 13 Aug 2024 19:22:53 +0800
Subject: [PATCH 2/2] turbo: recommend 8 async_jobs
https://www.intel.com/content/www/us/en/developer/articles/guide/building-software-acceleration-features-in-the-intel-qat-engine-for-openssl.html
Signed-off-by: Shuo Wang <abushwang@tencent.com>
---
apps/speed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/speed.c b/apps/speed.c
index 663c0ac..d88889b 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -1368,7 +1368,7 @@ int speed_main(int argc, char **argv)
int ret = 1, misalign = 0, lengths_single = 0, aead = 0;
long count = 0;
unsigned int size_num = SIZE_NUM;
- unsigned int i, k, loopargs_len = 0, async_jobs = 0;
+ unsigned int i, k, loopargs_len = 0, async_jobs = 8;
int keylen;
int buflen;
BIGNUM *bn = NULL;
--
2.39.3
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/openssl.git
git@gitee.com:opencloudos-stream/openssl.git
opencloudos-stream
openssl
openssl
master

搜索帮助