tmp_kernel_5.15/tools/virtio/ringtest
2023-06-26 10:03:39 +08:00
..
main.c init code 2023-06-26 10:03:39 +08:00
main.h init code 2023-06-26 10:03:39 +08:00
Makefile init code 2023-06-26 10:03:39 +08:00
noring.c init code 2023-06-26 10:03:39 +08:00
ptr_ring.c init code 2023-06-26 10:03:39 +08:00
README init code 2023-06-26 10:03:39 +08:00
ring.c init code 2023-06-26 10:03:39 +08:00
run-on-all.sh init code 2023-06-26 10:03:39 +08:00
virtio_ring_0_9.c init code 2023-06-26 10:03:39 +08:00
virtio_ring_inorder.c init code 2023-06-26 10:03:39 +08:00
virtio_ring_poll.c init code 2023-06-26 10:03:39 +08:00

Partial implementation of various ring layouts, useful to tune virtio design.
Uses shared memory heavily.

Typical use:

# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring