Skip to contentSkip to conversation

single issuer tests and poll bench

PATCH Applied Pavel Begunkov 2 participants 4 messages Jul 22, 2022 io_uring

lore
Share & tools
lore
#0 lore raw

v2 cover single issuer tests and poll bench

Add some IORING_SETUP_SINGLE_ISSUER testing and poll benchmark.

Pavel Begunkov (2):
examples: add a simple single-shot poll benchmark
tests: test IORING_SETUP_SINGLE_ISSUER

 examples/Makefile     |   3 +-
 examples/poll-bench.c | 101 ++++++++++++++++++++++++++++
 test/Makefile         |   1 +
 test/single-issuer.c  | 153 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 257 insertions(+), 1 deletion(-)
 create mode 100644 examples/poll-bench.c
 create mode 100644 test/single-issuer.c
Signature · 1 line
2.37.0
#1 lore raw

PATCH v2 1/2 examples: add a simple single-shot poll benchmark

---
 examples/Makefile     |   3 +-
 examples/poll-bench.c | 101 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 1 deletion(-)
 create mode 100644 examples/poll-bench.c
examples/Makefile +2 -1
index 95a45f9..8e7067f 100644
@@ -13,7 +13,8 @@ endif
 example_srcs := \
 	io_uring-cp.c \
 	io_uring-test.c \
-	link-cp.c
+	link-cp.c \
+	poll-bench.c
 
 all_targets :=
 
examples/poll-bench.c new file +101 -0

101 lines not on this page · raw message

Signature · 1 line
2.37.0
#2 lore raw

PATCH v2 2/2 tests: test IORING_SETUP_SINGLE_ISSUER

In reply to Pavel Begunkov
---
 test/Makefile        |   1 +
 test/single-issuer.c | 153 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 154 insertions(+)
 create mode 100644 test/single-issuer.c
test/Makefile +1 -0
index e958a35..8945368 100644
@@ -174,6 +174,7 @@ test_srcs := \
 	wakeup-hang.c \
 	xattr.c \
 	skip-cqe.c \
+	single-issuer.c \
 	# EOL
 
 all_targets :=
test/single-issuer.c new file +153 -0

153 lines not on this page · raw message

Signature · 1 line
2.37.0
maintainer Applied
#3 lore raw
In reply to Pavel Begunkov
Quoted 7 lines · Pavel Begunkov

Add some IORING_SETUP_SINGLE_ISSUER testing and poll benchmark.

Pavel Begunkov (2):
examples: add a simple single-shot poll benchmark
tests: test IORING_SETUP_SINGLE_ISSUER

examples/Makefile | 3 +-

Quoted 8 lines
 examples/poll-bench.c | 101 ++++++++++++++++++++++++++++
 test/Makefile         |   1 +
 test/single-issuer.c  | 153 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 257 insertions(+), 1 deletion(-)
 create mode 100644 examples/poll-bench.c
 create mode 100644 test/single-issuer.c

[...]

Applied, thanks!

[1/2] examples: add a simple single-shot poll benchmark

      commit: 8200139273363c9d30d6b2db187f33508b6cd49f
[2/2] tests: test IORING_SETUP_SINGLE_ISSUER
      commit: bda30ea972839abdd1e7a0ecdef83e00ff9db7c8

Best regards,

Signature · 1 line
Jens Axboe