Commit graph

23 commits

Author SHA1 Message Date
espoal
b6cd047a28 feat: addes examples folder 2022-10-11 22:51:18 +02:00
espoal
0e1a2a1776 feat: read example 2022-10-11 12:48:54 +02:00
fzn0x
4ed8bc99bd
fix: minor code typo (#5)
* fix: minor code typo
2022-10-02 19:20:08 +07:00
d0c4e7f98f
Merge pull request #4 from ii64/doc/add-license
doc: add license
2022-09-04 17:43:27 +07:00
aad8211d3e
doc: add license
Fixes #3
2022-09-04 17:41:10 +07:00
98f78a3b9f
bench/perf: handle interrupt from iouring enter
Other adjustments:
 * Fix miss results, using `SeenCqe` to pop CQ entry.
 * Increase sqpoll thread cpu to 16.
 * Fix CQE/SQE to Cqe/Sqe function name.
 * Fix UserData usage.

Benchmark:
 * Increase number of N to 10_000_000
2022-07-28 19:48:32 +07:00
0fee4d7a7f
doc: update graph 2022-07-28 19:47:38 +07:00
7eedf9754b
all: use of unsafe pointer for ring, and adjustments
There's other adjustment/addition:
 * Function name CQE/SQE renamed to Cqe/Sqe.
 * SQ entry union sets value withput util to reduce function
   complexity, so leaving function budget for another stuff.
 * UserData has its own type, implement for uint64, uintptr,
   and unsafe.
 * TODO: decide what to use `Syscall` or `RawSyscall`.
 * Exposed `SeenCqe`.
 * Ignore *.test file extension.
 * Inline cost tool.

Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-28 19:45:51 +07:00
56090b50c8
bench/perf: use of go sched
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:31:18 +07:00
a5a0584e4d
doc: update graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:30:52 +07:00
25e599231f
all: use constant for sizeof, add bench test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:23:00 +07:00
254fa28928
doc: update graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:21:52 +07:00
f3ba7e7189
queue: fix cqe peek batch, and improve test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:20:18 +07:00
501014a053
bench/perf: fix sqpoll result mismatch
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:19:07 +07:00
7c0e1c4ef7
bench/perf: perf script nop sq entry
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 09:59:36 +07:00
cd2c4242e8
doc: add graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 09:57:32 +07:00
734c7883b8
doc: add example on readme
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:27:55 +07:00
7fa3c507b1
api: impl get sqe, wait cqe, and test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:26:44 +07:00
aa6bf08729
setup: fix ring fd not set
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:25:45 +07:00
793e0b8cbd
queue: impl wait cqe, and tests
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:24:46 +07:00
575cae61c4
prep: add write, read prepare function
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:23:21 +07:00
5e137b98fb
all: fix IoUringCqe layout
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:22:19 +07:00
d28b913247
all: initial files
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-05 04:52:54 +07:00