DPDK patches and discussions
 help / color / mirror / Atom feed
From: Akhil Goyal <gakhil@marvell.com>
To: Zhangfei Gao <zhangfei.gao@linaro.org>,
	"dev@dpdk.org" <dev@dpdk.org>, Kai Ji <kai.ji@intel.com>
Cc: Fan Zhang <fanzhang.oss@gmail.com>
Subject: RE: [EXT] questions about crypto_scheduler
Date: Fri, 16 Dec 2022 10:31:11 +0000	[thread overview]
Message-ID: <CO6PR18MB448400F15F8612ED3B1E1190D8E69@CO6PR18MB4484.namprd18.prod.outlook.com> (raw)
In-Reply-To: <3637a6bf-beee-0994-203c-69c9a77a3042@linaro.org>



> Hi, Akhil
> 
> Excuse me for the question.
> 
> I am testing UADK crypto performance with dpdk-test-crypto-perf, and
> want to use multi-thread or multi-session for better performance, so
> trying to use crypto_scheduler.
> 
> CMD like
> sudo dpdk-test-crypto-perf -l 1,2 --vdev "crypto_uadk0" --vdev
> "crypto_uadk1" --vdev
> "crypto_scheduler,worker=crypto_uadk0,worker=crypto_uadk1,mode=round-
> robin"
> -- --devtype crypto_scheduler --optype cipher-only --buffer-sz 8192
> 
> Though multi-worker is set but found it is just using one worker.
> Since uadk_cryptodev_probe gets the same dev->driver_id =
> uadk_cryptodev_driver_id in multi-probe.
> 
> Then scheduler_pmd_sym_session_configure will treat only one worker,
> and call rte_cryptodev_sym_session_create only once.
> if (configured_sess[j].driver_id == worker->driver_id)
>          break
> 
> Do I misuse the crypto_scheduler for the multi-thread or multi-session.


++ scheduler maintainers

  parent reply	other threads:[~2022-12-16 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-16  6:54 Zhangfei Gao
2022-12-16  9:27 ` Zhang, Fan
2022-12-16 10:31 ` Akhil Goyal [this message]
2022-12-21  9:19 ` Zhang, Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CO6PR18MB448400F15F8612ED3B1E1190D8E69@CO6PR18MB4484.namprd18.prod.outlook.com \
    --to=gakhil@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fanzhang.oss@gmail.com \
    --cc=kai.ji@intel.com \
    --cc=zhangfei.gao@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).