android13/kernel-5.10/tools/virtio/ringtest
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
Makefile initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
main.c initial 2024-06-22 20:45:49 +08:00
main.h initial 2024-06-22 20:45:49 +08:00
noring.c initial 2024-06-22 20:45:49 +08:00
ptr_ring.c initial 2024-06-22 20:45:49 +08:00
ring.c initial 2024-06-22 20:45:49 +08:00
run-on-all.sh initial 2024-06-22 20:45:49 +08:00
virtio_ring_0_9.c initial 2024-06-22 20:45:49 +08:00
virtio_ring_inorder.c initial 2024-06-22 20:45:49 +08:00
virtio_ring_poll.c initial 2024-06-22 20:45:49 +08:00

README

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