All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] virtio-crypto: Improve performance
@ 2022-04-15  6:41 ` zhenwei pi
  0 siblings, 0 replies; 16+ messages in thread
From: zhenwei pi @ 2022-04-15  6:41 UTC (permalink / raw)
  To: arei.gonglei, mst
  Cc: jasowang, herbert, linux-kernel, virtualization, linux-crypto,
	helei.sig11, davem, zhenwei pi

Hi,

The main point of this series is to improve the performance for
virtio crypto:
- Use wait mechanism instead of busy polling for ctrl queue, this
  reduces CPU and lock racing, it's possiable to create/destroy session
  parallelly, QPS increases from ~40K/s to ~200K/s.
- Enable retry on crypto engine to improve performance for data queue,
  this allows the larger depth instead of 1.
- Fix dst data length in akcipher service.
- Other style fix.

lei he (2):
  virtio-crypto: adjust dst_len at ops callback
  virtio-crypto: enable retry for virtio-crypto-dev

zhenwei pi (2):
  virtio-crypto: wait ctrl queue instead of busy polling
  virtio-crypto: move helpers into virtio_crypto_common.c

 drivers/crypto/virtio/Makefile                |   1 +
 .../virtio/virtio_crypto_akcipher_algs.c      |  92 ++++++------
 drivers/crypto/virtio/virtio_crypto_common.c  |  92 ++++++++++++
 drivers/crypto/virtio/virtio_crypto_common.h  |  25 +++-
 drivers/crypto/virtio/virtio_crypto_core.c    |  37 +----
 .../virtio/virtio_crypto_skcipher_algs.c      | 134 ++++++++----------
 6 files changed, 222 insertions(+), 159 deletions(-)
 create mode 100644 drivers/crypto/virtio/virtio_crypto_common.c

-- 
2.20.1


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

end of thread, other threads:[~2022-04-15 12:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15  6:41 [PATCH 0/4] virtio-crypto: Improve performance zhenwei pi
2022-04-15  6:41 ` zhenwei pi
2022-04-15  6:41 ` [PATCH 1/4] virtio-crypto: wait ctrl queue instead of busy polling zhenwei pi
2022-04-15  6:41   ` zhenwei pi
2022-04-15  8:41   ` Michael S. Tsirkin
2022-04-15  8:41     ` Michael S. Tsirkin
2022-04-15 10:50     ` zhenwei pi
2022-04-15 10:50       ` zhenwei pi
2022-04-15 12:33       ` Michael S. Tsirkin
2022-04-15 12:33         ` Michael S. Tsirkin
2022-04-15  6:41 ` [PATCH 2/4] virtio-crypto: move helpers into virtio_crypto_common.c zhenwei pi
2022-04-15  6:41   ` zhenwei pi
2022-04-15  6:41 ` [PATCH 3/4] virtio-crypto: adjust dst_len at ops callback zhenwei pi
2022-04-15  6:41   ` zhenwei pi
2022-04-15  6:41 ` [PATCH 4/4] virtio-crypto: enable retry for virtio-crypto-dev zhenwei pi
2022-04-15  6:41   ` zhenwei pi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.